udpsrc with destination ip address

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

udpsrc with destination ip address

Wolfgang Grandegger
Hello,

I have RTP streams using the same port number coming from different
cameras (IP addresses). Does "udpsrc" allow to specify the destination's
IP address? Looking into the doc, it seems not support but maybe there
is some magic command.

TIA,

Wolfgang
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: udpsrc with destination ip address

Marc Leeman
If you have cameras that do follow the standard somewhat, rtpbin
should spawn two pads for each encoder since it demuxes based on the
SSRC.

SSRC should be generated randomly, though I've seen encoders use a
very narrow range in which to generate the SSRC in (0xffffffff).


On Thu, 16 May 2019 at 09:25, Wolfgang Grandegger <[hidden email]> wrote:

>
> Hello,
>
> I have RTP streams using the same port number coming from different
> cameras (IP addresses). Does "udpsrc" allow to specify the destination's
> IP address? Looking into the doc, it seems not support but maybe there
> is some magic command.
>
> TIA,
>
> Wolfgang
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
g. Marc
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: udpsrc with destination ip address

Nicolas Dufresne-5
In reply to this post by Wolfgang Grandegger


Le jeu. 16 mai 2019 03 h 25, Wolfgang Grandegger <[hidden email]> a écrit :
Hello,

I have RTP streams using the same port number coming from different
cameras (IP addresses). Does "udpsrc" allow to specify the destination's
IP address? Looking into the doc, it seems not support but maybe there
is some magic command.

See address property. This is the address to receive from (I think we use bind on it, but don't remember). This represent the local address of the network interface you want packet from. Of course, by default this is any, in ipv4 that would be 0.0.0.0, and you would receive both streams.


TIA,

Wolfgang
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel