udpsrc multicast sockets ignoring multicast IP

Nicolas Dufresne nicolas at ndufresne.ca
Wed Sep 25 14:40:39 UTC 2019


Le mercredi 25 septembre 2019 à 09:15 -0500, Tim a écrit :
> Hi all,
> 
> In previous posts I've described behavior where we have a multicast pipeline
> using rtspsrc.  We have multiple pipelines running in a single process to be
> able to record video/audio from multiple sources.  We noted that frequently
> we are seeing SSRC value changes in the RTP session that did not come from
> the video/audio source and were trying to understand how that could have
> happened.
> 
> It turns out that our video/audio sources are using different multicast IP
> addresses per source, but all using the same port for their audio RTP stream
> and all using the same port for the video RTP stream (e.g. source 1 using IP
> address A and port X for video and Y for audio and source 2 using IP address
> B and port X for video and Y for audio).  From all of my reading this should
> not be a problem, but we are seeing the sockets for each pipeline picking up
> RTP payloads from others causing the SSRC change, upstream pad creation,
> etc.  Making each video source and audio source use a unique port number
> resolved the issue.
> 
> Should udpsrc be using IP address/port combo during socket creation?

Multicast registration is system wide, so in many cases, all socket
receives packets from random stream. We have code that drop the
irrelevant packets, though I don't know enough of the details to
explain why things don't get filtered out properly for you case.

> 
> Thank you for all of your help.
> 
> -Tim
> 
> 
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190925/43674b75/attachment.sig>


More information about the gstreamer-devel mailing list