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:
Peter Boström
2015-07-14 16:08:02 +02:00
parent 4988ca50df
commit d6f1a38165
12 changed files with 341 additions and 764 deletions

View File

@ -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());