objective-c - AVPlayer 特殊注意事项是什么意思?

标签 objective-c ios avfoundation avplayer

AVPlayer Class Reference s 方法 replaceCurrentItemWithPlayerItem: 是一个特殊注意事项注释,内容如下:

Special Considerations The new item must have the same compositor as the item it replaces, or have no compositor.

我不知道他们的意思是什么?它们对于合成器意味着什么?

最佳答案

AVPlayerItem 的属性 videoComposition 必须与被替换的项目相同,或者根本不应该具有组合。

关于objective-c - AVPlayer 特殊注意事项是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12347441/

相关文章:

ios - AVFoundation 自定义相机导致崩溃/内存压力?

iphone - 如何检查当前坐标是否在其他坐标的半径范围内

ios - NSURLSession 多个并发请求被 Exchange 服务器拒绝

iphone - 如何在其他标签更改时更改标签?

ios - 使 subview 位于中心或距顶部一定高度

ios - SwiftUI 斜体文本剪辑

ios - 如何为高分辨率静止图像和低分辨率(视频)预览配置 AVCaptureSession?

ios - 如何减少此流代码中的能量影响

iphone - 使用以编程方式创建并从 nib 加载的元素创建单个 View

ios - initWithObjects 上的局部变量、NSArray、EXEC_BAD_ACCESS