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

Unified Diff: webrtc/pc/rtptransport.h

Issue 2889453002: Move bundle filter from BaseChannel to RtpTransport. (Closed)
Patch Set: Created 3 years, 7 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
Index: webrtc/pc/rtptransport.h
diff --git a/webrtc/pc/rtptransport.h b/webrtc/pc/rtptransport.h
index f9bee1b6cc7da03d6ad5a93680b0a70f004bf8cd..df08ba0c9fe34f0fe4be25d49258bca3a0fae874 100644
--- a/webrtc/pc/rtptransport.h
+++ b/webrtc/pc/rtptransport.h
@@ -13,6 +13,7 @@
#include "webrtc/api/ortc/rtptransportinterface.h"
#include "webrtc/base/sigslot.h"
+#include "webrtc/pc/bundlefilter.h"
namespace rtc {
@@ -64,6 +65,12 @@ class RtpTransport : public RtpTransportInterface, public sigslot::has_slots<> {
const rtc::PacketOptions& options,
int flags);
+ bool HandlesPacket(const uint8_t* data, size_t len);
+
+ bool HandlesPayloadType(int payload_type);
+
+ void AddHandledPayloadType(int payload_type);
+
protected:
// TODO(zstein): Remove this when we remove RtpTransportAdapter.
RtpTransportAdapter* GetInternal() override;
@@ -87,6 +94,8 @@ class RtpTransport : public RtpTransportInterface, public sigslot::has_slots<> {
bool rtcp_ready_to_send_ = false;
RtcpParameters rtcp_parameters_;
+
+ cricket::BundleFilter bundle_filter_;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698