AVPlayer翻译

来源:互联网 发布:钢管挠度计算软件 编辑:程序博客网 时间:2024/03/29 23:30

@class AVPlayer

@abstract
AVPlayer为single-item playback提供了一个playback接口。

@discussion
1.AVPlayer对本地和远端的媒体文件都运行的非常好,为多个客户提供合关于快速播放或者需要等待额外的数据才能继续进行的合适信息。

2.与视觉相关的items将给一个AVPlayer实例展现在一个CoreAnimation layer of class AVPlayerLayer.

3.To allow clients to add and remove their objects as key-value observers safely, AVPlayer serializes notifications of
changes that occur dynamically during playback on a dispatch queue. By default, this queue is the main queue. See dispatch_get_main_queue().

  To ensure safe access to AVPlayer's nonatomic properties while dynamic changes in playback state may be reported, clients must  serialize their access with the receiver's notification queue. In the common case, such serialization is naturally achieved  by invoking AVPlayer's various methods on the main thread or queue.
原创粉丝点击