//when this method called?
- (void)peerConnection:(RTCPeerConnection *)peerConnection
addedStream:(RTCMediaStream *)stream
//or when newState changed to RTCICEConnectionCompleted?
- (void)peerConnection:(RTCPeerConnection *)peerConnection
iceConnectionChanged:(RTCICEConnectionState)newState
On Jun 23, 2017, at 07:21, potato <gaox...@foxmail.com> wrote:I tested it on my iphone simulator(one peer) and firefox browser(the other peer) and I found that ice state can changed to connected (simulator also can receive video sended from firefox browser)even i haven't send candidate to the firefox browser.