After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 323021 - sockfd property to udpsrc/dynudpsink elements
sockfd property to udpsrc/dynudpsink elements
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal normal
: 0.10.1
Assigned To: Philippe Khalaf
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-02 13:49 UTC by Kai Vehmanen
Modified: 2006-01-13 15:37 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
adds a 'sockfd' property to the udpsrc/dynudpsink patch that adds a 'sockfd' property to the udpsrc/dynudpsink elements (6.03 KB, patch)
2005-12-22 16:36 UTC, Kai Vehmanen
none Details | Review

Description Kai Vehmanen 2005-12-02 13:50:11 UTC
Please see (includes a patch):
http://article.gmane.org/gmane.comp.video.gstreamer.devel/14289
Comment 1 Andy Wingo 2005-12-22 16:27:46 UTC
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.
Comment 2 Kai Vehmanen 2005-12-22 16:36:49 UTC
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.
Comment 3 Kai Vehmanen 2005-12-22 16:40:06 UTC
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