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

Unified Diff: webrtc/pc/channel_unittest.cc

Issue 2890263003: Move RTP/RTCP demuxing logic from BaseChannel to RtpTransport. (Closed)
Patch Set: Disconnect transport channels in method called from Deinit to prevent races during object destructi… 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
« no previous file with comments | « webrtc/pc/channel.cc ('k') | webrtc/pc/rtcpmuxfilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/channel_unittest.cc
diff --git a/webrtc/pc/channel_unittest.cc b/webrtc/pc/channel_unittest.cc
index 6c4aa0f9ceb789a7ea1829150320b9c53e258cda..a351e17dfc31a474c34e91223869e865950c7399 100644
--- a/webrtc/pc/channel_unittest.cc
+++ b/webrtc/pc/channel_unittest.cc
@@ -1560,10 +1560,10 @@ class ChannelTest : public testing::Test, public sigslot::has_slots<> {
EXPECT_TRUE(SendAccept());
EXPECT_EQ(rtcp_mux, !channel1_->NeedsRtcpTransport());
EXPECT_EQ(rtcp_mux, !channel2_->NeedsRtcpTransport());
- EXPECT_TRUE(channel1_->bundle_filter()->FindPayloadType(pl_type1));
- EXPECT_TRUE(channel2_->bundle_filter()->FindPayloadType(pl_type1));
- EXPECT_FALSE(channel1_->bundle_filter()->FindPayloadType(pl_type2));
- EXPECT_FALSE(channel2_->bundle_filter()->FindPayloadType(pl_type2));
+ EXPECT_TRUE(channel1_->HandlesPayloadType(pl_type1));
+ EXPECT_TRUE(channel2_->HandlesPayloadType(pl_type1));
+ EXPECT_FALSE(channel1_->HandlesPayloadType(pl_type2));
+ EXPECT_FALSE(channel2_->HandlesPayloadType(pl_type2));
// Both channels can receive pl_type1 only.
SendCustomRtp1(kSsrc1, ++sequence_number1_1, pl_type1);
« no previous file with comments | « webrtc/pc/channel.cc ('k') | webrtc/pc/rtcpmuxfilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698