9

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?

Community
  • 1
  • 1
John
  • 1,519
  • 3
  • 13
  • 24
  • 1
    hey are you getting any thing, how to do live stream data from iphone to server, if know please share with me, i also want same. Thank you – Rahul Juyal Sep 13 '12 at 04:53
  • ANGL iOS library supports RTMP streaming to a compatible server like Wowza. It has some delay but works quite well. Filtering is also supported. http://angl.tv/lib/ – ZZZorro Feb 12 '14 at 11:26

1 Answers1

4

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.

Pang
  • 9,564
  • 146
  • 81
  • 122
FractalDoctor
  • 2,496
  • 23
  • 32
  • 4
    The question is about sending video FROM an iPhone. The Apple guideline is referring to an application that sends lots of data TO an iPhone over 3G. – GroovyDotCom Apr 29 '14 at 08:22