From fe9e7abd8414c86ef5578d0d5a33a22935f48d5b Mon Sep 17 00:00:00 2001 From: dev-clavis Date: Mon, 21 Nov 2022 06:35:29 +0100 Subject: [PATCH] SRT: Config file does not enable srt for srt2rtc.conf (#3250) * adding enable stm * SRT: Enable rtmp to rtc. Co-authored-by: winlin --- trunk/conf/srt2rtc.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/trunk/conf/srt2rtc.conf b/trunk/conf/srt2rtc.conf index 7822c8c76..b329b4006 100644 --- a/trunk/conf/srt2rtc.conf +++ b/trunk/conf/srt2rtc.conf @@ -38,12 +38,15 @@ rtc_server { # @doc https://github.com/ossrs/srs/issues/1147#issuecomment-577607026 vhost __defaultVhost__ { + srt { + enabled on; + } rtc { enabled on; # @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 - rtc_to_rtmp off; + rtc_to_rtmp on; } http_remux { enabled on;