Android中videoView的可靠性
我在使用 videoView 播放渐进式流 mp4 视频时遇到问题。有时,当我浏览视频时,视图并没有相应改变,只是挂在那里。这很奇怪,因为 videoView 上的时间仍在运行,这意味着播放器正在运行。 我在 Android 2.2 设备上对此进行了测试。这个问题是由 videoView 引起的吗?
谢谢。
I got a problem when using videoView to play progressive streaming mp4 videos. Sometimes, when I scrub through the video, the view does not change accordingly and just hang there. It's strange because the time on the videoView is still running which mean the player is running.
I test this on an Android 2.2 device. Is this problem caused by videoView ?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于android模拟器播放.mp4和.3gpp格式的视频,并且android的视频视图不太好播放没有pixcelet或挂起的视频。但是,如果您尝试在 Android 手机上运行相同的应用程序,视频将正常播放,无需进行图片删除,也不会挂起。我之前在模拟器上也遇到过同样的问题,但是当我在 Android 手机上运行代码时,它运行得很好。
Since android emulator plays .mp4 and .3gpp format videos and the android's video view is not that much good to play a video without pixcelet or hanging it. But if you try to run the same application on an android phone the video will play fine without picxeleting and without being hang. I too faced the same problem earlier with emulator but when I ran the code on android phone it worked great.