Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Streaming live video from ios [closed]

Tags:

ios

ffmpeg

I have a need to stream video from the iPhone/iPad camera to a server. It looks like this will need to be done with AVCaptureSession but I don't know how to best architect this.

I found this post:

streaming video FROM an iPhone

But it doesn't handle the "live" part, latency needs to be 2 or 3 seconds at most. Devices can be constrained to 4 or 4S capability if needed, and there is no requirement for HD, VGA is probably what we'll end up with. I assume any solution would use ffmpeg, I haven't found any more appropriate library.

How is this best accomplished?

like image 519
John Avatar asked Jan 12 '12 19:01

John


1 Answers

According to Apple, if you send large amounts of data from an iPhone app you're going to have to use HTTP Live Streaming.

HTTP Live Streaming Overview

It's possible, here's an App that does it called Livu

Try working with ffmpeg for iPhone and the segmenter from Carson Macdonald's excellent Ion Cannon site which has a lot of useful information on HTTP Live Streaming. He's a user here too and can offer invaluable advice.

like image 113
FractalDoctor Avatar answered Nov 08 '22 05:11

FractalDoctor