Video Not Seeking properly with libmedia Android

2019-08-17 10:23发布

I am using libmedia to play encrypted video files. The video Plays successfully and there is no video distortion or any type of pause during video playtime and also it pause and play with mediacontroller very well.

The problem is when i try to forward or rewind video it stops and buffering for long time like for 1 minute. I tried to use both Encryption methods BUT NO LUCK with the seek video issue.

AES/CBC/PKCS5Padding

AES/CFB/NoPadding

Please help me out. I am in very tight deadline.

Thanks In Advance.

1条回答
【Aperson】
2楼-- · 2019-08-17 10:51

Version 1.4 added a special support for the forward/rewind issue, with the restriction to use a CTR mode transformation, such as AES/CTR/NoPadding.

查看更多
登录 后发表回答