Update docs link to latest in code.
This commit is contained in:
parent
b2a827f8cf
commit
964ef997cb
|
|
@ -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://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
|
@ -46,9 +46,9 @@ srt_server {
|
|||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
|
@ -29,9 +29,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery dash
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-dash
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/sample-dash
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
|
@ -32,9 +32,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to dvr in session mode
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/dvr
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# the config for srs to dvr in 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 https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/dvr
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/dvr
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/dvr
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/edge
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs for token traverse authentication
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/drm
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/drm
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/nginx-exec
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/sample-ffmpeg
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/sample-ffmpeg
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
|
@ -26,9 +26,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to forward to slave service
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-forward
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/forward
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to forward
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-forward
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/forward
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to forward
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-forward
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/forward
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19350;
|
||||
|
|
|
|||
|
|
@ -309,8 +309,7 @@ srt_server {
|
|||
# Overwrite by env SRS_SRT_SERVER_LISTEN
|
||||
listen 10080;
|
||||
# For detail parameters, please read wiki:
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v5/doc/srt-params
|
||||
# @see https://ossrs.io/lts/en-us/docs/v5/doc/srt-params
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/srt#config
|
||||
# The maxbw is the max bandwidth of the sender side.
|
||||
# -1: Means the biggest bandwidth is infinity.
|
||||
# 0: Means the bandwidth is determined by SRTO_INPUTBW.
|
||||
|
|
@ -441,7 +440,7 @@ rtc_server {
|
|||
# http://locahost:1985/rtc/v1/whip/?app=live&stream=livestream&eip=192.168.3.11
|
||||
# http://locahost:1985/rtc/v1/whip/?app=live&stream=livestream&eip=192.168.3.11:18000
|
||||
# @remark For Firefox, the candidate MUST be IP, MUST NOT be DNS name, see https://bugzilla.mozilla.org/show_bug.cgi?id=1239006
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
# Overwrite by env SRS_RTC_SERVER_CANDIDATE
|
||||
# default: *
|
||||
candidate *;
|
||||
|
|
@ -677,10 +676,10 @@ stream_caster {
|
|||
# SIP server for GB28181. Please note that this is only a demonstrated SIP server, please never use it in your
|
||||
# online production environment. Instead please use [jsip](https://github.com/usnistgov/jsip) and there is a demo
|
||||
# [srs-sip](https://github.com/ossrs/srs-sip) also base on it, for more information please see project
|
||||
# [GB: External SIP](https://ossrs.net/lts/zh-cn/docs/v6/doc/gb28181#external-sip).
|
||||
# [GB: External SIP](https://ossrs.io/lts/en-us/docs/v7/doc/gb28181#external-sip).
|
||||
sip {
|
||||
# Whether enable embedded SIP server. Please disable it if you want to use your own SIP server, see
|
||||
# [GB: External SIP](https://ossrs.net/lts/zh-cn/docs/v6/doc/gb28181#external-sip).
|
||||
# [GB: External SIP](https://ossrs.io/lts/en-us/docs/v7/doc/gb28181#external-sip).
|
||||
# Default: on
|
||||
enabled on;
|
||||
# The SIP listen port, for TCP protocol.
|
||||
|
|
@ -1036,7 +1035,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://ossrs.net/lts/zh-cn/docs/v4/doc/log
|
||||
# please see https://ossrs.io/lts/en-us/docs/v7/doc/log
|
||||
# default: on
|
||||
debug_srs_upnode on;
|
||||
|
||||
|
|
@ -1048,7 +1047,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 see https://ossrs.io/lts/en-us/docs/v4/doc/origin-cluster
|
||||
# please see https://ossrs.io/lts/en-us/docs/v7/doc/origin-cluster#legacy
|
||||
# TODO: FIXME: Support reload.
|
||||
coworkers 127.0.0.1:9091 127.0.0.1:9092;
|
||||
|
||||
|
|
@ -1855,8 +1854,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://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
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/dvr#custom-path
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/hls#config
|
||||
# Overwrite by env SRS_VHOST_HLS_HLS_TS_FILE for all vhosts.
|
||||
# default: [app]/[stream]-[seq].ts
|
||||
hls_ts_file [app]/[stream]-[seq].ts;
|
||||
|
|
@ -1976,8 +1975,7 @@ 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
|
||||
# @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
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/hls#http-callback
|
||||
|
||||
# on_hls_notify, never config in here, should config in http_hooks.
|
||||
# we support the variables to generate the notify url:
|
||||
|
|
@ -1986,8 +1984,7 @@ 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
|
||||
# @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
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/hls#on-hls-notify
|
||||
}
|
||||
}
|
||||
# the vhost with hls disabled.
|
||||
|
|
@ -2082,8 +2079,7 @@ vhost dvr.srs.com {
|
|||
# dvr_path ./objs/nginx/html/[app]/[stream].[timestamp].mp4;
|
||||
# =>
|
||||
# dvr_path ./objs/nginx/html/live/livestream.1420254068776.mp4;
|
||||
# @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 https://ossrs.io/lts/en-us/docs/v7/doc/dvr#custom-path
|
||||
# segment,session apply it.
|
||||
# Overwrite by env SRS_VHOST_DVR_DVR_PATH for all vhosts.
|
||||
# default: ./objs/nginx/html/[app]/[stream].[timestamp].flv
|
||||
|
|
@ -2119,8 +2115,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
|
||||
# @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
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/dvr#http-callback
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/dvr#http-callback
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -30,16 +30,16 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ stream_caster {
|
|||
sip {
|
||||
enabled on;
|
||||
listen 5060;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v5/doc/gb28181#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/gb28181#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
}
|
||||
|
|
@ -33,16 +33,16 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/edge
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19351;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/edge
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19352;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery hls
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-hls
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/hls
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery realtime RTMP stream
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-realtime
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/flv
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
|
@ -30,9 +30,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
|
@ -30,9 +30,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
|
@ -42,9 +42,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to remux rtmp to flv live stream.
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/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://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/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://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/flv
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19352;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery hls
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-hls
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/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://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/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://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/flv
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
|
@ -46,9 +46,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,16 +32,16 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
|
@ -46,9 +46,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# use ffmpeg to ingest file/stream/device to SRS
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-ingest
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/ingest
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# use ffmpeg to ingest file/stream/device to SRS
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-ingest
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/ingest
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
|
@ -31,9 +31,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
|
@ -24,9 +24,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/origin-cluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/origin-cluster#legacy
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-origin cluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/origin-cluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/origin-cluster#legacy
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19350;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-origin cluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/origin-cluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/origin-cluster#legacy
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19351;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-origin cluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v4/doc/origin-cluster
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/origin-cluster#legacy
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19352;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/edge
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19350;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for isolated origin server to reuse port.
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/reuse-port
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/reuse-port
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for isolated origin server to reuse port.
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/reuse-port
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/reuse-port
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ http_api {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8001; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
srt_server {
|
||||
|
|
@ -45,9 +45,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
srt {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ http_api {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8001; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
srt_server {
|
||||
|
|
@ -45,9 +45,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
srt {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ http_api {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8001; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
srt_server {
|
||||
|
|
@ -45,9 +45,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
srt {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
# Prometheus exporter config.
|
||||
|
|
@ -36,9 +36,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# push HTTP FLV to SRS.
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/streamer#push-http-flv-to-srs
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/streamer#push-http-flv-to-srs
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
@ -24,15 +24,15 @@ http_api {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ stream_caster {
|
|||
output rtmp://127.0.0.1/live/[stream];
|
||||
listen 9000;
|
||||
# Deprecated config, moved to sip.candidate, see gb28181.conf
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v5/doc/gb28181#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/gb28181#config-candidate
|
||||
host $CANDIDATE;
|
||||
sip {
|
||||
enabled on;
|
||||
|
|
@ -34,16 +34,16 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# push MPEG-TS over UDP to SRS.
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/streamer#push-mpeg-ts-over-udp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/streamer#push-mpeg-ts-over-udp
|
||||
# @see https://github.com/ossrs/srs/issues/250#issuecomment-72321769
|
||||
# @see full.conf for detail config.
|
||||
|
||||
|
|
@ -25,15 +25,15 @@ http_api {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery realtime RTMP stream
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-realtime
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/sample-realtime
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
|||
|
|
@ -26,16 +26,16 @@ rtc_server {
|
|||
listen 8000;
|
||||
}
|
||||
protocol tcp;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
|||
|
|
@ -27,16 +27,16 @@ rtc_server {
|
|||
listen 8000;
|
||||
}
|
||||
protocol all;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery RTMP
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/rtmp
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -20,16 +20,16 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000; # UDP port
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
|
@ -31,9 +31,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc off;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
|
@ -43,9 +43,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
|||
|
|
@ -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://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
|
@ -43,9 +43,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs to delivery hls
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-hls
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/hls
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/edge#transform-vhost
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/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://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
|
|
@ -39,9 +39,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtmp-to-rtc
|
||||
rtmp_to_rtc on;
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||
# @see https://ossrs.io/lts/en-us/docs/v7/doc/webrtc#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -776,11 +776,11 @@ public:
|
|||
// Get the transformed vhost for edge,
|
||||
virtual std::string get_vhost_edge_transform_vhost(std::string vhost);
|
||||
// Whether enable the origin cluster.
|
||||
// @see https://ossrs.net/lts/zh-cn/docs/v4/doc/origin-cluster
|
||||
// @see https://ossrs.io/lts/en-us/docs/v7/doc/origin-cluster#legacy
|
||||
virtual bool get_vhost_origin_cluster(std::string vhost);
|
||||
virtual bool get_vhost_origin_cluster(SrsConfDirective* conf);
|
||||
// Get the co-workers of origin cluster.
|
||||
// @see https://ossrs.net/lts/zh-cn/docs/v4/doc/origin-cluster
|
||||
// @see https://ossrs.io/lts/en-us/docs/v7/doc/origin-cluster#legacy
|
||||
virtual std::vector<std::string> get_vhost_coworkers(std::string vhost);
|
||||
// vhost security section
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
// When reload callback, the config is updated yet.
|
||||
//
|
||||
// Features not support reload,
|
||||
// @see: https://ossrs.net/lts/zh-cn/docs/v4/doc/reload#notsupportedfeatures
|
||||
// @see: https://ossrs.io/lts/en-us/docs/v7/doc/reload#notsupportedfeatures
|
||||
class ISrsReloadHandler
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@ srs_error_t SrsSrtFrameBuilder::on_packet(SrsSrtPacket *pkt)
|
|||
SrsUniquePtr<SrsBuffer> stream(new SrsBuffer(p, SRS_TS_PACKET_SIZE));
|
||||
|
||||
// Process each ts packet. Note that the jitter of UDP may cause video glitch when packet loss or wrong seq. We
|
||||
// don't handle it because SRT will, see tlpktdrop at https://ossrs.net/lts/zh-cn/docs/v4/doc/srt-params
|
||||
// don't handle it because SRT will, see tlpktdrop at https://ossrs.io/lts/en-us/docs/v7/doc/srt
|
||||
if ((err = ts_ctx_->decode(stream.get(), this)) != srs_success) {
|
||||
srs_warn("parse ts packet err=%s", srs_error_desc(err).c_str());
|
||||
srs_error_reset(err);
|
||||
|
|
@ -817,7 +817,7 @@ srs_error_t SrsSrtFrameBuilder::on_ts_audio(SrsTsMessage* msg, SrsBuffer* avs)
|
|||
// MPEG-TS always merge multi audio frame into one pes packet, may cause high latency and AV synchronization errors
|
||||
// @see https://github.com/ossrs/srs/issues/3164
|
||||
srs_warn("srt to rtmp, audio duration=%dms too large, audio frames=%d, may cause high latency and AV synchronization errors, "
|
||||
"read https://ossrs.io/lts/en-us/docs/v5/doc/srt-codec#ffmpeg-push-srt-stream", duration_ms, frame_idx);
|
||||
"read https://ossrs.io/lts/en-us/docs/v7/doc/srt#ffmpeg-push-srt-stream", duration_ms, frame_idx);
|
||||
}
|
||||
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user