4

I am using AVCaptureSession to record a video and audio of user. I am getting real time video and audio streams independently. I am able to encode them using h264 encoder and aac encoder respectively. Now I am not getting how to multiplexing them both and make a stream ? How to send them to specific server url which is protected by userName and Password ? If it can be done using RTMP also then also it's fine.

I have taken a reference from here! But I am not getting much out from this.

Is there any RTSP library project which can help me ?

I have been struggling in it from a long.

Is there any solution to my problem ?

Thanks in advance.

Community
  • 1
  • 1
Vishal Gupta
  • 106
  • 1
  • 7
  • You need to use `ffmpeg codec` to compress(encode) your video and stream it to your `RTMP server`. – Dipen Panchasara Sep 03 '14 at 05:37
  • Server configuration in my scenario is `**rtsp**`. So I have to use it. @DipenPanchasara – Vishal Gupta Sep 03 '14 at 05:42
  • both are streaming protocols, both provides same mechanism for media streaming. you can use any of them. you need to connect to stream after connecting start sending data over server. its done by available RTMP framework or RTSP frameworks for ios – Dipen Panchasara Sep 03 '14 at 05:43
  • @DipenPanchasara : Could you please share some code snippet or tutorial for this. – Vishal Gupta Sep 03 '14 at 08:20
  • @[http://stackoverflow.com/users/394020/jgh]: I am using video core library for publishing my live media on wowza server. In this ramp stream, how can I send username and password in url ? – Vishal Gupta Sep 09 '14 at 09:47
  • Please check it https://github.com/EasyDarwin/EasyPusher – Ved Rauniyar May 25 '17 at 06:56

0 Answers0