3
我正在使用AVPlayer播放视频。我使用AVPlayer pause
来暂停播放器。但与Charles一起观察显示,播放器处于暂停状态时,流段仍在下载。如何强制AVPlayer在暂停状态时暂停缓冲?
我发现AVPlayer buffering, pausing notification, and poster frame但他们说这是
AVPlayer将缓冲视频在若干情况下,没有克利 记录
这是正常的行为呢?玩家暂停时如何缓冲暂停?
在[iOS 9]中签出'canUseNetworkResourcesForLiveStreamingWhilePaused'(https://developer.apple.com/library/prerelease/ios/documentation/AVFoundation/Reference/AVPlayerItem_Class/index.html#//apple_ref/occ/cl/AVPlayerItem )。 – Anurag
根据文档,canUseNetworkResourcesForLiveStreamingWhilePaused应该没问题,但在我的情况下不起作用。 – DixieFlatline