Skip to content
  • Wim Taymans's avatar
    gst/rtsp/gstrtspsrc.*: Add TCP timeout property and use it for all TCP connection. · e04f7a82
    Wim Taymans authored
    Original commit message from CVS:
    * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init),
    (gst_rtspsrc_set_property), (gst_rtspsrc_get_property),
    (gst_rtspsrc_stream_configure_udp), (gst_rtspsrc_loop_interleaved),
    (gst_rtspsrc_loop_udp), (gst_rtspsrc_try_send), (gst_rtspsrc_send),
    (gst_rtspsrc_setup_streams), (gst_rtspsrc_open):
    * gst/rtsp/gstrtspsrc.h:
    Add TCP timeout property and use it for all TCP connection.
    * gst/rtsp/rtspconnection.c: (rtsp_connection_connect),
    (rtsp_connection_write), (rtsp_connection_next_timeout),
    (rtsp_connection_reset_timeout):
    Make connect and writes cancelable and make them use the timeout.
    e04f7a82