ios - 除了使用 MPMoviePlayerController 播放直播视频

标签 ios objective-c live-streaming

由于不同的原因,我在使用 MPMoviePlayerController 播放直播视频时遇到问题(音频问题)My existing query for that related to VideoCore

[MPMoviePlayerController 分配] initWithContentURL:url]

我的问题是,除了在 iOS 中使用 MPMoviePlayerController 之外,还有其他方法可以用来播放直播视频吗?请提出建议。

谢谢

最佳答案

尝试使用 AVPlayer 播放

Here is the documentation from apple to it.

Here is the example apple provided for it.

不像 MPMoviePlayerController 那样简单,但它可以让您更好地控制它。

快乐编码。

关于ios - 除了使用 MPMoviePlayerController 播放直播视频,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26342531/

相关文章:

安卓媒体播放器 RTSP

mysql - 带有动态播放列表的直播 wowza

ios - 'CLLocationCoordinate2D' 与协议(protocol) 'decodable'/'encodable' 的冗余一致性

ios - 按下主页按钮导致 SpriteKit SKView 中的 EXC_BAD_ACCESS code=1

ios - 获取ios7中的Twitter关注者并关注

iphone - 如何使用 GameKit 在 iPhone 蓝牙中区分主机和客户端

ios - 使用容器 View Controller 和 Storyboard 构建滑出式菜单。我很困惑

audio - ffmpeg 电台直播转码 mp3/aac 到 g722

ios - 如果滚动,UICollectionView 应用程序会崩溃

ios - Sprite Kit animateWithTextures 滞后