澳门银河网上官方赌场_老品牌值得信赖

ITKeyword,专注技术干货聚合推荐

注册 | 登录

解决IOS - Live streaming using MPMoviePlayerController losing video but not audio

itPublisher 分享于

2021腾讯云限时秒杀,爆款1核2G云服务器298元/3年!(领取2860元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1062

2021阿里云最低价产品入口+领取代金券(老用户3折起),
入口地址https://www.aliyun.com/minisite/goods

推荐:流媒体的初研以前我也听说,好像kvm底层实现不太支持j2me来做streaming video/audio,但我不知道那人为什么这么说。

以前我也听说,好像kvm底层实现不太支持j2me来做streaming video/audio,但我不知道那人为什么这么说。 那么现在国外有一个人提出下面这种思路,并且号称在Nokia

I am Streaming a live video (.m3u8) with MPMoviePlayerViewController, however during playback sometimes the video is lost and only the Quicktime logo is displayed, however the audio still goes on.

This happens at random times, sometimes never, maybe when the internet is not as strong as it needs, but console doesn't log any errors or changes in the playback.

Is there a way to notice when this happens and to recover the video image from the streaming?

ios streaming video-streaming mpmovieplayercontroller audio-streaming
asked Feb 12 '13 at 20:42 htafoya 7,376 6 35 48

 | 

1 Answers
1

解决方法

This is how HTTP live streaming is designed to work. It will progressively choose higher or lower quality streams based on the strength of the internet connection. If the connection is not fast enough the "last resort" is to continue to play audio but no video. The only way to recover the video image in this case is to
  the speed of the internet connection.


answered Feb 12 '13 at 21:17 MikeCocoa 261 1 7      However this only happens in live streaming, the streaming is not slow, it just stops suddenly. If I close the player and open it again (load the url again) then it starts playing smoothly both video and audio again. IF there is no way to stop it from losing connection, is there any way to know when this happens so that I can load the URL again automatically? –  htafoya Feb 12 '13 at 21:24      You should be able to find more info here: developer.apple.com/library/ios/#documentation/… –  MikeCocoa Feb 12 '13 at 21:47

 | 


相关阅读排行


相关内容推荐

最新文章

×

×

请激活账号

为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。

您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱

如果您没有收到激活邮件,请注意检查垃圾箱。

澳门银河网上官方赌场