mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
590 B
Plaintext
18 lines
590 B
Plaintext
# http-hooks or https-callbacks config for srs.
|
|
# @see https://github.com/ossrs/srs/issues/1657#issuecomment-720889906
|
|
# @see full.conf for detail config.
|
|
|
|
listen 1935;
|
|
max_connections 1000;
|
|
daemon off;
|
|
srs_log_tank console;
|
|
vhost __defaultVhost__ {
|
|
http_hooks {
|
|
enabled on;
|
|
on_publish https://127.0.0.1:443/api/v1/streams;
|
|
on_unpublish https://127.0.0.1:443/api/v1/streams;
|
|
on_play https://127.0.0.1:443/api/v1/sessions;
|
|
on_stop https://127.0.0.1:443/api/v1/sessions;
|
|
}
|
|
}
|