Open makkarpov opened 3 years ago
Hello @makkarpov! :wave: we're sorry you found a bug... so first of all, thank you very much for reporting it.
To know about progress, check in Triage. All issues are considered Backlog Candidates until work priorities align and the issue is selected for development. It will then become part of our official Backlog.
Prerequisites
These are MANDATORY, otherwise the issue will be automatically closed.
Issue description
Suppose you have a host that broadcasts H.264 video stream. It does so by sending it to predefined multicast group on predefined port. This stream runs continuously 24/7, no matter whether anyone listens to it or not. Stream can be played with command like
mplayer test.sdp
without any problems with following SDP:Now I want to make Kurento "catch" it and relay to browser. This is where problem arises. For now, Kurento will generate it's own port number for the transmission, and of course this port will be different to sender port.
E.g. if I will send above SDP as an offer, I will get back something like this:
Of course Kurento receives nothing since it's port 34782 is different to sender port 27000. Running
ffmpeg ... -f rtp rtp://238.XXX.XXX.XXX:34782/
works, so Kurento joins the group, but just picks a wrong port.How to reproduce?
Possible solution
Add parameter to RTP endpoint to specify desired reception port.
About Kurento Media Server
sha256:63c5a7f5e0bab4dafd2d846fd729093763dc3e4ccaa9bbd4dab3cd0bafbad51e