1
0
Fork 0
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:
dev-clavis 2022-11-21 06:35:29 +01:00 committed by GitHub
parent a2bddbe9c3
commit fe9e7abd84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;