RTSP video streaming for iOS

14,905

Solution 1

You can use FFmpeg for displaying RTSP video stream. As example you can look at my project hosted on github. It's movie player for iOS using ffmpeg and OpenGLES.

Solution 2

For me appears that the best choice is https://github.com/durfu/DFURTSPPlayer

Yes, it's pretty old and it won't work out of the box, but if you'll update mpeg libraries to 3.0, refactor project to ARC and get rid of deprecated mpeg methods, it seems to be a good choice. Definitely better than VLC.

All above can be found here https://github.com/rozum-dev/DFURTSPPlayer

Share:
14,905
Admin
Author by

Admin

Updated on June 04, 2022

Comments

  • Admin
    Admin almost 2 years

    I want to display on the iPhone screen video stream RTSP. Can throw the source code of the project or details on how to implement it. Found 2 project, but they have not compiled:

    https://github.com/mooncatventures-group/RTSPPlay

    https://github.com/mooncatventures-group/RtspFrames-test

    Source code from the site VLC also does not compile, no files. Tell me, is it possible to record the stream to a video file? And how is it implemented? Thanks in advance.

  • Nikita P
    Nikita P about 11 years
    i am not able to compile your code, some lib- files are missing
  • Maurice
    Maurice almost 11 years
    i have the same issue, some libs are missing...
  • Ducky Chen
    Ducky Chen almost 10 years
    Is there some problems with the file .gitmodule? I failed to perform the git command..
  • Ducky Chen
    Ducky Chen almost 10 years
    I've successfully built your project. However some library must be copied/moved manually. e.g., Pods.a. I'm not familiar with iOS programming, is there good way to make this automatically?
  • Vineesh TP
    Vineesh TP over 6 years
    RTSP url not playing with the tutorial