How to create RTMP/RTSP player using FFMpeg for ios

10,123

Solution 1

there's a Xcode project based on ffmpeg. It's possible to play RTSP links. Have a look at it: https://github.com/durfu/DFURTSPPlayer

If you want to know more about RTSP, I can highly recommend you the following link: https://www.rfc-editor.org/rfc/rfc2326

Solution 2

Here is an overview of current solutions for rtsp on iOS: https://gist.github.com/oc2pcoj/e55795550984d205d109 I use ijkplayer at current project for playing video stream from IP-cam. It works fine.

Share:
10,123
Logic
Author by

Logic

iOS Developer

Updated on August 21, 2022

Comments

  • Logic
    Logic over 1 year

    I am working on an app using RTMP/RTSP links to broadcast/play live audio/video.As iOS devices support HTTP , but my requirement is to play RTMP/RTSP Links. I want to create my custom player using FFMpeg framework.I have searched over internet , ried many solutions but did not find any solution.

  • Logic
    Logic over 9 years
    DFURTSPPlayer Fails if to play only audio streams.Well i have have dome rtsp streams playing using gstreamer
  • JAL
    JAL over 9 years
    DFURTSPPlayer hasn't been updated in nearly two years. Are there any currently active projects to assist with RTMP streaming?
  • radya
    radya over 8 years
    No. ijkplayer has solutions for both platform. But Github Gist describes solution only for iOS.
  • Gerrit Post
    Gerrit Post over 8 years
    Thank you soo much! finally! this is an rtmp player 'out of the box', easy to setup with the instructions and it's not a paid version or trial!
  • vien vu
    vien vu almost 8 years
    anyone here faced problem: It stopped play after some minute. And I need restart.