theDuncs
theDuncs

Reputation: 4843

Capture video on iOS device and live stream it to a server (or another mobile)

I want to be able to record footage using my iOS device and stream it directly to a server.

There's quite a few articles on S.O. that talk about this, but I'm not sure any have answered the question very well.

Should I be using HTTP Live Streaming, or is this just for sending data to an iPhone? Should I be using AVCaptureSession to grab the video (a segment at a time?), sending each segment to the server? Should I be using AVCaptureVideoDataOutput and ffmpeg for streaming?

I'm a little lost with all this, so any sample code or docs or links would be really appreciated.

Thanks for your help guys.

Duncan

Upvotes: 17

Views: 11472

Answers (1)

AranyiA
AranyiA

Reputation: 21

You have to choose a network protocol for that purpose and find an appropriate media server to receive and process the stream. If the RTMP format is ok for your project, check angl library which supports RTMP streaming from iOS. Currently it's compatible with iOS 6 and 7.

Upvotes: 1

Related Questions