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
?
As far as I know, no. AVAsset
represents 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 for NSData
.
I suspect that you should most probably need to redesign your code logic if you need this.