由于不同的原因,我在使用 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/