Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebRTC signaling fails in Safari when polite=true #22

Open
PsychoLlama opened this issue Nov 24, 2021 · 1 comment
Open

WebRTC signaling fails in Safari when polite=true #22

PsychoLlama opened this issue Nov 24, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@PsychoLlama
Copy link
Owner

When Safari is forced into ICE rollback on a signaling conflict, it doesn't seem to take the hint:

InvalidStateError: Remote description type 0 is incompatible with current signaling state 1

I confirmed this only seems to happen when Safari is signaling in polite mode.

@PsychoLlama PsychoLlama added the bug Something isn't working label Nov 24, 2021
@PsychoLlama
Copy link
Owner Author

It seems Safari hasn't implemented ICE rollback as part of setLocalDescription() without parameters.

I can either:

  1. Rework the call logic to always avoid conflicts, possibly by having the "polite" caller always ask the other to call them instead (might not be a bad solution)
  2. Ignore the problem until Safari becomes spec compliant (could take millennia)

Sounds like a problem for some other day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant