The latest Chrome doesn't assign `failed` to `iceConnectionState`

And it can be useful to catch failed state to restart WebRTC peer connection. On other side Chrome assigns failed state to connectionState and it can be handled from there but the problem is janus.js offers callback only for IceState change.

So the question is simple: what do you think about add callback for connectionState to janus.js? I even can provide PR for that…

That depends how that callback would look like. Feel free to propose a PR and we’ll have a look at it!

2 Likes

For reference:

1 Like