mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Bugfix: Eliminate the redundant declaration of the _srs_rtc_manager variable. v5.0.169 v6.0.62 (#3699)
It is advised to eliminate any instances of _srs_rtc_manager that occur multiple times. --------- Co-authored-by: john <hondaxiao@tencent.com> Co-authored-by: chundonglinlin <chundonglinlin@163.com>
This commit is contained in:
parent
b5f50f3bf4
commit
2777351c4b
6 changed files with 9 additions and 15 deletions
|
@ -70,7 +70,7 @@ SRS_LOG_LEVEL_V2=YES
|
||||||
# Experts options.
|
# Experts options.
|
||||||
SRS_USE_SYS_SSL=NO # Use system ssl(-lssl) if required.
|
SRS_USE_SYS_SSL=NO # Use system ssl(-lssl) if required.
|
||||||
SRS_VALGRIND=NO
|
SRS_VALGRIND=NO
|
||||||
SRS_SANITIZER=NO
|
SRS_SANITIZER=RESERVED
|
||||||
SRS_SANITIZER_STATIC=NO
|
SRS_SANITIZER_STATIC=NO
|
||||||
SRS_SANITIZER_LOG=NO
|
SRS_SANITIZER_LOG=NO
|
||||||
SRS_BUILD_TAG= # Set the object files tag name.
|
SRS_BUILD_TAG= # Set the object files tag name.
|
||||||
|
@ -521,7 +521,7 @@ function apply_auto_options() {
|
||||||
|
|
||||||
# Enable asan, but disable for Centos
|
# Enable asan, but disable for Centos
|
||||||
# @see https://github.com/ossrs/srs/issues/3347
|
# @see https://github.com/ossrs/srs/issues/3347
|
||||||
if [[ $SRS_SANITIZER == NO && $OS_IS_CENTOS != YES ]]; then
|
if [[ $SRS_SANITIZER == RESERVED && $OS_IS_CENTOS != YES ]]; then
|
||||||
echo "Enable asan by auto options."
|
echo "Enable asan by auto options."
|
||||||
SRS_SANITIZER=YES
|
SRS_SANITIZER=YES
|
||||||
fi
|
fi
|
||||||
|
@ -594,6 +594,8 @@ function apply_detail_options() {
|
||||||
if [[ $SRS_HTTP_API == NO ]]; then SRS_HTTP_API=YES; echo -e "${YELLOW}[WARN] Always enable HTTP API.${BLACK}"; fi
|
if [[ $SRS_HTTP_API == NO ]]; then SRS_HTTP_API=YES; echo -e "${YELLOW}[WARN] Always enable HTTP API.${BLACK}"; fi
|
||||||
if [[ $SRS_HLS == NO ]]; then SRS_HLS=YES; echo -e "${YELLOW}[WARN] Always enable HLS.${BLACK}"; fi
|
if [[ $SRS_HLS == NO ]]; then SRS_HLS=YES; echo -e "${YELLOW}[WARN] Always enable HLS.${BLACK}"; fi
|
||||||
if [[ $SRS_DVR == NO ]]; then SRS_DVR=YES; echo -e "${YELLOW}[WARN] Always enable DVR.${BLACK}"; fi
|
if [[ $SRS_DVR == NO ]]; then SRS_DVR=YES; echo -e "${YELLOW}[WARN] Always enable DVR.${BLACK}"; fi
|
||||||
|
|
||||||
|
if [[ $SRS_SANITIZER == RESERVED ]]; then SRS_SANITIZER == NO; fi
|
||||||
}
|
}
|
||||||
apply_detail_options
|
apply_detail_options
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ The changelog for SRS.
|
||||||
<a name="v6-changes"></a>
|
<a name="v6-changes"></a>
|
||||||
|
|
||||||
## SRS 6.0 Changelog
|
## SRS 6.0 Changelog
|
||||||
|
* v6.0, 2023-07-26, Merge [#3699](https://github.com/ossrs/srs/pull/3699): Bugfix: Eliminate the redundant declaration of the _srs_rtc_manager variable.. v6.0.61 (#3699)
|
||||||
* v6.0, 2023-07-21, Merge [#3695](https://github.com/ossrs/srs/pull/3695): API: Fix HTTPS callback issue using SNI in TLS client handshake. v6.0.61 (#3695)
|
* v6.0, 2023-07-21, Merge [#3695](https://github.com/ossrs/srs/pull/3695): API: Fix HTTPS callback issue using SNI in TLS client handshake. v6.0.61 (#3695)
|
||||||
* v6.0, 2023-07-18, Merge [#3515](https://github.com/ossrs/srs/pull/3515): WebRTC: Support config the bitrate of transcoding AAC to Opus. v6.0.60 (#3515)
|
* v6.0, 2023-07-18, Merge [#3515](https://github.com/ossrs/srs/pull/3515): WebRTC: Support config the bitrate of transcoding AAC to Opus. v6.0.60 (#3515)
|
||||||
* v6.0, 2023-07-09, Merge [#3615](https://github.com/ossrs/srs/pull/3615): Compile: Fix typo for 3rdparty. v6.0.59 (#3615)
|
* v6.0, 2023-07-09, Merge [#3615](https://github.com/ossrs/srs/pull/3615): Compile: Fix typo for 3rdparty. v6.0.59 (#3615)
|
||||||
|
@ -74,7 +74,7 @@ The changelog for SRS.
|
||||||
<a name="v5-changes"></a>
|
<a name="v5-changes"></a>
|
||||||
|
|
||||||
## SRS 5.0 Changelog
|
## SRS 5.0 Changelog
|
||||||
|
* v5.0, 2023-07-26, Merge [#3699](https://github.com/ossrs/srs/pull/3699): Bugfix: Eliminate the redundant declaration of the _srs_rtc_manager variable.. v5.0.168 (#3699)
|
||||||
* v5.0, 2023-07-21, Merge [#3695](https://github.com/ossrs/srs/pull/3695): API: Fix HTTPS callback issue using SNI in TLS client handshake. v5.0.168 (#3695)
|
* v5.0, 2023-07-21, Merge [#3695](https://github.com/ossrs/srs/pull/3695): API: Fix HTTPS callback issue using SNI in TLS client handshake. v5.0.168 (#3695)
|
||||||
* v5.0, 2023-07-18, Merge [#3515](https://github.com/ossrs/srs/pull/3515): WebRTC: Support config the bitrate of transcoding AAC to Opus. v5.0.167 (#3515)
|
* v5.0, 2023-07-18, Merge [#3515](https://github.com/ossrs/srs/pull/3515): WebRTC: Support config the bitrate of transcoding AAC to Opus. v5.0.167 (#3515)
|
||||||
* v5.0, 2023-07-09, Merge [#3615](https://github.com/ossrs/srs/pull/3615): Compile: Fix typo for 3rdparty. v5.0.166 (#3615)
|
* v5.0, 2023-07-09, Merge [#3615](https://github.com/ossrs/srs/pull/3615): Compile: Fix typo for 3rdparty. v5.0.166 (#3615)
|
||||||
|
@ -233,7 +233,6 @@ The changelog for SRS.
|
||||||
<a name="v4-changes"></a>
|
<a name="v4-changes"></a>
|
||||||
|
|
||||||
## SRS 4.0 Changelog
|
## SRS 4.0 Changelog
|
||||||
|
|
||||||
* v4.0, 2023-07-21, Merge [#3695](https://github.com/ossrs/srs/pull/3695): API: Fix HTTPS callback issue using SNI in TLS client handshake. v4.0.270 (#3695)
|
* v4.0, 2023-07-21, Merge [#3695](https://github.com/ossrs/srs/pull/3695): API: Fix HTTPS callback issue using SNI in TLS client handshake. v4.0.270 (#3695)
|
||||||
* v4.0, 2022-12-24, For [#296](https://github.com/ossrs/srs/issues/296): MP3: Fix bug for TS or HLS with mp3 codec. v4.0.269
|
* v4.0, 2022-12-24, For [#296](https://github.com/ossrs/srs/issues/296): MP3: Fix bug for TS or HLS with mp3 codec. v4.0.269
|
||||||
* v4.0, 2022-11-22, Pick [#3079](https://github.com/ossrs/srs/issues/3079): WebRTC: Fix no audio and video issue for Firefox. v4.0.268
|
* v4.0, 2022-11-22, Pick [#3079](https://github.com/ossrs/srs/issues/3079): WebRTC: Fix no audio and video issue for Firefox. v4.0.268
|
||||||
|
@ -476,7 +475,6 @@ The changelog for SRS.
|
||||||
<a name="v3-changes"></a>
|
<a name="v3-changes"></a>
|
||||||
|
|
||||||
## SRS 3.0 Changelog
|
## SRS 3.0 Changelog
|
||||||
|
|
||||||
* v3.0, 2021-05-12, Fix [#2311](https://github.com/ossrs/srs/issues/2311), Copy the request for stat client. 3.0.162
|
* v3.0, 2021-05-12, Fix [#2311](https://github.com/ossrs/srs/issues/2311), Copy the request for stat client. 3.0.162
|
||||||
* <strong>v3.0, 2021-04-28, [3.0 release5(3.0.161)](https://github.com/ossrs/srs/releases/tag/v3.0-r5) released. 122750 lines.</strong>
|
* <strong>v3.0, 2021-04-28, [3.0 release5(3.0.161)](https://github.com/ossrs/srs/releases/tag/v3.0-r5) released. 122750 lines.</strong>
|
||||||
* v3.0, 2021-04-28, Upgrade players. 3.0.161
|
* v3.0, 2021-04-28, Upgrade players. 3.0.161
|
||||||
|
@ -681,7 +679,6 @@ The changelog for SRS.
|
||||||
<a name="v2-changes"></a>
|
<a name="v2-changes"></a>
|
||||||
|
|
||||||
## SRS 2.0 Changelog
|
## SRS 2.0 Changelog
|
||||||
|
|
||||||
* <strong>v2.0, 2020-01-25, [2.0 release8(2.0.272)](https://github.com/ossrs/srs/releases/tag/v2.0-r8) released. 87292 lines.</strong>
|
* <strong>v2.0, 2020-01-25, [2.0 release8(2.0.272)](https://github.com/ossrs/srs/releases/tag/v2.0-r8) released. 87292 lines.</strong>
|
||||||
* v2.0, 2020-01-08, Merge [#1554](https://github.com/ossrs/srs/issues/1554), support logrotate copytruncate. 2.0.272
|
* v2.0, 2020-01-08, Merge [#1554](https://github.com/ossrs/srs/issues/1554), support logrotate copytruncate. 2.0.272
|
||||||
* v2.0, 2020-01-05, Merge [#1551](https://github.com/ossrs/srs/issues/1551), fix memory leak in RTSP stack. 2.0.270
|
* v2.0, 2020-01-05, Merge [#1551](https://github.com/ossrs/srs/issues/1551), fix memory leak in RTSP stack. 2.0.270
|
||||||
|
|
|
@ -64,16 +64,11 @@ extern SrsStageManager* _srs_stages;
|
||||||
extern SrsRtcBlackhole* _srs_blackhole;
|
extern SrsRtcBlackhole* _srs_blackhole;
|
||||||
extern SrsResourceManager* _srs_rtc_manager;
|
extern SrsResourceManager* _srs_rtc_manager;
|
||||||
|
|
||||||
extern SrsResourceManager* _srs_rtc_manager;
|
|
||||||
extern SrsDtlsCertificate* _srs_rtc_dtls_certificate;
|
extern SrsDtlsCertificate* _srs_rtc_dtls_certificate;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <srs_protocol_kbps.hpp>
|
#include <srs_protocol_kbps.hpp>
|
||||||
|
|
||||||
extern SrsPps* _srs_pps_snack2;
|
|
||||||
extern SrsPps* _srs_pps_snack3;
|
|
||||||
extern SrsPps* _srs_pps_snack4;
|
|
||||||
|
|
||||||
SrsPps* _srs_pps_aloss2 = NULL;
|
SrsPps* _srs_pps_aloss2 = NULL;
|
||||||
|
|
||||||
extern SrsPps* _srs_pps_ids;
|
extern SrsPps* _srs_pps_ids;
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#define RTMP_SIG_SRS_DOMAIN "ossrs.net"
|
#define RTMP_SIG_SRS_DOMAIN "ossrs.net"
|
||||||
|
|
||||||
// The current stable release.
|
// The current stable release.
|
||||||
#define VERSION_STABLE 4
|
#define VERSION_STABLE 5
|
||||||
#define VERSION_STABLE_BRANCH SRS_XSTR(VERSION_STABLE) ".0release"
|
#define VERSION_STABLE_BRANCH SRS_XSTR(VERSION_STABLE) ".0release"
|
||||||
|
|
||||||
// For platform specified headers and defines.
|
// For platform specified headers and defines.
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
|
|
||||||
#define VERSION_MAJOR 5
|
#define VERSION_MAJOR 5
|
||||||
#define VERSION_MINOR 0
|
#define VERSION_MINOR 0
|
||||||
#define VERSION_REVISION 168
|
#define VERSION_REVISION 169
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
|
|
||||||
#define VERSION_MAJOR 6
|
#define VERSION_MAJOR 6
|
||||||
#define VERSION_MINOR 0
|
#define VERSION_MINOR 0
|
||||||
#define VERSION_REVISION 61
|
#define VERSION_REVISION 62
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue