Copy link to clipboard
Copied
Hello,
I'm running Media Server 5 running on Windows Server, and I'm trying to use the HTTP live streaming feature. The video plays correctly, but has a very long (40 second) lag.
I tried viewing the same stream over RTMP, with much better lag (>2 seconds) - so this seems to be an HTTP specific problem.
Does anybody know what could be causing such high lag when using HTTP mode? Are there some settings which can be changed?
If it helps, we're attempting to play the video using the HTML5 <video> tag:
<video width="480" height="360" id="video" autoplay>
<source src="http://10.10.3.114/hls-live/livepkgr/_definst_/liveevent/livestream1.m3u8" type="application/x-mpegURL" />
HTML5 video not supported.
</video>
Thanks!
Copy link to clipboard
Copied
Try reducing segment duration for HLS.
Copy link to clipboard
Copied
Thanks for the tip - how I can change the duration?
Copy link to clipboard
Copied
set HLSMediaFileDuration to appropriate lower value(the default is 8) in httpd.conf file of Apache server.