简体   繁体   中英

How to play video with NSData?

I have NSData with 18 MB data in it.

I want to play video from this data.

Is there any method to play video from NSData.

Thanks in advance.

You need a valid URL to play a video file. Where are you getting the NSData from? You must be getting it from a URL somewhere so just use that URL to do the playback.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM