mirror of
https://github.com/ossrs/srs.git
synced 2025-11-23 19:34:05 +08:00
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
# no-daemon and write log to console config for srs.
|
|
# @see full.conf for detail config.
|
|
|
|
max_connections 1000;
|
|
daemon off;
|
|
srs_log_tank console;
|
|
rtmp {
|
|
listen 1935;
|
|
}
|
|
http_api {
|
|
enabled on;
|
|
listen 1985;
|
|
}
|
|
http_server {
|
|
enabled on;
|
|
listen 8080;
|
|
}
|
|
rtc_server {
|
|
enabled on;
|
|
listen 8000; # UDP port
|
|
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
|
candidate $CANDIDATE;
|
|
}
|
|
srt_server {
|
|
enabled on;
|
|
listen 10080;
|
|
}
|
|
rtsp_server {
|
|
enabled on;
|
|
listen 8554;
|
|
}
|
|
vhost __defaultVhost__ {
|
|
hls {
|
|
enabled on;
|
|
}
|
|
http_remux {
|
|
enabled on;
|
|
mount [vhost]/[app]/[stream].flv;
|
|
}
|
|
rtc {
|
|
enabled on;
|
|
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
|
rtmp_to_rtc on;
|
|
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
|
rtc_to_rtmp on;
|
|
}
|
|
srt {
|
|
enabled on;
|
|
srt_to_rtmp on;
|
|
}
|
|
rtsp {
|
|
enabled on;
|
|
rtmp_to_rtsp on;
|
|
}
|
|
}
|