简体   繁体   中英

which iOS reference has live video playback on iPad mini?

The iPad mini app needs to live display video only uncompressed grayscale 640x480 pixel data through a TCP/IP socket through USB connection from a Windows-7 computer.

Which is the best iOS framework to do this?

Either AVPlayer or MPMoviePlayerController are baked in and can play video. In your case, I'd recommend MPMoviePlayerController because AVPlayer doesn't come with controls (you'd have to implement your own play/pause buttons, scrub bar, etc).

Both implementations will play streaming content or fixed length files. Since you have streaming content, you'll have to format it (transcode it) in a way iOS will understand. This means HTTP Live Streaming (HLS) .

Converting your pixel data into HLS is by far the hardest part of the problem. There are cloud service providers which can do this such as Zencoder's Live Streaming service . That relies on an incoming RTMP stream, for example from Flash Media Live Encoder .

If you don't want to use HLS for encoding your stream, then you'll have to implement your own video rendering engine in C for your custom pixel data. I'm not exactly sure where to get started with that, but my guess would be somewhere in Core Data . Good luck!

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