Reduce HLS latency from +30 seconds

后端 未结 2 1155
忘掉有多难
忘掉有多难 2021-02-01 10:40

Ubuntu 12.04

nginx 1.2.4

avconv -version

avconv version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
  built on         


        
2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-01 11:12

    I once had the same problem. I added two parameters in nginx.conf then the latency was cut to 10s even less. Here is my conf:

        application hls {
            hls_playlist_length 4s; 
            hls_fragment 1s
        }
    

    However, I have to say 10s seems to be our limitation. Any better solutions?

提交回复
热议问题