-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsrs.conf
More file actions
31 lines (28 loc) · 748 Bytes
/
srs.conf
File metadata and controls
31 lines (28 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;
http_server {
enabled on;
listen 8080;
crossdomain on;
}
vhost __defaultVhost__ {
http_hooks {
enabled on;
on_publish http://frontend:3000/api/srs/on_publish;
on_unpublish http://frontend:3000/api/srs/on_unpublish;
on_play http://frontend:3000/api/srs/on_play;
on_stop http://frontend:3000/api/srs/on_stop;
}
http_remux {
enabled on;
fast_cache 30;
drop_if_not_match on;
has_audio on;
has_video on;
guess_has_av on;
mount /live/[stream].flv;
# mount [vhost]/[app]/[stream].flv;
}
}