Add ios bindings for PeerConnectionState.
This change makes it possible for ios apps to use the new standards-compliant PeerConnectionState. Bug: webrtc:9977 Change-Id: Icf69bb1faa0383ae239cb7508f2a740a2d489697 Reviewed-on: https://webrtc-review.googlesource.com/c/110502 Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25651}
This commit is contained in:
@ -404,6 +404,11 @@ static int const kKbpsMultiplier = 1000;
|
||||
});
|
||||
}
|
||||
|
||||
- (void)peerConnection:(RTCPeerConnection *)peerConnection
|
||||
didChangeConnectionState:(RTCPeerConnectionState)newState {
|
||||
RTCLog(@"ICE+DTLS state changed: %ld", (long)newState);
|
||||
}
|
||||
|
||||
- (void)peerConnection:(RTCPeerConnection *)peerConnection
|
||||
didChangeIceGatheringState:(RTCIceGatheringState)newState {
|
||||
RTCLog(@"ICE gathering state changed: %ld", (long)newState);
|
||||
|
||||
Reference in New Issue
Block a user