nginx-vod-module
nginx-vod-module copied to clipboard
vod hls fail to play
location ~ ^/hls/ { vod hls; # vod none; vod_base_url ""; vod_segments_base_url ""; vod_align_segments_to_key_frames on; vod_segment_duration 20000; add_header Access-Control-Allow-Headers ''; add_header Access-Control-Expose-Headers 'Server,range,Content-Length,Content-Range'; add_header Access-Control-Allow-Methods 'GET, HEAD, OPTIONS'; add_header Access-Control-Allow-Origin ''; }
url: http://10.142.50.181:9200/hls/json/0cec889c-5b55-40cc-8590-1327b9ee3af5-pz9VPoandroid-record--4402055/index.m3u8(LAN) mp4: more than 10M ,can I send to your email m3u8-ts: seg-1-v1 (7).ts.zip
the nginx error
2022/08/30 18:15:32 [info] 13136#13136: *58737 client prematurely closed connection (104: Connection reset by peer) while processing frames, client: 10.9.114.69, server: , request: "GET /hls/json/0cec889c-5b55-40cc-8590-1327b9ee3af5-pz9VPoandroid-record--4402055/seg-1-v1.ts HTTP/1.1", host: "10.142.50.181:9200", referrer: "http://10.142.50.181:9200/hls/json/0cec889c-5b55-40cc-8590-1327b9ee3af5-pz9VPoandroid-record--4402055/index.m3u8"
i have the same issue . Has it been sloved now?
vod_base_url ""; vod_segments_base_url "";
Try removing these two configurations
I have to try and give a feedback to you, if it does work