From 5516d3751f171e03a084d17223af3cdf1f405773 Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 24 Apr 2021 21:33:44 +0800 Subject: [PATCH] Change push-RTSP as deprecated feature. --- README.md | 3 ++- trunk/conf/full.conf | 1 + trunk/src/app/srs_app_server.cpp | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e79a70cb6..0f838e5bed 100755 --- a/README.md +++ b/README.md @@ -166,10 +166,10 @@ Other documents: - [x] [Experimental] Support DVR in MP4 format, read [#738][bug #738]. - [x] [Experimental] Support MPEG-DASH, the future live streaming protocol, read [#299][bug #299]. - [x] [Experimental] Support pushing MPEG-TS over UDP, please read [bug #250][bug #250]. -- [x] [Experimental] Support pushing RTSP, please read [bug #133][bug #133]. - [x] [Experimental] Support pushing FLV over HTTP POST, please read wiki([CN][v2_CN_Streamer2], [EN][v2_EN_Streamer2]). - [x] [Experimental] Support HTTP RAW API, please read [#459][bug #459], [#470][bug #470], [#319][bug #319]. - [x] [Experimental] Support SRT server, read [#1147][bug #1147]. +- [x] [Deprecated] Support pushing RTSP, please read [bug #133][bug #133]. - [x] [Deprecated] Support RTMP client library: srs-librtmp([CN][v3_CN_SrsLibrtmp], [EN][v3_EN_SrsLibrtmp]) - [x] [Deprecated] Support Adobe HDS(f4m), please read wiki([CN][v2_CN_DeliveryHDS], [EN][v2_EN_DeliveryHDS]) and [#1535][bug #1535]. - [x] [Deprecated] Support bandwidth testing([CN][v1_CN_BandwidthTestTool], [EN][v1_EN_BandwidthTestTool]), please read [#1535][bug #1535]. @@ -191,6 +191,7 @@ Other documents: ## V4 changes +* v4.0, 2021-04-24, Change push-RTSP as deprecated feature. * v4.0, 2021-04-24, Player: Change the default from RTMP to HTTP-FLV. * v4.0, 2021-04-24, Disable CherryPy by --cherrypy=off. 4.0.90 * v4.0, 2021-04-01, RTC: Refine TWCC and SDP exchange. 4.0.88 diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index 62307d2b59..d33092cd4c 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -288,6 +288,7 @@ stream_caster { } # RTSP +# It's deprecated and will be removed in the future, see [#2304](https://github.com/ossrs/srs/issues/2304#issuecomment-826009290). stream_caster { # whether stream caster is enabled. # default: off diff --git a/trunk/src/app/srs_app_server.cpp b/trunk/src/app/srs_app_server.cpp index 49288d3c95..cce849ab6a 100644 --- a/trunk/src/app/srs_app_server.cpp +++ b/trunk/src/app/srs_app_server.cpp @@ -1482,6 +1482,7 @@ srs_error_t SrsServer::listen_stream_caster() if (srs_stream_caster_is_udp(caster)) { listener = new SrsUdpCasterListener(this, SrsListenerMpegTsOverUdp, stream_caster); } else if (srs_stream_caster_is_rtsp(caster)) { + srs_warn("It's deprecated and will be removed in the future, see https://github.com/ossrs/srs/issues/2304#issuecomment-826009290"); listener = new SrsRtspListener(this, SrsListenerRtsp, stream_caster); } else if (srs_stream_caster_is_flv(caster)) { listener = new SrsHttpFlvListener(this, SrsListenerFlv, stream_caster);