OvenPlayer
OvenPlayer copied to clipboard
Playing HLS protocol with ovenplayer has for me a delay of approximately 20 seconds, is it possible to reduce it to less than 10 seconds?
You can modify the Server.xml, such as:
<SegmentDuration>2</SegmentDuration>
<SegmentCount>3</SegmentCount>
<CrossDomains>
<Url>*</Url>
</CrossDomains>
</HLS>`
The SegmentDuration is 5s by default, so you have about 20s delay
I'd suggest only using such "short" `SegmentDuration" if you either use a http1.1+ supporting reverse proxy like Nginx in front of OvenMediaEngine, or if all your customers are within the same country / geographic region of your server location.
Otherwise, only 5 or 6 seconds as segment size will suffice for tcp slow start to catch up for each segment and then still have enough time to download the rest of the file, even if there is a bit of packet loss.
Thank you very much for answering, I think that the default value of the duration of the segment should be optimal, but I will try to lower it to 3 and evaluate the results. Greetings
Also you can try hls Manage Latency options you can find in our demo page (demo.ovenplayer.com)
And we are closing the issue due to a long period of inactivity. If further discussion is needed, please open a new issue.