- From: Dennis Boldt via GitHub <sysbot+gh@w3.org>
- Date: Wed, 01 Aug 2018 20:13:40 +0000
- To: public-webrtc@w3.org
boldt has just created a new issue for https://github.com/w3c/webrtc-pc:
== How do I indicate the end of remote candidates? ==
Following the spec, it's not clear to me how to indicate the  end of remote candidates.
You write:
> This method can also be used to indicate the end of remote candidates when called with an empty string for the candidate member
and
> This can be indicated by calling addIceCandidate with a candidate value whose candidate property is set to an empty string
and
> If candidate.candidate is an empty string, process candidate as an end-of-candidates indication
and
> If this RTCIceCandidate represents an end-of-candidates indication, candidate is an empty string.
How do you mean this?
1. `pc.addIceCandidate('');`
2. `pc.addIceCandidate({candidate:''});`
3. `pc.addIceCandidate(new IceCandidate(''));`
4. `pc.addIceCandidate(new IceCandidate({candidate:''}));`
[Non of them works for me in Chrome 67](https://stackoverflow.com/questions/51641174/how-do-i-indicate-the-end-of-remote-candidates#51641174). Probably its not implemented yet?
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1952 using your GitHub account
Received on Wednesday, 1 August 2018 20:14:17 UTC