mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 20:31:56 +00:00
Fix bug for HLS log printing. (#2807). v4.0.209
This commit is contained in:
parent
d32195993d
commit
2f52d0aefa
3 changed files with 10 additions and 9 deletions
|
@ -8,7 +8,8 @@ The changelog for SRS.
|
|||
|
||||
## SRS 4.0 Changelog
|
||||
|
||||
* v4.0, 2021-12-23, For [#2711](https://github.com/ossrs/srs/issues/2711), Refine the default config file. (#2711). v4.0.208
|
||||
* v4.0, 2021-12-23, For [#2807](https://github.com/ossrs/srs/issues/2807), Fix bug for HLS log printing. (#2807). v4.0.209
|
||||
* v4.0, 2021-12-23, For [#2711](https://github.com/ossrs/srs/pull/2711), Refine the default config file. (#2711). v4.0.208
|
||||
* v4.0, 2021-12-20, Merge [#2784](https://github.com/ossrs/srs/pull/2784): RTC: Support payload name AV1X/AV1. (#2784)(#2760). v4.0.207
|
||||
* v4.0, 2021-12-07, Merge [#2771](https://github.com/ossrs/srs/pull/2771): RTC: Fix memory leak when replace rtp packet in cache. (#2771). v4.0.205
|
||||
* v4.0, 2021-12-06, Merge [#2766](https://github.com/ossrs/srs/pull/2766): RTC: Fix nack encode seqnum. (#2766). v4.0.204
|
||||
|
|
|
@ -63,17 +63,17 @@ void SrsHlsSegment::config_cipher(unsigned char* key,unsigned char* iv)
|
|||
|
||||
SrsEncFileWriter* fw = (SrsEncFileWriter*)writer;
|
||||
fw->config_cipher(key, iv);
|
||||
}
|
||||
|
||||
srs_error_t SrsHlsSegment::rename()
|
||||
}
|
||||
|
||||
srs_error_t SrsHlsSegment::rename()
|
||||
{
|
||||
if (true) {
|
||||
std::stringstream ss;
|
||||
ss << srsu2msi(duration());
|
||||
uri = srs_string_replace(uri, "[duration]", ss.str());
|
||||
}
|
||||
|
||||
return SrsFragment::rename();
|
||||
}
|
||||
|
||||
return SrsFragment::rename();
|
||||
}
|
||||
|
||||
SrsDvrAsyncCallOnHls::SrsDvrAsyncCallOnHls(SrsContextId c, SrsRequest* r, string p, string t, string m, string mu, int s, srs_utime_t d)
|
||||
|
@ -1355,7 +1355,7 @@ void SrsHls::hls_show_mux_log()
|
|||
// the run time is not equals to stream time,
|
||||
// @see: https://github.com/ossrs/srs/issues/81#issuecomment-48100994
|
||||
// it's ok.
|
||||
srs_trace("-> " SRS_CONSTS_LOG_HLS " time=%dms, sno=%d, ts=%s, dur=%.2f, dva=%dp",
|
||||
srs_trace("-> " SRS_CONSTS_LOG_HLS " time=%dms, sno=%d, ts=%s, dur=%dms, dva=%dp",
|
||||
pprint->age(), controller->sequence_no(), controller->ts_url().c_str(),
|
||||
srsu2msi(controller->duration()), controller->deviation());
|
||||
}
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
#define VERSION_MAJOR 4
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 208
|
||||
#define VERSION_REVISION 209
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue