mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: Config file does not enable srt for srt2rtc.conf (#3250)
* adding enable stm * SRT: Enable rtmp to rtc. Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
a2bddbe9c3
commit
fe9e7abd84
1 changed files with 5 additions and 2 deletions
|
@ -38,12 +38,15 @@ rtc_server {
|
||||||
|
|
||||||
# @doc https://github.com/ossrs/srs/issues/1147#issuecomment-577607026
|
# @doc https://github.com/ossrs/srs/issues/1147#issuecomment-577607026
|
||||||
vhost __defaultVhost__ {
|
vhost __defaultVhost__ {
|
||||||
|
srt {
|
||||||
|
enabled on;
|
||||||
|
}
|
||||||
rtc {
|
rtc {
|
||||||
enabled on;
|
enabled on;
|
||||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
|
||||||
rtmp_to_rtc off;
|
rtmp_to_rtc on;
|
||||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
|
||||||
rtc_to_rtmp off;
|
rtc_to_rtmp on;
|
||||||
}
|
}
|
||||||
http_remux {
|
http_remux {
|
||||||
enabled on;
|
enabled on;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue