Commit b63d80bf authored by Andrew Schubert's avatar Andrew Schubert Committed by Jean-Baptiste Kempf

live555: forced creation of timeout thread for WMServer rtsp dialects

GET_PARAMETER isn't reported to be supported by Windows Media Server in its OPTIONS.
However, it is needed to prevent automatic session timeout after 120 seconds.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9d70f386
......@@ -1149,7 +1149,8 @@ static int Play( demux_t *p_demux )
p_sys->i_timeout = 60; /* default value from RFC2326 */
/* start timeout-thread only if GET_PARAMETER is supported by the server */
if( !p_sys->p_timeout && p_sys->b_get_param )
/* or start it if wmserver dialect, since they don't report that GET_PARAMETER is supported correctly */
if( !p_sys->p_timeout && ( p_sys->b_get_param || var_InheritBool( p_demux, "rtsp-wmserver" ) ) )
{
msg_Dbg( p_demux, "We have a timeout of %d seconds", p_sys->i_timeout );
p_sys->p_timeout = (timeout_thread_t *)malloc( sizeof(timeout_thread_t) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment