Remove ViEChannel simulcast lock.
Since the number of streams is now known on construction we can initialize all RTP modules on construction. They are internally locked so we don't nede a simulcast lock anymore. BUG=1695 R=mflodman@webrtc.org, stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/52639004 . Cr-Commit-Position: refs/heads/master@{#9577}
This commit is contained in:
@ -125,8 +125,6 @@ TEST_F(RtpRtcpAPITest, Basic) {
|
||||
}
|
||||
|
||||
TEST_F(RtpRtcpAPITest, MTU) {
|
||||
EXPECT_EQ(-1, module_->SetMaxTransferUnit(10));
|
||||
EXPECT_EQ(-1, module_->SetMaxTransferUnit(IP_PACKET_SIZE + 1));
|
||||
EXPECT_EQ(0, module_->SetMaxTransferUnit(1234));
|
||||
EXPECT_EQ(1234 - 20 - 8, module_->MaxPayloadLength());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user