Report post You have 30 minutes to complete this form before the CAPTCHA will expire. Security image * Required field JavaScript is required to view this page. Either you do not have JavaScript enabled in your web browser, you do not have cookies enabled in your web browser, or this website is misconfigured such that cookies do not save correctly. This is a reported post for a post in the topic <input class="cms_keep_ui_controlled" size="45" title="[post param="HLS Stream delay"]361[/post]" type="button" value="post Comcode tag (dbl-click to edit/delete)" />, by Matthew1106<br /><br /><comcode-quote param="243">I have just setup HLS Streaming server and theres about a 1m 20s delay is there any way I could decrease this alot, Its only an audio stream so if video quality is effected by reducing delay I don't mind atall.<br /><br />This is my config.<br /><br />worker_processes auto;<br />events {<br /> worker_connections 1024;<br />}<br /><br /><span style=" color: #e74c3c; "># RTMP configuration<br />rtmp {<br /> server {<br /> listen 1935; # Listen on standard RTMP port<br /> chunk_size 2000;<br /><br /> application show {<br /> live on;<br /> # Turn on HLS<br /> hls on;<br /> hls_path /nginx/hls/;<br /> hls_fragment 3;<br /> hls_playlist_length 60;<br /> # disable consuming the stream from nginx as rtmp<br /> deny play all;</span><br /> }<br /> }<br />}<br /><br />http {<br /> sendfile off;<br /> tcp_nopush on;<br /> # aio on;<br /> directio 512;<br /> default_type application/octet-stream;<br /><br /> server {<br /> listen 8080;<br /><br /> location / {<br /> # Disable cache<br /> add_header 'Cache-Control' 'no-cache';<br /><br /> # CORS setup<br /> add_header 'Access-Control-Allow-Origin' '*' always;<br /> add_header 'Access-Control-Expose-Headers' 'Content-Length';<br /><br /> # allow CORS preflight requests<br /> if ($request_method = 'OPTIONS') {<br /> add_header 'Access-Control-Allow-Origin' '*';<br /> add_header 'Access-Control-Max-Age' 1728000;<br /> add_header 'Content-Type' 'text/plain charset=UTF-8';<br /> add_header 'Content-Length' 0;<br /> return 204;<br /> }<br /><br /> types {<br /> application/dash+xml mpd;<br /> application/vnd.apple.mpegurl m3u8;<br /> video/mp2t ts;<br /> }<br /><br /> root /nginx/;<br /> }<br /> }<br />}<br /><br />Edit I have managed to get the delay down to about 30 seconds by changing<br /><br /><br /> <span style=" color: #e74c3c; ">hls_fragment 3;<br />hls_playlist_length 60;<br /><br />to<br /><br />hls_fragment 1;<br /> hls_playlist_length 10;</span><br /><br /><span style=" color: null; ">Would it be possible to get it any lower?</span><br /></comcode-quote><br />//// PUT YOUR REPORT BELOW \\\\<br /><br /> Add: Add: Font Size Color [Font] Arial Courier Georgia Impact Times Trebuchet Verdana Tahoma Geneva Helvetica [Size] 0.8 1 1.5 2 2.5 3 4 [Color] Black Blue Gray Green Orange Purple Red White Yellow This is a reported post for a post in the topic [post param="HLS Stream delay"]361[/post], by Matthew1106 [quote="243"] I have just setup HLS Streaming server and theres about a 1m 20s delay is there any way I could decrease this alot, Its only an audio stream so if video quality is effected by reducing delay I don't mind atall. This is my config. worker_processes auto; events { worker_connections 1024; } [font color="#e74c3c"]# RTMP configuration rtmp { server { listen 1935; # Listen on standard RTMP port chunk_size 2000; application show { live on; # Turn on HLS hls on; hls_path /nginx/hls/; hls_fragment 3; hls_playlist_length 60; # disable consuming the stream from nginx as rtmp deny play all;[/font] } } } http { sendfile off; tcp_nopush on; # aio on; directio 512; default_type application/octet-stream; server { listen 8080; location / { # Disable cache add_header 'Cache-Control' 'no-cache'; # CORS setup add_header 'Access-Control-Allow-Origin' '*' always; add_header 'Access-Control-Expose-Headers' 'Content-Length'; # allow CORS preflight requests if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Max-Age' 1728000; add_header 'Content-Type' 'text/plain charset=UTF-8'; add_header 'Content-Length' 0; return 204; } types { application/dash+xml mpd; application/vnd.apple.mpegurl m3u8; video/mp2t ts; } root /nginx/; } } } Edit I have managed to get the delay down to about 30 seconds by changing [font color="#e74c3c"]hls_fragment 3; hls_playlist_length 60; to hls_fragment 1; hls_playlist_length 10;[/font] [font color="null"]Would it be possible to get it any lower?[/font] [/quote] //// PUT YOUR REPORT BELOW \\\\ Use of this website implies that you agree to the website rules and privacy policy.