Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stream from WebRTC input to HLS

I need to do video streaming where the recording is happening on a browser and has to be consumed as HLS on mobile devices.

It seems I need some media server and send the camera stream as WebRTC to it. It seems Janus and Kurento can do that task and output RTP streams. I'm not sure now how to convert that RTP stream to HLS, I guess I could hook ffmpeg on that RTP stream and generate HLS with MpegTS, but I'm not sure this is the right direction.

Is that the obvious way to do it? Is there any existing service to do all this?

Thank you.

like image 699
acroca Avatar asked Jun 23 '16 22:06

acroca


2 Answers

There are several alternatives out there - all commercial in nature:

  • Wowza (https://www.wowza.com/)
  • Red5 (https://red5pro.com/)
  • Flashphoner (http://flashphoner.com/)
  • Push from Kurento directly to a CDN and letting the CDN do the conversion (there are CDNs flexible enough to allow this)
like image 135
Tsahi Levent-Levi Avatar answered Oct 21 '22 08:10

Tsahi Levent-Levi


You can send that RTP stream to another media server like Wowza. Check this thread from the mailing list, for instance.

like image 42
igracia Avatar answered Oct 21 '22 10:10

igracia