Skip to content
  • Wim Taymans's avatar
    RTSP: Add support for server tunneling · b6d7a1dc
    Wim Taymans authored
    Save the tunnelid in the connection. Add a method to retrieve the tunnelid so
    that a server can store and match the id against other tunnel requests.
    
    Fix the URI in the tunnel requests so that they contain the absolute uri and the
    query string if any instead of just the hostname.
    
    Transparently base64 decode the input stream when tunneling.
    
    Add method to set the connection ip address so that it can be included in the
    tunnel response.
    
    Add method to connect the two tunnel requests.
    
    Add two callbacks for the async mode to notify a tunnel start and tunnel
    complete event.
    
    Add method to reset the watch after the connection has been tunneled.
    
    Various little refactoring to make more stuff reusable.
    
    API: RTSP::gst_rtsp_connection_set_ip()
    API: RTSP::gst_rtsp_connection_get_tunnelid()
    API: RTSP::gst_rtsp_connection_do_tunnel()
    API: RTSP::gst_rtsp_watch_reset()
    b6d7a1dc