GNOME Bugzilla – Bug 323021
sockfd property to udpsrc/dynudpsink elements
Last modified: 2006-01-13 15:37:04 UTC
Please see (includes a patch): http://article.gmane.org/gmane.comp.video.gstreamer.devel/14289
Please attach the patch here. Note that if you bind with port=0, the kernel will select a port for you. The idea looks good, but I'd like to see the patch more clearly.
Created attachment 56306 [details] [review] adds a 'sockfd' property to the udpsrc/dynudpsink patch that adds a 'sockfd' property to the udpsrc/dynudpsink elements This is the same patch as was posted to gstreamer-devel on 2005-11-30.
Andy, true, port=0 is a good point! But for RTP, we don't really want a truly random port, we want a random, even port, and if possible allocated from a specific range of ports (some networks allocate port ranges for RTP use in firewalls). I'm currently working on a gobject API to help application developers in creating the sockfd, which will be then passed to dynudpsink/udpsrc using this patch. See: http://article.gmane.org/gmane.comp.telephony.farsight.devel/25