Index: webrtc/pc/channel_unittest.cc |
diff --git a/webrtc/pc/channel_unittest.cc b/webrtc/pc/channel_unittest.cc |
index 0bea6dcad2ffd3cdfc6cebfa3bea112a806cf3f1..16b5be71e1fc3e9c6574e8471023b4963af673c1 100644 |
--- a/webrtc/pc/channel_unittest.cc |
+++ b/webrtc/pc/channel_unittest.cc |
@@ -962,6 +962,9 @@ class ChannelTest : public testing::Test, public sigslot::has_slots<> { |
EXPECT_EQ(expected_network_route, media_channel1->last_network_route()); |
EXPECT_EQ(kLastPacketId, |
media_channel1->last_network_route().last_sent_packet_id); |
+ constexpr int kTransportOverheadPerPacket = 28; // Ipv4(20) + UDP(8). |
+ EXPECT_EQ(kTransportOverheadPerPacket, |
+ media_channel1->transport_overhead_per_packet()); |
} |
// Test setting up a call. |