Video Hangs

Vico

Member
Hi there!, I´m throwing a 720p Rtsp, WCS is runing on a AWS T2 micro , we are not gonna have more than 25 subscribers.
The install was working amazing fine up to a camera restart. Now the stream hangs every 5-10 sec. We are checking all the time with VLC and there the stream flows by far.
Restart WCS and reboot instance but no changes.
Attached the report
Thanks in advance men!
 
Last edited:

Vico

Member
Hi again, I change the camera encoder output from 2Mb to 400kb and the video seems to flow again...
I need a larger instance?... Or there is a way to avoid the hangs
Anyway this Rtsp stream plays smooth on VLC.
The Quality at 400kb it´s too bad for us
 
Last edited:

Max

Administrator
Staff member
Good day.
Hi again, I change the camera encoder output from 2Mb to 400kb and the video seems to flow again...
This is channel bandwith between RTSP camera and server, or between server and browser issue. You can play the stream in VLC smoothly because the channel between your workstation and RTSP camera is good enough for 2 Mbps bitrate.
So you should relocate your server instance to a datacenter closest to RTSP camera and/or client browser.
You can test the channel between server and browser by the following way:
- set the following server parameters
Code:
inbound_video_rate_stat_send_interval=1
outbound_video_rate_stat_send_interval=1
- play the stream from RTSP camera using Media Devices example as described here. You will see channel quality meter and bitrate graph.
 
Top