Re: [webrtc-pc] Connection establishment should be "failed" even without candidates (#2698)

Yes it sends in a null addCandidate. I gather you mean [crbug 935898](https://crbug.com/935898). Firefox has [bug 1535690](https://bugzil.la/1535690).

The spec seems clear about what should happen if at least one (useless) remote candidate was received before eoc:
```
ice1.state = new
ice1.state = gathering
ice1.state = checking
ice1.state = failed
```

I think the spec question is what should happen if zero remote candidates were received before eoc. Usefully, I hope:
```
ice1.state = new
ice1.state = gathering
ice1.state = failed
```
...but since [failed](https://w3c.github.io/webrtc-pc/#dom-rtcicetransportstate-failed) uses the phrase _"finished checking"_, and the lack of an arrow in the state diagram, it's not super clear I feel.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2698#issuecomment-978030707 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 24 November 2021 16:22:43 UTC