3

Is it possible to view video stream (H.264 live feed) over RTP/RTSP in native iPhone ? If not,is it possible to write an application and then I have rtsp url how to get streaming video in iPhone.

"rtsp://192.168.2.148:1935/live/test.stream"

I got code Streaming Video in Android using above url, but now I tried iPhone I don't know which frameworks are used and how to get Video Streaming please give me any Idea

Cœur
  • 37,241
  • 25
  • 195
  • 267
Pavan Alapati
  • 317
  • 1
  • 5
  • 17

2 Answers2

4

I have the same issue,and I found an excellent ffmpeg player for iOS, IJKPlayer. You can change the build script in config/module.sh to support RTSP. If you want to play rtsp real time stream.I have already fock another version IJKPlayer to support that.

tbago
  • 660
  • 1
  • 6
  • 19
0

Yeah Sure. You can do RTSP stream in iPhone but with the help of some libraries. You can use the DFURTSPPlayer for that purpose

https://github.com/durfu/DFURTSPPlayer

manujmv
  • 6,450
  • 1
  • 22
  • 35
  • thanks for reply i will try but i said RSTP stream in iPhone but with help of some libraries So please tell me what are libraries to add my project – Pavan Alapati Jun 12 '14 at 05:44
  • DFURTSPPlayer is the library. add it and try – manujmv Jun 12 '14 at 05:48
  • i am tried getting Video to Server using this url rtsp://192.168.2.148:1935/live/test.stream test.stream is video name this but i don't know how to started it so please help me – Pavan Alapati Jun 12 '14 at 06:14
  • @manujmv DFURTSPPlayer when compiled error is coming like "_av_dict_set", referenced from: -[RTSPPlayer initWithVideo:usesTcp:] in RTSPPlayer.o "_av_free", referenced from: -[RTSPPlayer dealloc] in RTSPPlayer.o "_av_free_packet", referenced from: -[AudioStreamer enqueueBuffer:] in AudioStreamer.o -[RTSPPlayer dealloc] in RTSPPlayer.o "_av_log", referenced from: -[RTSPPlayer initWithVideo:usesTcp:] in RTSPPlayer.o what can be other way? – Zalak Patel Oct 15 '14 at 07:47