gst/rtsp/gstrtspsrc.*: Add property to configure NAT traversal method.
authorEric Zhang <chao.zhang@access-company.com>
Thu, 13 Nov 2008 16:11:16 +0000 (16:11 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 13 Nov 2008 16:11:16 +0000 (16:11 +0000)
commitbe3906c91892cb9ecf56782615b301762d67ea4f
treeb32e323a107849235cdc161b7f3d35a42afb8bdc
parentbfb73112af20309fabbb56c2c9cd536e7a276662
gst/rtsp/gstrtspsrc.*: Add property to configure NAT traversal method.

Original commit message from CVS:
Based on patch by: Eric Zhang <chao.zhang at access-company dot com>
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_nat_method_get_type),
(gst_rtspsrc_class_init), (gst_rtspsrc_set_property),
(gst_rtspsrc_get_property), (gst_rtspsrc_create_stream),
(gst_rtspsrc_stream_free),
(gst_rtspsrc_stream_configure_udp_sinks),
(gst_rtspsrc_stream_configure_transport),
(gst_rtspsrc_send_dummy_packets),
(gst_rtspsrc_create_transports_string),
(gst_rtspsrc_handle_message), (gst_rtspsrc_change_state):
* gst/rtsp/gstrtspsrc.h:
Add property to configure NAT traversal method.
Ignore EOS from the internal sinks.
Implement sending dummy packets as a (simple) method to open up
some firewalls.
Send PLAY request to the server after we started the udp sources.
Fixes #559545.
ChangeLog
gst/rtsp/gstrtspsrc.c
gst/rtsp/gstrtspsrc.h