Hi,
I've had great success in the past with starting an rtp forwards in the audiobridge and then creating an sdp for ffmpeg to read.
Given an rtp forward on port 10040, I'd make an sdp like so:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=FFmpeg
c=IN IP4 127.0.0.1
t=0 0
m=audio 10040 RTP/AVP 111
a=rtpmap:111 opus/48000/2
a=sendonly
and then read it with ffmpeg like so
ffmpeg -protocol_whitelist file,udp,rtp -f sdp -i my.sdp ....
I now get a timeout error from ffmpeg like it cannot read the RTP stream from janus.
It was working great for me up until recently where I changed two things. I upgraded janus and I reconfigured how I run both janus and ffmpeg.
Would the upgrade of janus from x.11 to 0.x be meaningful? I wouldn't think so.
How about the docker setup?
Previously, I'd run both the janus and the ffmpeg process each on separate docker images using "host" networking in a docker-compose setting. That worked fine. However, now I am running only janus in a docker container with "host" networking and the ffmpeg directly on the host. That is where I see the timeouts as if ffmpeg cannot read the RTP stream from janus.
Is there maybe a janus config setting that stops RTP quietly? Is there maybe some host setting that needs to be set for janus to open the RTP port properly?
thanks for any advice -August.