Skip to content

Invalid Nal Length Error In Playing Encrypted video online  #11229

@MohsenNaderzadeh

Description

@MohsenNaderzadeh

Hi, I have an encrypted video stored on the server which I want to play in Exoplayer. I am using this repo 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions