Can I initialise AVAsset from NSData.. I know i can initialise AVData from url using the function like
[[AVURLAsset alloc] initWithURL:url options:nil];
Can any one suggest me a similar way of assigning AVAsset directly from NSData?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As far as I know, no.
AVAssetrepresents items in the (internal) media library of a device, so initializing it using your custom data wouldn’t make much sense. Perhaps it’s worth mentioning that this class doesn’t have a public initializer forNSData.I suspect that you should most probably need to redesign your code logic if you need this.