FPS & AVComposition

We are looking at playing a sequence of small FPS protected videos seamlesly. AVComposition looks like a great API to do this. Does FPS, specifically the fact that the video is wrapped in a playlist, work well with AVComposition as any direct video file URL would work?

AVComposition does not support streams.


Alternately you could use AVQueuePlayer, which does support streams.


If you are trying to build a video playlist in your app dynamically, another option is to create a playlist URL with a custom scheme. This will invoke your AVAssetResourceLoader delegate for it; you can then compose the video playlist in memory and pass it back. See the AVAssetResourceLoader reference for more information: <https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVAssetResourceLoader_Class/>. See also the AVARLDelegateDemo example code: <https://developer.apple.com/library/ios/samplecode/sc1791/>

FPS & AVComposition
 
 
Q