-
Notifications
You must be signed in to change notification settings - Fork 996
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RTT when SSRC rewriting is enabled. (#2237)
* fix: Drop the packet if a preProcessor exists and rejects it. * fix: Also pre-process RTCP packets. * fix: Move the notifyRtcpSent call to the sender pipeline. Notably, this calls the notifier after the RTCP packet has passed the preProcessor where SSRC rewriting may change the packet. The callback is also moved from the receiver pipeline thread (calling into Conference.sendOut -> Endpoint.send) to the sender pipeline thread. The only code which uses this callback is EndpointConnectionStats, which saves sent SRs to calculate RTT. This commit fixes the RTT calculation when SSRC rewriting is used.
- Loading branch information
Showing
2 changed files
with
27 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters