I have tried a lot of solutions for IP-camera streams.
-
Vitamio.https://github.com/yixia/Vitamio-iOS Result: random crashes and not working cameras
-
https://github.com/kolyvan/kxmovie Result: compile time error. I haven't successfully integrated it to my project.
-
GStreamer. https://github.com/sdroege/gst-player Result: I successfully integrated it, but reached bug: https://bugzilla.gnome.org/show_bug.cgi?id=756073
-
DFURTSPPlayer. https://github.com/durfu/DFURTSPPlayer Result: I used this solutions few months. But this project haven't scripts for building new ffmpeg libs and sometimes it player crashes in random momenet after stop playing.
ijkplayer - https://github.com/Bilibili/ijkplayer It is ffmpeg based fresh player by Bilibili company.
Folow intructions based on ijplayer instructions.
- Install git and yasm to you system. Use homebrew or mac ports for this.
- Create special directory in you project, for example, youproject/libs/video
- Add ijkplayer as submodule to your project
git submodule add https://github.com/Bilibili/ijkplayer.git libs/video/ijplayer