ladeng

Results 7 comments of ladeng

you can try this ` let mediaUrl = URL.init(fileURLWithPath: path) let file = try! AVAudioFile(forReading: mediaUrl) try! player.load(file: file, buffered: true) ` and player.seek(time: time) it's work for me good...

I hava same issue i use Encrypt with “AES/CBC/PKCS5Padding” I am playing a local encrypted video. after setting the video resource, sliding the progress bar to set the playback progress(player.seekTo...

Add the SDK version: implementation 'androidx.media3:media3-exoplayer:1.4.0' implementation 'androidx.media3:media3-exoplayer-dash:1.4.0' implementation 'androidx.media3:media3-ui:1.4.0'

The test has passed using DataSourceContractTest, please see the screenshot: ![2024-08-23 11 54 17](https://github.com/user-attachments/assets/b927e6aa-b14a-41e1-8f8d-d7c4757c4fee) Below is all my code: EncryptedDataSourceTest.java: `@RunWith(AndroidJUnit4.class) public class EncryptedDataSourceTest extends DataSourceContractTest { private static final...

Hi has your problem been solved? I have also encountered this problem recently and have not found a solution. When I seekto the encrypted video, I get an exception: ExoPlayerImplInternal:...

If you are willing, please share some solutions to this problem with me. This problem has been stuck for a long time. I am currently trying to track the Android...

Thank you very much for sharing! I have rewritten AesFlushingCipher, AesCipherDataSource, AesFlushingCipher, DataSourceInputStream, DefaultDataSource according to the code you shared AesCipherDataSink.java: public final class AesCipherDataSink implements DataSink { private final...