Connection closes sometimes

Corrado Steri

New Member
Hello, i have a webpage that shows an RTSP stream coming from an LTE webcam, it works all good but sometimes the connection probably slows down a bit and the browser closes the video. Is it possible to raise the buffer a bit so that it doesn't do it? Even if it adds a bit of latency is ok.

regards,

Corrado
 

Max

Administrator
Staff member
Hello.
Please collect logs as described here when video playback stops, and send it to support@flashphoner.com. We will check.
Does video freezes before playback stops? If yes then it stops probably due to RTP inactivity. In this case, you can disable RTP activity check by setting
Code:
rtp_activity_detecting=false,0
You can also implement playback resume when event STREAM_STATUS.FAILED is received.
 

Max

Administrator
Staff member
The option rtp_activity_detecting should be set in WCS_HOME/conf/flashphoner.properties file, it is
Code:
rtp_activity_detecting=true,60
by default.
If you prefer to implement playback resume, you should modify Player example. Here is described its source code that you can find in WCS_HOME/client2/demo/examples/streaming/player folder.
 
Top