问题
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.
回答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.
回答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
来源:https://stackoverflow.com/questions/12790034/rtsp-video-streaming-for-ios