Problems playing stream from Axis cams
Posted: 28 Oct 2007 14:11
When using the latest nightly of vlc with an mpeg4 stream from an Axis IP-camera, you will get an RTSP timeout after approximately 60 secs. This used to be fixable by setting the camera's timeout value to 0.
In the latest nightly there is this code in live555.cpp:
If you replace this with the following code, the problem is solved (I got the code from the 0.8.6c source)
I guess the problem is that when the camera returns 0 for the timeout, vlc sets it to 60 and will therefore timeout after 60 seconds? Can a developer please change this back in the current svn versions?
Cheers!
In the latest nightly there is this code in live555.cpp:
Code: Select all
/* Retrieve the timeout value and set up a timeout prevention thread */
p_sys->i_timeout = p_sys->rtsp->sessionTimeoutParameter();
if( p_sys->i_timeout <= 0 )
p_sys->i_timeout = 60; /* default value from RFC2326 */
if( !p_sys->p_timeout )
{
....
Code: Select all
/* Retrieve the timeout value and set up a timeout prevention thread */
#if LIVEMEDIA_LIBRARY_VERSION_INT >= 1138089600
p_sys->i_timeout = p_sys->rtsp->sessionTimeoutParameter();
#endif
//if( p_sys->i_timeout <= 0 )
// p_sys->i_timeout = 60; /* default value from RFC2326 */
//if( !p_sys->p_timeout )
if( p_sys->i_timeout > 0 && !p_sys->p_timeout )
{
...
Cheers!