From 36103176f2e98287326bb72505fd6a56956ca322 Mon Sep 17 00:00:00 2001 From: Adam Bergkvist Date: Wed, 13 Sep 2017 08:55:37 +0200 Subject: [PATCH] Add note that null candidate is for legacy compatibility --- webrtc.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webrtc.html b/webrtc.html index 2f2497100..0ebb95219 100644 --- a/webrtc.html +++ b/webrtc.html @@ -1215,6 +1215,10 @@

Update the ICE gathering state

If newState is "completed", fire an ice candidate event named icecandidate with null at connection.

+
The null candidate event is fired to ensure + legacy compatibility. New code should monitor the gathering state + of RTCIceTransport and/or + RTCPeerConnection.