Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Unified Diff: webrtc/modules/pacing/packet_router.h

Issue 1628683002: Use separate rtp module lists for send and receive in PacketRouter. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/pacing/packet_router.cc » ('j') | webrtc/modules/pacing/packet_router.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/pacing/packet_router.h
diff --git a/webrtc/modules/pacing/packet_router.h b/webrtc/modules/pacing/packet_router.h
index edef1aa9b3f89618b6c33625487225aebac26c88..60d06aa7744f531618a05f6d734c00cf5f594c7c 100644
--- a/webrtc/modules/pacing/packet_router.h
+++ b/webrtc/modules/pacing/packet_router.h
@@ -36,7 +36,7 @@ class PacketRouter : public PacedSender::Callback,
PacketRouter();
virtual ~PacketRouter();
- void AddRtpModule(RtpRtcp* rtp_module);
+ void AddRtpModule(RtpRtcp* rtp_module, bool sender);
void RemoveRtpModule(RtpRtcp* rtp_module);
// Implements PacedSender::Callback.
@@ -56,7 +56,8 @@ class PacketRouter : public PacedSender::Callback,
private:
rtc::CriticalSection modules_lock_;
// Map from ssrc to sending rtp module.
- std::list<RtpRtcp*> rtp_modules_ GUARDED_BY(modules_lock_);
+ std::list<RtpRtcp*> send_rtp_modules_ GUARDED_BY(modules_lock_);
+ std::list<RtpRtcp*> recv_rtp_modules_ GUARDED_BY(modules_lock_);
volatile int transport_seq_;
« no previous file with comments | « no previous file | webrtc/modules/pacing/packet_router.cc » ('j') | webrtc/modules/pacing/packet_router.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698