· 8 years ago · Nov 25, 2017, 12:18 PM
1{rtmp_port, 1935}.
2{rtsp_port, 8081}.
3{http_port, 8082}.
4{modules,[]}.
5{vhosts, [
6 {default, [
7 {hostname, ["localhost"]},
8 {file_access, file},
9 {detectors, [rewrite, http, rtsp, ts_file, file, livestream]},
10 {modules, [trusted_login, apps_push, apps_streaming, apps_recording, apps_shared_objects]},
11 {secret_key, "123"},
12 {file_dir, "/tmp"},
13 {wwwroot, "wwwroot"},
14 {static, ["video"]},
15 {rewrite, [
16 {"video",rtmp,"rtmp://orig.content-video.ru:1935/live/stream20",[]}
17 ]}
18 ]}
19]}.