30 lines
570 B
Plaintext
30 lines
570 B
Plaintext
listen 1935;
|
|
max_connections 1000;
|
|
srs_log_tank console;
|
|
pid ./objs/srs.pid;
|
|
utc_time on;
|
|
inotify_auto_reload on;
|
|
daemon off;
|
|
|
|
http_api {
|
|
enabled on;
|
|
listen 8888;
|
|
}
|
|
|
|
srt_server {
|
|
enabled on;
|
|
listen 8889;
|
|
}
|
|
|
|
vhost __defaultVhost__ {
|
|
security {
|
|
enabled on;
|
|
allow publish all;
|
|
allow play all;
|
|
}
|
|
http_hooks {
|
|
enabled on;
|
|
on_publish http://app/rtmp/callback/srs;
|
|
on_unpublish http://app/rtmp/callback/srs;
|
|
}
|
|
} |