123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- listen 19353;
- max_connections 1000;
- pid objs/origin3.pid;
- daemon off;
- srs_log_tank console;
- http_server {
- enabled on;
- listen 8083;
- dir ./objs/nginx/html;
- }
- http_api {
- enabled on;
- listen 19852;
- }
- rtc_server {
- enabled on;
- listen 8001; # UDP port
- # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
- candidate $CANDIDATE;
- }
- srt_server {
- enabled on;
- listen 10083;
- tsbpdmode off;
- tlpktdrop off;
- }
- heartbeat {
- enabled on;
- interval 9;
- url http://127.0.0.1:12025/api/v1/srs/register;
- device_id origin3;
- ports on;
- }
- vhost __defaultVhost__ {
- http_remux {
- enabled on;
- mount [vhost]/[app]/[stream].flv;
- }
- hls {
- enabled on;
- hls_path ./objs/nginx/html;
- hls_fragment 10;
- hls_window 60;
- }
- rtc {
- enabled on;
- # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
- rtmp_to_rtc on;
- # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
- rtc_to_rtmp on;
- }
- srt {
- enabled on;
- srt_to_rtmp on;
- }
- }
|