mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Docs: Migrate to ossrs.net and ossrs.io
This commit is contained in:
parent
7d0d2af817
commit
d57e9c758e
54 changed files with 90 additions and 93 deletions
|
@ -25,7 +25,7 @@ rtc_server {
|
|||
# The $CANDIDATE means fetch from env, if not configed, use * as default.
|
||||
#
|
||||
# The * means retrieving server IP automatically, from all network interfaces,
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
|
|
@ -25,16 +25,16 @@ rtc_server {
|
|||
# The $CANDIDATE means fetch from env, if not configed, use * as default.
|
||||
#
|
||||
# The * means retrieving server IP automatically, from all network interfaces,
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery dash
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleDASH
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-dash
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# the config for srs demo
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleDemo
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19350;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# the config for srs demo
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleDemo
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -19,7 +19,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
@ -32,9 +32,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to dvr in session mode
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_CN_DVR
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# the config for srs to dvr in custom path.
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_CN_DVR#custom-path
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_EN_DVR#custom-path
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr#custom-path
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/dvr#custom-path
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to dvr in segment mode
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_CN_DVR
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to dvr in session mode
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_CN_DVR
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_Edge
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs for token traverse authentication
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_DRM
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/drm
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_Edge
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to support nginx-rtmp exec.
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_CN_NgExec
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/nginx-exec
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs use ffmpeg to transcode
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleFFMPEG
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-ffmpeg
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to forward
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleForward
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-forward
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to forward
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleForward
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-forward
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19350;
|
||||
|
|
|
@ -360,8 +360,8 @@ srt_server {
|
|||
# The UDP listen port for SRT.
|
||||
listen 10080;
|
||||
# For detail parameters, please read wiki:
|
||||
# https://github.com/ossrs/srs/wiki/v4_CN_SRTParams
|
||||
# https://github.com/ossrs/srs/wiki/v4_EN_SRTParams
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/srt-params
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/srt-params
|
||||
maxbw 1000000000;
|
||||
connect_timeout 4000;
|
||||
peerlatency 300;
|
||||
|
@ -393,7 +393,7 @@ rtc_server {
|
|||
# And by multiple ENV variables:
|
||||
# $CANDIDATE $EIP # TODO: Implements it.
|
||||
# @remark For Firefox, the candidate MUST be IP, MUST NOT be DNS name.
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# default: *
|
||||
candidate *;
|
||||
# If api_as_candidates is on, SRS would try to use the IP of api server, specified by srs.sdk.js request:
|
||||
|
@ -599,7 +599,7 @@ vhost cluster.srs.com {
|
|||
# it's strongly recommend to open the debug_srs_upnode,
|
||||
# when connect to upnode, it will take the debug info,
|
||||
# for example, the id, source id, pid.
|
||||
# please see: https://github.com/ossrs/srs/wiki/v1_CN_SrsLog
|
||||
# please see https://ossrs.net/lts/zh-cn/docs/v4/doc/log
|
||||
# default: on
|
||||
debug_srs_upnode on;
|
||||
|
||||
|
@ -611,7 +611,7 @@ vhost cluster.srs.com {
|
|||
|
||||
# For origin (mode local) cluster, the co-worker's HTTP APIs.
|
||||
# This origin will connect to co-workers and communicate with them.
|
||||
# please read: https://github.com/ossrs/srs/wiki/v3_EN_OriginCluster
|
||||
# please see https://ossrs.io/lts/en-us/docs/v4/doc/origin-cluster
|
||||
# TODO: FIXME: Support reload.
|
||||
coworkers 127.0.0.1:9091 127.0.0.1:9092;
|
||||
}
|
||||
|
@ -1296,8 +1296,8 @@ vhost hls.srs.com {
|
|||
# [timestamp],replace this const to current UNIX timestamp in ms.
|
||||
# [seq], the sequence number of ts.
|
||||
# [duration], replace this const to current ts duration.
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_DVR#custom-path
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHLS#hls-config
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr#custom-path
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-hls#hls-config
|
||||
# default: [app]/[stream]-[seq].ts
|
||||
hls_ts_file [app]/[stream]-[seq].ts;
|
||||
# whether use floor for the hls_ts_file path generation.
|
||||
|
@ -1381,8 +1381,8 @@ vhost hls.srs.com {
|
|||
|
||||
# on_hls, never config in here, should config in http_hooks.
|
||||
# for the hls http callback, @see http_hooks.on_hls of vhost hooks.callback.srs.com
|
||||
# @read https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHLS#http-callback
|
||||
# @read https://github.com/ossrs/srs/wiki/v2_EN_DeliveryHLS#http-callback
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-hls#http-callback
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/delivery-hls#http-callback
|
||||
|
||||
# on_hls_notify, never config in here, should config in http_hooks.
|
||||
# we support the variables to generate the notify url:
|
||||
|
@ -1391,8 +1391,8 @@ vhost hls.srs.com {
|
|||
# [param], replace with the param.
|
||||
# [ts_url], replace with the ts url.
|
||||
# for the hls http callback, @see http_hooks.on_hls_notify of vhost hooks.callback.srs.com
|
||||
# @read https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHLS#on-hls-notify
|
||||
# @read https://github.com/ossrs/srs/wiki/v2_EN_DeliveryHLS#on-hls-notify
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-hls#on-hls-notify
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/delivery-hls#on-hls-notify
|
||||
}
|
||||
}
|
||||
# the vhost with hls disabled.
|
||||
|
@ -1481,8 +1481,8 @@ vhost dvr.srs.com {
|
|||
# dvr_path ./objs/nginx/html/[app]/[stream].[timestamp].mp4;
|
||||
# =>
|
||||
# dvr_path ./objs/nginx/html/live/livestream.1420254068776.mp4;
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_CN_DVR#custom-path
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_EN_DVR#custom-path
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr#custom-path
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/dvr#custom-path
|
||||
# segment,session apply it.
|
||||
# default: ./objs/nginx/html/[app]/[stream].[timestamp].flv
|
||||
dvr_path ./objs/nginx/html/[app]/[stream].[timestamp].flv;
|
||||
|
@ -1514,8 +1514,8 @@ vhost dvr.srs.com {
|
|||
|
||||
# on_dvr, never config in here, should config in http_hooks.
|
||||
# for the dvr http callback, @see http_hooks.on_dvr of vhost hooks.callback.srs.com
|
||||
# @read https://github.com/ossrs/srs/wiki/v2_CN_DVR#http-callback
|
||||
# @read https://github.com/ossrs/srs/wiki/v2_EN_DVR#http-callback
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr#http-callback
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/dvr#http-callback
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_Edge
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19351;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_Edge
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19352;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# the config for srs to delivery hds
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleHDS
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery hls
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleHLS
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-hls
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery realtime RTMP stream
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_SampleRealtime
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-realtime
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to remux rtmp to aac live stream.
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHttpStream
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to remux rtmp to flv live stream.
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHttpStream
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to remux rtmp to flv live stream.
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHttpStream
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19351;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to remux rtmp to flv live stream.
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHttpStream
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19352;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery hls
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleHLS
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-hls
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to remux rtmp to mp3 live stream.
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHttpStream
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to remux rtmp to ts live stream.
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHttpStream
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -32,7 +32,7 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
@ -46,9 +46,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,16 +32,16 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
@ -32,16 +32,16 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
@ -32,7 +32,7 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
@ -46,9 +46,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# use ffmpeg to ingest file/stream/device to SRS
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleIngest
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-ingest
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# use ffmpeg to ingest file/stream/device to SRS
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleIngest
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-ingest
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_EN_OriginCluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/origin-cluster
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-origin cluster
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_EN_OriginCluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/origin-cluster
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19350;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-origin cluster
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_EN_OriginCluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/origin-cluster
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19351;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-origin cluster
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_EN_OriginCluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/origin-cluster
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19352;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_Edge
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19350;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# push HTTP FLV to SRS.
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_Streamer#push-http-flv-to-srs
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/streamer#push-http-flv-to-srs
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# push MPEG-TS over UDP to SRS.
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_Streamer#push-mpeg-ts-over-udp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/streamer#push-mpeg-ts-over-udp
|
||||
# @see https://github.com/ossrs/srs/issues/250#issuecomment-72321769
|
||||
# @see full.conf for detail config.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery realtime RTMP stream
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_SampleRealtime
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-realtime
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery realtime RTMP stream
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_SampleRealtime
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-realtime
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -22,16 +22,16 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
@ -20,16 +20,16 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery RTMP
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleRTMP
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-rtmp
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -20,16 +20,16 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
@ -18,7 +18,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
@ -31,9 +31,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ rtc_server {
|
|||
# The $CANDIDATE means fetch from env, if not configed, use * as default.
|
||||
#
|
||||
# The * means retrieving server IP automatically, from all network interfaces,
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
@ -40,9 +40,9 @@ rtc_server {
|
|||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery hls
|
||||
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleHLS
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-hls
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://github.com/ossrs/srs/wiki/v2_CN_Edge#transform-vhost
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge#transform-vhost
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
@ -25,7 +25,7 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
@ -39,9 +39,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue