源站配置
vhost __defaultVhost__ { min_latency on; mr { enabled off; #latency 350; } mw_latency 100; enabled on; gop_cache off; queue_length 10; http_remux { enabled on; mount [vhost]/[app]/[stream].flv; hstrs on; } }
边缘节点配置
vhost __defaultVhost__ { min_latency on; mr { enabled off; } mw_latency 50; enabled on; gop_cache off; queue_length 5; mode remote; origin 123.456.789.123; http_remux { enabled on; mount [vhost]/[app]/[stream].flv; hstrs on; }
边缘节点主要多配置了2项:
mode remote; #边缘模式
origin 123.456.789.123; #源站ip地址。
时间: 2024-11-09 04:17:50