WebRTC: Use realtime for TWCC timestamp accuracy. v7.0.114
This commit is contained in:
parent
8acceb1b1b
commit
abacd680ba
|
|
@ -7,6 +7,7 @@ The changelog for SRS.
|
||||||
<a name="v7-changes"></a>
|
<a name="v7-changes"></a>
|
||||||
|
|
||||||
## SRS 7.0 Changelog
|
## SRS 7.0 Changelog
|
||||||
|
* v7.0, 2025-10-30, WebRTC: Use realtime for TWCC timestamp accuracy. v7.0.114
|
||||||
* v7.0, 2025-10-30, AI: HLS: Fix crash when segment is not open by adding NULL checks. v7.0.113 (#3431)
|
* v7.0, 2025-10-30, AI: HLS: Fix crash when segment is not open by adding NULL checks. v7.0.113 (#3431)
|
||||||
* v7.0, 2025-10-29, AI: AAC: Fix mono audio reported as stereo in HTTP API. v7.0.112 (#3556)
|
* v7.0, 2025-10-29, AI: AAC: Fix mono audio reported as stereo in HTTP API. v7.0.112 (#3556)
|
||||||
* v7.0, 2025-10-27, HLS/DASH: Skip unpublish if disabled; add protection in SrsPath::unlink. v7.0.111
|
* v7.0, 2025-10-27, HLS/DASH: Skip unpublish if disabled; add protection in SrsPath::unlink. v7.0.111
|
||||||
|
|
|
||||||
|
|
@ -1532,7 +1532,10 @@ srs_error_t SrsRtcPublishStream::on_twcc(uint16_t sn)
|
||||||
{
|
{
|
||||||
srs_error_t err = srs_success;
|
srs_error_t err = srs_success;
|
||||||
|
|
||||||
srs_utime_t now = srs_time_now_cached();
|
// To get more accurate timestamp, and avoid deviation caused by coroutine scheduler,
|
||||||
|
// we use realtime for TWCC.
|
||||||
|
srs_utime_t now = srs_time_now_realtime();
|
||||||
|
|
||||||
err = rtcp_twcc_->recv_packet(sn, now);
|
err = rtcp_twcc_->recv_packet(sn, now);
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
|
|
@ -1584,10 +1587,6 @@ srs_error_t SrsRtcPublishStream::on_rtp_plaintext(char *plaintext, int nb_plaint
|
||||||
{
|
{
|
||||||
srs_error_t err = srs_success;
|
srs_error_t err = srs_success;
|
||||||
|
|
||||||
if (_srs_blackhole->blackhole_) {
|
|
||||||
_srs_blackhole->sendto(plaintext, nb_plaintext);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Allocate packet form cache.
|
// Allocate packet form cache.
|
||||||
SrsRtpPacket *pkt = new SrsRtpPacket();
|
SrsRtpPacket *pkt = new SrsRtpPacket();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,6 @@
|
||||||
|
|
||||||
#define VERSION_MAJOR 7
|
#define VERSION_MAJOR 7
|
||||||
#define VERSION_MINOR 0
|
#define VERSION_MINOR 0
|
||||||
#define VERSION_REVISION 113
|
#define VERSION_REVISION 114
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Loading…
Reference in New Issue
Block a user