Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_udp_sink):
Don't try to configure RTCP back to the server when the server did not
give us a valid port number.
+2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_udp_sink):
+ Don't try to configure RTCP back to the server when the server did not
+ give us a valid port number.
+
2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/videobox/gstvideobox.c: (gst_video_box_set_property):
else
port = transport->server_port.max;
+ /* it's possible that the server does not want us to send RTCP in which case
+ * the port is -1 */
+ if (port == -1)
+ goto no_port;
+
/* first take the source, then the endpoint to figure out where to send
* the RTCP. */
destination = transport->source;
GST_DEBUG_OBJECT (src, "no UDP sink element found");
return FALSE;
}
+no_port:
+ {
+ GST_DEBUG_OBJECT (src, "no valid port, ignoring RTCP for this stream");
+ return TRUE;
+ }
}
/* sets up all elements needed for streaming over the specified transport.