Index: webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc |
diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc b/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc |
index d1e520de8fc8026db6beab86e6aa169676b0c901..576557f32e015793c59367729ea37613d31cb548 100644 |
--- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc |
+++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc |
@@ -140,6 +140,11 @@ TEST_F(RtpRtcpAPITest, MTU) { |
EXPECT_EQ(0, module_->SetTransportOverhead(false, false, 0)); |
EXPECT_EQ(1234 - 20 - 8, module_->MaxPayloadLength()); |
+ |
+ module_->SetTransportOverhead(28); |
+ EXPECT_EQ(1234 - 28, module_->MaxPayloadLength()); |
+ module_->SetTransportOverhead(44); |
+ EXPECT_EQ(1234 - 44, module_->MaxPayloadLength()); |
} |
TEST_F(RtpRtcpAPITest, SSRC) { |