I was trying to figure out a way to stream WebRTC stream to RTMP. While doing so I found this https://github.com/SircasticFox/kurento-rtmp
I tested it out and it works. So they basically generate a SDP file and then use ffmpeg to convert it to RTMP.
I though of trying the same with OpenVidu, but this repo uses 55000, 49120 port for video and audio streams.
I doubt that’s the case with OpenVidu, so I manually checked the open ports and found they are different and edited the SDP accordingly.
Still I’m not able convert it using ffmpeg.
My queries:
-
As Openvidu has KMS at backend, so is this approach is feasible to stream RTMP?
-
Any leads on how to proceed with this as I’m getting connection timed out errors with ffmpeg now.