Update docs link to latest in code.

This commit is contained in:
winlin 2025-07-05 09:32:11 -04:00
parent b2a827f8cf
commit 964ef997cb
74 changed files with 154 additions and 159 deletions

View File

@ -25,7 +25,7 @@ rtc_server {
# The $CANDIDATE means fetch from env, if not configed, use * as default. # The $CANDIDATE means fetch from env, if not configed, use * as default.
# #
# The * means retrieving server IP automatically, from all network interfaces, # 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; candidate $CANDIDATE;
} }

View File

@ -25,7 +25,7 @@ rtc_server {
# The $CANDIDATE means fetch from env, if not configed, use * as default. # The $CANDIDATE means fetch from env, if not configed, use * as default.
# #
# The * means retrieving server IP automatically, from all network interfaces, # 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; candidate $CANDIDATE;
} }
@ -46,9 +46,9 @@ srt_server {
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
http_remux { http_remux {

View File

@ -16,7 +16,7 @@ http_server {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
@ -29,9 +29,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
} }

View File

@ -1,5 +1,5 @@
# the config for srs to delivery dash # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -19,7 +19,7 @@ http_server {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
@ -32,9 +32,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
} }

View File

@ -1,5 +1,5 @@
# the config for srs to dvr in session mode # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,6 +1,5 @@
# the config for srs to dvr in custom path. # 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/v7/doc/dvr#custom-path
# @see https://ossrs.io/lts/en-us/docs/v4/doc/dvr#custom-path
# @see full.conf for detail config. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs to dvr in segment mode # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs to dvr in session mode # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs origin-edge cluster # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs for token traverse authentication # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs origin-edge cluster # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs to support nginx-rtmp exec. # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs use ffmpeg to transcode # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -13,7 +13,7 @@ http_server {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
@ -26,9 +26,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }
} }

View File

@ -1,5 +1,5 @@
# the config for srs to forward to slave service # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs to forward # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs to forward # 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. # @see full.conf for detail config.
listen 19350; listen 19350;

View File

@ -309,8 +309,7 @@ srt_server {
# Overwrite by env SRS_SRT_SERVER_LISTEN # Overwrite by env SRS_SRT_SERVER_LISTEN
listen 10080; listen 10080;
# For detail parameters, please read wiki: # 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/v7/doc/srt#config
# @see https://ossrs.io/lts/en-us/docs/v5/doc/srt-params
# The maxbw is the max bandwidth of the sender side. # The maxbw is the max bandwidth of the sender side.
# -1: Means the biggest bandwidth is infinity. # -1: Means the biggest bandwidth is infinity.
# 0: Means the bandwidth is determined by SRTO_INPUTBW. # 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
# http://locahost:1985/rtc/v1/whip/?app=live&stream=livestream&eip=192.168.3.11:18000 # 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 # @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 # Overwrite by env SRS_RTC_SERVER_CANDIDATE
# default: * # default: *
candidate *; 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 # 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 # 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 # [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 { sip {
# Whether enable embedded SIP server. Please disable it if you want to use your own SIP server, see # 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 # Default: on
enabled on; enabled on;
# The SIP listen port, for TCP protocol. # 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, # it's strongly recommend to open the debug_srs_upnode,
# when connect to upnode, it will take the debug info, # when connect to upnode, it will take the debug info,
# for example, the id, source id, pid. # 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 # default: on
debug_srs_upnode on; debug_srs_upnode on;
@ -1048,7 +1047,7 @@ vhost cluster.srs.com {
# For origin (mode local) cluster, the co-worker's HTTP APIs. # For origin (mode local) cluster, the co-worker's HTTP APIs.
# This origin will connect to co-workers and communicate with them. # 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. # TODO: FIXME: Support reload.
coworkers 127.0.0.1:9091 127.0.0.1:9092; 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. # [timestamp],replace this const to current UNIX timestamp in ms.
# [seq], the sequence number of ts. # [seq], the sequence number of ts.
# [duration], replace this const to current ts duration. # [duration], replace this const to current ts duration.
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr#custom-path # @see https://ossrs.io/lts/en-us/docs/v7/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/hls#config
# Overwrite by env SRS_VHOST_HLS_HLS_TS_FILE for all vhosts. # Overwrite by env SRS_VHOST_HLS_HLS_TS_FILE for all vhosts.
# default: [app]/[stream]-[seq].ts # default: [app]/[stream]-[seq].ts
hls_ts_file [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. # 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 # 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/v7/doc/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. # on_hls_notify, never config in here, should config in http_hooks.
# we support the variables to generate the notify url: # we support the variables to generate the notify url:
@ -1986,8 +1984,7 @@ vhost hls.srs.com {
# [param], replace with the param. # [param], replace with the param.
# [ts_url], replace with the ts url. # [ts_url], replace with the ts url.
# for the hls http callback, @see http_hooks.on_hls_notify of vhost hooks.callback.srs.com # 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/v7/doc/hls#on-hls-notify
# @see https://ossrs.io/lts/en-us/docs/v4/doc/delivery-hls#on-hls-notify
} }
} }
# the vhost with hls disabled. # 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/[app]/[stream].[timestamp].mp4;
# => # =>
# dvr_path ./objs/nginx/html/live/livestream.1420254068776.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/v7/doc/dvr#custom-path
# @see https://ossrs.io/lts/en-us/docs/v4/doc/dvr#custom-path
# segment,session apply it. # segment,session apply it.
# Overwrite by env SRS_VHOST_DVR_DVR_PATH for all vhosts. # Overwrite by env SRS_VHOST_DVR_DVR_PATH for all vhosts.
# default: ./objs/nginx/html/[app]/[stream].[timestamp].flv # 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. # 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 # 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/v7/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
} }
} }

View File

@ -30,16 +30,16 @@ stats {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
http_remux { http_remux {

View File

@ -12,7 +12,7 @@ stream_caster {
sip { sip {
enabled on; enabled on;
listen 5060; 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; candidate $CANDIDATE;
} }
} }
@ -33,16 +33,16 @@ stats {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
http_remux { http_remux {

View File

@ -1,5 +1,5 @@
# the config for srs origin-edge cluster # 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. # @see full.conf for detail config.
listen 19351; listen 19351;

View File

@ -1,5 +1,5 @@
# the config for srs origin-edge cluster # 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. # @see full.conf for detail config.
listen 19352; listen 19352;

View File

@ -1,5 +1,5 @@
# the config for srs to delivery hls # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs to delivery realtime RTMP stream # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs to remux rtmp to aac live stream. # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -17,7 +17,7 @@ http_server {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
@ -30,9 +30,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }
} }

View File

@ -17,7 +17,7 @@ http_server {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
@ -30,9 +30,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }
} }

View File

@ -29,7 +29,7 @@ http_server {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
@ -42,9 +42,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }
} }

View File

@ -1,5 +1,5 @@
# the config for srs to remux rtmp to flv live stream. # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs to remux rtmp to flv live stream. # 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. # @see full.conf for detail config.
listen 19351; listen 19351;

View File

@ -1,5 +1,5 @@
# the config for srs to remux rtmp to flv live stream. # 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. # @see full.conf for detail config.
listen 19352; listen 19352;

View File

@ -1,5 +1,5 @@
# the config for srs to delivery hls # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs to remux rtmp to mp3 live stream. # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs to remux rtmp to ts live stream. # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -32,7 +32,7 @@ stats {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
@ -46,9 +46,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }
} }

View File

@ -32,16 +32,16 @@ stats {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }
http_remux { http_remux {

View File

@ -32,16 +32,16 @@ stats {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
http_remux { http_remux {

View File

@ -32,7 +32,7 @@ stats {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
@ -46,9 +46,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }
} }

View File

@ -1,5 +1,5 @@
# use ffmpeg to ingest file/stream/device to SRS # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# use ffmpeg to ingest file/stream/device to SRS # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -18,7 +18,7 @@ http_server {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
@ -31,9 +31,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }
} }

View File

@ -10,7 +10,7 @@ http_server {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
@ -24,9 +24,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
} }

View File

@ -1,5 +1,5 @@
# the config for srs origin-edge cluster # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs origin-origin cluster # 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. # @see full.conf for detail config.
listen 19350; listen 19350;

View File

@ -1,5 +1,5 @@
# the config for srs origin-origin cluster # 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. # @see full.conf for detail config.
listen 19351; listen 19351;

View File

@ -1,5 +1,5 @@
# the config for srs origin-origin cluster # 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. # @see full.conf for detail config.
listen 19352; listen 19352;

View File

@ -1,5 +1,5 @@
# the config for srs origin-edge cluster # 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. # @see full.conf for detail config.
listen 19350; listen 19350;

View File

@ -1,5 +1,5 @@
# the config for isolated origin server to reuse port. # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for isolated origin server to reuse port. # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -16,7 +16,7 @@ http_api {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8001; # UDP port 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; candidate $CANDIDATE;
} }
srt_server { srt_server {
@ -45,9 +45,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
srt { srt {

View File

@ -16,7 +16,7 @@ http_api {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8001; # UDP port 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; candidate $CANDIDATE;
} }
srt_server { srt_server {
@ -45,9 +45,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
srt { srt {

View File

@ -16,7 +16,7 @@ http_api {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8001; # UDP port 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; candidate $CANDIDATE;
} }
srt_server { srt_server {
@ -45,9 +45,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
srt { srt {

View File

@ -16,7 +16,7 @@ http_server {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
# Prometheus exporter config. # Prometheus exporter config.
@ -36,9 +36,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
} }

View File

@ -1,5 +1,5 @@
# push HTTP FLV to SRS. # 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. # @see full.conf for detail config.
listen 1935; listen 1935;
@ -24,15 +24,15 @@ http_api {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
http_remux { http_remux {

View File

@ -10,7 +10,7 @@ stream_caster {
output rtmp://127.0.0.1/live/[stream]; output rtmp://127.0.0.1/live/[stream];
listen 9000; listen 9000;
# Deprecated config, moved to sip.candidate, see gb28181.conf # 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; host $CANDIDATE;
sip { sip {
enabled on; enabled on;
@ -34,16 +34,16 @@ stats {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
http_remux { http_remux {

View File

@ -1,5 +1,5 @@
# push MPEG-TS over UDP to SRS. # 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 https://github.com/ossrs/srs/issues/250#issuecomment-72321769
# @see full.conf for detail config. # @see full.conf for detail config.
@ -25,15 +25,15 @@ http_api {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
http_remux { http_remux {

View File

@ -1,5 +1,5 @@
# the config for srs to delivery realtime RTMP stream # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs to delivery realtime RTMP stream # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -22,16 +22,16 @@ stats {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }
http_remux { http_remux {

View File

@ -26,16 +26,16 @@ rtc_server {
listen 8000; listen 8000;
} }
protocol tcp; 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }
http_remux { http_remux {

View File

@ -27,16 +27,16 @@ rtc_server {
listen 8000; listen 8000;
} }
protocol all; 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }
http_remux { http_remux {

View File

@ -20,16 +20,16 @@ stats {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
http_remux { http_remux {

View File

@ -1,5 +1,5 @@
# the config for srs to delivery RTMP # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -20,16 +20,16 @@ stats {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
http_remux { http_remux {

View File

@ -18,7 +18,7 @@ http_server {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
@ -31,9 +31,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp off;
} }

View File

@ -32,7 +32,7 @@ rtc_server {
# The $CANDIDATE means fetch from env, if not configed, use * as default. # The $CANDIDATE means fetch from env, if not configed, use * as default.
# #
# The * means retrieving server IP automatically, from all network interfaces, # 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; candidate $CANDIDATE;
} }
@ -43,9 +43,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
http_remux { http_remux {

View File

@ -32,7 +32,7 @@ rtc_server {
# The $CANDIDATE means fetch from env, if not configed, use * as default. # The $CANDIDATE means fetch from env, if not configed, use * as default.
# #
# The * means retrieving server IP automatically, from all network interfaces, # 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; candidate $CANDIDATE;
} }
@ -43,9 +43,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
http_remux { http_remux {

View File

@ -1,5 +1,5 @@
# the config for srs to delivery hls # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -1,5 +1,5 @@
# the config for srs origin-edge cluster # 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. # @see full.conf for detail config.
listen 1935; listen 1935;

View File

@ -25,7 +25,7 @@ stats {
rtc_server { rtc_server {
enabled on; enabled on;
listen 8000; # UDP port 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; candidate $CANDIDATE;
} }
@ -39,9 +39,9 @@ vhost __defaultVhost__ {
} }
rtc { rtc {
enabled on; 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; 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; rtc_to_rtmp on;
} }
} }

View File

@ -776,11 +776,11 @@ public:
// Get the transformed vhost for edge, // Get the transformed vhost for edge,
virtual std::string get_vhost_edge_transform_vhost(std::string vhost); virtual std::string get_vhost_edge_transform_vhost(std::string vhost);
// Whether enable the origin cluster. // 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(std::string vhost);
virtual bool get_vhost_origin_cluster(SrsConfDirective* conf); virtual bool get_vhost_origin_cluster(SrsConfDirective* conf);
// Get the co-workers of origin cluster. // 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); virtual std::vector<std::string> get_vhost_coworkers(std::string vhost);
// vhost security section // vhost security section
public: public:

View File

@ -15,7 +15,7 @@
// When reload callback, the config is updated yet. // When reload callback, the config is updated yet.
// //
// Features not support reload, // 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 class ISrsReloadHandler
{ {
public: public:

View File

@ -310,7 +310,7 @@ srs_error_t SrsSrtFrameBuilder::on_packet(SrsSrtPacket *pkt)
SrsUniquePtr<SrsBuffer> stream(new SrsBuffer(p, SRS_TS_PACKET_SIZE)); 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 // 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) { if ((err = ts_ctx_->decode(stream.get(), this)) != srs_success) {
srs_warn("parse ts packet err=%s", srs_error_desc(err).c_str()); srs_warn("parse ts packet err=%s", srs_error_desc(err).c_str());
srs_error_reset(err); 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 // 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 // @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, " 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; return err;