iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
chipmuck
V2EX  ›  iDev

AV...Player 的坑坑坑。

  •  
  •   chipmuck · May 25, 2017 · 4889 views
    This topic created in 3291 days ago, the information mentioned may be changed or developed.

    已经实现了基本播放的流程,现在有几个问题:

    1. 是否需要根据系统判断来兼容 avplayer.automaticallyWaitsToMinimizeStalling 的属性?

    2. 当上述属性设置为 YES 时,需要监听 avplayer.timeControlStatus,当缓冲量不够时,reasonForWaitingToPlay 的状态是 AVPlayerWaitingWhileEvaluatingBufferingRateReason / AVPlayerWaitingToMinimizeStallsReason。 然后对于前者,文档中说到:

    ... monitoring the playback buffer fill rate to determine if playback is likely to complete without interruptions ...

    所以经常会出现( always )一个一分多钟的视频需要加载到一大半才会开始播放,然而我需要在有一定缓冲后就开始播放,所以这该如何解决?

    1. 不用 HLS 流,能正常上架否?

    诚恳求解。

    2 replies    2017-08-11 00:00:54 +08:00
    caniuse
        1
    caniuse  
       May 26, 2017
    上炕都费劲
    casatwy
        2
    casatwy  
       Aug 11, 2017
    我特么也遇到了,无解啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   880 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 21:58 · PVG 05:58 · LAX 14:58 · JFK 17:58
    ♥ Do have faith in what you're doing.