Video Not Seeking properly with libmedia Android

与世无争的帅哥 提交于 2019-12-12 04:44:11

问题


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:


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.



来源:https://stackoverflow.com/questions/24409972/video-not-seeking-properly-with-libmedia-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!