Video loading time issue

yeprem

New Member
Hello

We have a video loading time issue.
Sometimes video loads in less than 5 seconds and sometimes it take more than 15 seconds

Our clients want to video loading time to be around 5 seconds.


Please give a solution, we are Premium user.

looking forward to your reply, i's very urgent.
 

Max

Administrator
Staff member
Good day.
The possible reason is an uneven key frames flow in media stream.
If you're publishing RTMP stream from OBS, you should set key frame interval like this:
1663318305897.png

If you're publishing WebRTC from browser, set the following WCS parameters in flashphoner.properties file
Code:
periodic_fir_request=true
periodic_fir_request_interval=2000
In this case, the stream should start to play in 2 seconds.
 

yeprem

New Member
Before this we did that and interval we settup to 1000


periodic_fir_request=true
periodic_fir_request_interval=1000


What else we can do?
Sometimes it's open after 5 seonds and sometimes the same video autoplay after 15 seconds
 

Max

Administrator
Staff member
Please clarify how do you publish a stream? What resolution and bitrate do you use?
Try to check publish/playback channel quality: Publisher and player channel quality control
If the quality is BAD, try to use TCP for publishing/playback, use lower resolution/bitrate to conform the publisher/player channel.
 
Top