What is different for onStateChange and onGatheringStateChange #1056
Replies: 2 comments 3 replies
-
PeerConnection::onStateChange is equivalent to connectionstatechange. https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/connectionstatechange_event PeerConnection::onGatheringStateChange is equivalent to icegatheringstatechange. https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/icegatheringstatechange_event It is based on W3C's WebRTC API, so it is recommended to read the source code while comparing it with W3C's WebRTC API. https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection |
Beta Was this translation helpful? Give feedback.
-
Actually, |
Beta Was this translation helpful? Give feedback.
-
What is different for PeerConnection::onStateChange and PeerConnection::onGatheringStateChange.
When this function start run, I want to know when they run?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions