Revert "Optimize PacketRouter/RTPSender interactions."
This reverts commit 6f129b3b7605dc69c8c188ca02d133250130570e. Reason for revert: Speculative revert (some perf test are failing) Original change's description: > Optimize PacketRouter/RTPSender interactions. > > The legacy code-path uses a hashmap as cache in order to speed up > finding the right rtp module to send on. The new path should use that > as well. > In addition, there are checks that verify if an RTP module can send > padding, in some cases payload based. These result in a number of > calls to methods in RTPSender requiring its lock to be taken. This CL > introduces a combined SupportsPadding() check method which performs > all those checks in one go. > > Bug: None > Change-Id: I2d18d0d6e7d8cfe92c81d08cef248a4daa7dcd4b > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/144780 > Reviewed-by: Åsa Persson <asapersson@webrtc.org> > Reviewed-by: Sebastian Jansson <srte@webrtc.org> > Commit-Queue: Erik Språng <sprang@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#28535} TBR=asapersson@webrtc.org,sprang@webrtc.org,srte@webrtc.org Change-Id: I8499dc0fd6e6d0b9fa7a0886c8754655e5589780 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: None Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/145326 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28552}
This commit is contained in:
committed by
Commit Bot
parent
4d68314ec8
commit
66147e892d
@ -175,13 +175,7 @@ class RtpRtcp : public Module, public RtcpFeedbackSenderInterface {
|
||||
|
||||
virtual int32_t DeregisterSendRtpHeaderExtension(RTPExtensionType type) = 0;
|
||||
|
||||
// Returns true if RTP module is send media, and any of the extensions
|
||||
// required for bandwidth estimation is registered.
|
||||
virtual bool SupportsPadding() const = 0;
|
||||
// Same as SupportsPadding(), but additionally requires that
|
||||
// SetRtxSendStatus() has been called with the kRtxRedundantPayloads option
|
||||
// enabled.
|
||||
virtual bool SupportsRtxPayloadPadding() const = 0;
|
||||
virtual bool HasBweExtensions() const = 0;
|
||||
|
||||
// Returns start timestamp.
|
||||
virtual uint32_t StartTimestamp() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user