Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RTSP/RTMP Video Streaming Client iOS [closed]

I'm in need of a open source solution/library to stream RTSP/RTMP to an iOS Application. I need to build an app that connects to a media server, and opens the provided video stream. I believe there has to be libraries out there, but I have yet to find one that is open source, compiles, actually works, and runs on iOS 5+, iPhone 4+. I do not have a preference, RTMP or RTSP will suffice. Preferably the one with the least amount of work. I have RTSP working on the Android side, but nothing for iOS yet.

This is what I already know from research today -

RTSP

  • Seems possible using Live555/FFMPEG
  • MooncatVenture Group - Old FFMPEG, not compatible with ARMv7s (No updates/blogs/commits in over a year)
  • DFURTSPPlayer - This is a working example.

RTMP

  • Seems possible using Live555/FFMPEG
  • A few libraries are out there for data messaging, but that is all
  • MidnightCoders Project - Does not seem video support is build yet, as Audio is not.

I've never messed with anything video related before, so encoding, frame rate, key frame, chunks, etc... is pretty foreign to me. Right now, it seems building a static binary from Live555/FFMPEG is the only solution to my problem. If so, can anyone give me a simple quickstart guide or links to a blog/example someone has out there? I'm not looking for anything crazy, just a simple

  1. Download This - LINK
  2. Compile it like this - LINK
  3. Place it into X Folder in Xcode
  4. Create X Object
  5. Read Stream API here - LINK

If not, anyone want to point me to a working open source library?

Oh yeah, this happens to be my first iPhone app and first time in Objective-C. Awesome first project, yeah?

like image 331
nathansizemore Avatar asked Jan 07 '14 00:01

nathansizemore


1 Answers

DFURTSPPlayer is a working example on GitHub. Will have to double check on licensing issues, but with this it is a good place to start for RTSP.

like image 124
nathansizemore Avatar answered Oct 31 '22 01:10

nathansizemore