开发者

Playing Raw Video data in ios

开发者 https://www.devze.com 2023-03-12 06:36 出处:网络
I have an audio file and a video file containing raw audio and video data respectively. I have successfully played the audio file on ios using CoreAudio and AudioToolBox Frameworks. Now I want to play

I have an audio file and a video file containing raw audio and video data respectively. I have successfully played the audio file on ios using CoreAudio and AudioToolBox Frameworks. Now I want to play the video file. I have tried playing the Video File using AVPlayer of AVFoundation Framework, but no luck, it gives the following error:

Error Domain=AVFoundationErrorDomain Code=-11800 "The operation couldn’t be completed. (AVFoundationErrorDomain error -11800.)" UserInfo=0x5e6b990 {}

So can anyone please help me out. Are there some frameworks in ios for allocatin开发者_StackOverflowg buffer for the video data and rendering the data in a callback etc.

Thanks,

0

精彩评论

暂无评论...
验证码 换一张
取 消