Invalid Nal Length Error In Playing Encrypted video online
Open
question
- Dominant language
- Java
- Stars
- 21.9k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I have an encrypted video stored on the server which I want to play in Exoplayer. I am using this [repo](https://github.com/moagrius/EncryptedExoPlayerDemo) custom datasource for playing encrypted video offline. For online playback, I added some code from Exoplayer `DefaultHttpDataSource` to implement the `setupInputStream` function from the server instead of the local file. The video plays but when I change the seekbar position after a few moments, I get an Invalid Nal Length Error and OnPlayerError is called. My Encryption Alghoritm is `AES/CTR/NOPadding`
Contributor guide
Assessment
This issue has not been assessed yet.