From 262f0fc8c88fb0c6bb27701ef8297672129667e4 Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 15 May 2021 16:44:43 +0800 Subject: [PATCH] SRT: Enable HTTP-FLV for SRT --- trunk/conf/srt.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/trunk/conf/srt.conf b/trunk/conf/srt.conf index f60ce5ded..396dccd3a 100644 --- a/trunk/conf/srt.conf +++ b/trunk/conf/srt.conf @@ -27,7 +27,13 @@ srt_server { # @doc https://github.com/ossrs/srs/issues/1147#issuecomment-577607026 vhost __defaultVhost__ { + http_remux { + enabled on; + mount [vhost]/[app]/[stream].flv; + } } + +# For SRT to use vhost. vhost srs.srt.com.cn { }