40 lines
877 B
Plaintext
40 lines
877 B
Plaintext
|
|
# Edge for the proxy+edge E2E test (skills/srs-develop).
|
|
# Registers with the proxy via heartbeat, and in mode remote forwards publishes
|
|
# to and pulls plays from origin-for-edge.conf (RTMP :19360).
|
|
|
|
max_connections 1000;
|
|
pid objs/edge-for-proxy.pid;
|
|
daemon off;
|
|
srs_log_tank console;
|
|
|
|
rtmp {
|
|
listen 19361;
|
|
}
|
|
http_server {
|
|
enabled on;
|
|
listen 8091;
|
|
dir ./objs/nginx/html;
|
|
}
|
|
http_api {
|
|
enabled on;
|
|
listen 19861;
|
|
}
|
|
heartbeat {
|
|
enabled on;
|
|
interval 9;
|
|
url http://127.0.0.1:12025/api/v1/srs/register;
|
|
device_id edge-for-proxy;
|
|
ports on;
|
|
}
|
|
vhost __defaultVhost__ {
|
|
cluster {
|
|
mode remote;
|
|
origin 127.0.0.1:19360;
|
|
}
|
|
http_remux {
|
|
enabled on;
|
|
mount [vhost]/[app]/[stream].flv;
|
|
}
|
|
}
|