Can mediasoup v3 receive RTP stream like ‘rtp://myserver.com/path/to/stream’?And how to consume it?
Have a look at the ffmpeg and gstreamer section of this doc page:
I have read it.But it seems that it’s based on a certain video/audio’s file.In my situation, the media stream is from another server outside.Any relative doc?
But it seems that it’s based on a certain video/audio’s file.
It’s just a usage example of ffmpeg reading from a file to produce video into mediasoup, nothing else. I’ll add more doc for consuming media from external servers/scripts, but basically you must create a PlainRtpTransport
, call consume()
on it with the desired producerId
and your endpoint rtpCapabilities
and then read the generated consumer.rtpParameters
and transport
IP:port parameters to instruct your external consumer.
More information for “RTP In” and “RTP Out” has been added to the documentation:
Thanks a lot!