Skip to content

Commit 83e8877

Browse files
Merge branch 'develop' into hevc_over_rtc
2 parents c11afbe + 93cba24 commit 83e8877

6 files changed

+16
-13
lines changed

trunk/doc/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The changelog for SRS.
77
<a name="v7-changes"></a>
88

99
## SRS 7.0 Changelog
10+
* v7.0, 2025-02-20, Merge [#4253](https://github.com/ossrs/srs/pull/4253): fix typo about heartbeat. v7.0.23 (#4253)
1011
* v7.0, 2025-02-19, Merge [#4291](https://github.com/ossrs/srs/pull/4291): fix ci error. v7.0.22 (#4291)
1112
* v7.0, 2025-01-14, Merge [#4271](https://github.com/ossrs/srs/pull/4271): update copyright to 2025. v7.0.21 (#4271)
1213
* v7.0, 2024-10-31, Merge [#4218](https://github.com/ossrs/srs/pull/4218): fix Unit test: StUtimeInMicroseconds. v7.0.20 (#4218)
@@ -34,6 +35,7 @@ The changelog for SRS.
3435
<a name="v6-changes"></a>
3536

3637
## SRS 6.0 Changelog
38+
* v6.0, 2025-02-20, Merge [#4253](https://github.com/ossrs/srs/pull/4253): fix typo about heartbeat. v6.0.161 (#4253)
3739
* v6.0, 2025-02-19, Merge [#4291](https://github.com/ossrs/srs/pull/4291): fix ci error. v6.0.160 (#4291)
3840
* v6.0, 2025-01-14, Merge [#4271](https://github.com/ossrs/srs/pull/4271): update copyright to 2025. v6.0.159 (#4271)
3941
* v6.0, 2024-10-31, Merge [#4216](https://github.com/ossrs/srs/pull/4216): fix hls error when stream has extension. v6.0.158 (#4216)
@@ -198,6 +200,7 @@ The changelog for SRS.
198200
<a name="v5-changes"></a>
199201

200202
## SRS 5.0 Changelog
203+
* v5.0, 2025-02-20, Merge [#4253](https://github.com/ossrs/srs/pull/4253): fix typo about heartbeat. v5.0.220 (#4253)
201204
* v5.0, 2025-02-19, Merge [#4291](https://github.com/ossrs/srs/pull/4291): fix ci error. v5.0.219 (#4291)
202205
* v5.0, 2025-01-14, Merge [#4271](https://github.com/ossrs/srs/pull/4271): update copyright to 2025. v5.0.218 (#4271)
203206
* v5.0, 2024-10-31, Merge [#4216](https://github.com/ossrs/srs/pull/4216): fix hls error when stream has extension. v5.0.217 (#4216)

trunk/src/app/srs_app_config.cpp

+8-8
Original file line numberDiff line numberDiff line change
@@ -2405,7 +2405,7 @@ srs_error_t SrsConfig::check_normal_config()
24052405
}
24062406
}
24072407
if (true) {
2408-
SrsConfDirective* conf = get_heartbeart();
2408+
SrsConfDirective* conf = get_heartbeat();
24092409
for (int i = 0; conf && i < (int)conf->directives.size(); i++) {
24102410
string n = conf->at(i)->name;
24112411
if (n != "enabled" && n != "interval" && n != "url"
@@ -8708,7 +8708,7 @@ string SrsConfig::get_vhost_http_remux_mount(string vhost)
87088708
return conf->arg0();
87098709
}
87108710

8711-
SrsConfDirective* SrsConfig::get_heartbeart()
8711+
SrsConfDirective* SrsConfig::get_heartbeat()
87128712
{
87138713
return root->get("heartbeat");
87148714
}
@@ -8719,7 +8719,7 @@ bool SrsConfig::get_heartbeat_enabled()
87198719

87208720
static bool DEFAULT = false;
87218721

8722-
SrsConfDirective* conf = get_heartbeart();
8722+
SrsConfDirective* conf = get_heartbeat();
87238723
if (!conf) {
87248724
return DEFAULT;
87258725
}
@@ -8738,7 +8738,7 @@ srs_utime_t SrsConfig::get_heartbeat_interval()
87388738

87398739
static srs_utime_t DEFAULT = (srs_utime_t)(10 * SRS_UTIME_SECONDS);
87408740

8741-
SrsConfDirective* conf = get_heartbeart();
8741+
SrsConfDirective* conf = get_heartbeat();
87428742
if (!conf) {
87438743
return DEFAULT;
87448744
}
@@ -8757,7 +8757,7 @@ string SrsConfig::get_heartbeat_url()
87578757

87588758
static string DEFAULT = "http://" SRS_CONSTS_LOCALHOST ":8085/api/v1/servers";
87598759

8760-
SrsConfDirective* conf = get_heartbeart();
8760+
SrsConfDirective* conf = get_heartbeat();
87618761
if (!conf) {
87628762
return DEFAULT;
87638763
}
@@ -8776,7 +8776,7 @@ string SrsConfig::get_heartbeat_device_id()
87768776

87778777
static string DEFAULT = "";
87788778

8779-
SrsConfDirective* conf = get_heartbeart();
8779+
SrsConfDirective* conf = get_heartbeat();
87808780
if (!conf) {
87818781
return DEFAULT;
87828782
}
@@ -8795,7 +8795,7 @@ bool SrsConfig::get_heartbeat_summaries()
87958795

87968796
static bool DEFAULT = false;
87978797

8798-
SrsConfDirective* conf = get_heartbeart();
8798+
SrsConfDirective* conf = get_heartbeat();
87998799
if (!conf) {
88008800
return DEFAULT;
88018801
}
@@ -8814,7 +8814,7 @@ bool SrsConfig::get_heartbeat_ports()
88148814

88158815
static bool DEFAULT = false;
88168816

8817-
SrsConfDirective* conf = get_heartbeart();
8817+
SrsConfDirective* conf = get_heartbeat();
88188818
if (!conf) {
88198819
return DEFAULT;
88208820
}

trunk/src/app/srs_app_config.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1104,10 +1104,10 @@ class SrsConfig
11041104
// Get the http flv live stream mount point for vhost.
11051105
// used to generate the flv stream mount path.
11061106
virtual std::string get_vhost_http_remux_mount(std::string vhost);
1107-
// http heartbeart section
1107+
// http heartbeat section
11081108
private:
11091109
// Get the heartbeat directive.
1110-
virtual SrsConfDirective* get_heartbeart();
1110+
virtual SrsConfDirective* get_heartbeat();
11111111
public:
11121112
// Whether heartbeat enabled.
11131113
virtual bool get_heartbeat_enabled();

trunk/src/core/srs_core_version5.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
#define VERSION_MAJOR 5
1111
#define VERSION_MINOR 0
12-
#define VERSION_REVISION 219
12+
#define VERSION_REVISION 220
1313

1414
#endif

trunk/src/core/srs_core_version6.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
#define VERSION_MAJOR 6
1111
#define VERSION_MINOR 0
12-
#define VERSION_REVISION 160
12+
#define VERSION_REVISION 161
1313

1414
#endif

trunk/src/core/srs_core_version7.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
#define VERSION_MAJOR 7
1111
#define VERSION_MINOR 0
12-
#define VERSION_REVISION 22
12+
#define VERSION_REVISION 23
1313

1414
#endif

0 commit comments

Comments
 (0)