Index: webrtc/sdk/objc/Framework/UnitTests/RTCPeerConnectionTest.mm |
diff --git a/webrtc/sdk/objc/Framework/UnitTests/RTCPeerConnectionTest.mm b/webrtc/sdk/objc/Framework/UnitTests/RTCPeerConnectionTest.mm |
index 1797feabce077143a3a7615e8da534c3f2bedc24..d4ed2b30def2800f7a551adedcc339d5ec949eb3 100644 |
--- a/webrtc/sdk/objc/Framework/UnitTests/RTCPeerConnectionTest.mm |
+++ b/webrtc/sdk/objc/Framework/UnitTests/RTCPeerConnectionTest.mm |
@@ -59,7 +59,12 @@ |
RTCPeerConnection *peerConnection = |
[factory peerConnectionWithConfiguration:config constraints:contraints delegate:nil]; |
newConfig = peerConnection.configuration; |
+ |
+ EXPECT_TRUE([peerConnection setBitrate:nullptr toCurrent:nullptr toMax:nullptr]); |
Zach Stein
2017/05/12 20:27:05
Maybe [peerConnection setBitrateMinBpsTo:x current
|
+ EXPECT_FALSE( |
+ [peerConnection setBitrate:nullptr toCurrent:[NSNumber numberWithInt:1] toMax:nullptr]); |
} |
+ |
EXPECT_EQ([config.iceServers count], [newConfig.iceServers count]); |
RTCIceServer *newServer = newConfig.iceServers[0]; |
RTCIceServer *origServer = config.iceServers[0]; |