bowser icon indicating copy to clipboard operation
bowser copied to clipboard

iceConnectionState and iceGatheringState are never updated

Open pantaoran opened this issue 9 years ago • 5 comments

These two fields always remain in the NEW state and never change on Bowser, which makes it difficult to know if a connection has been established or not.

Please implement those state machines as specified.

Also, as I noted #53 onaddstream never gets called on Bowser, this might be related?

pantaoran avatar Sep 23 '15 09:09 pantaoran

onaddstream is fired actually. But oniceconnectionstatechange event is not fired. We can add the stream to view on the page, but we don't know if we were connected or not. So we can see the black screen if the connection wasn't established but onaddstream fired.

truestep avatar Oct 28 '15 10:10 truestep

Thanks for logging and investigating all of these issues @pantaoran - we're finding the same thing. Since you posted, have there been any changes to note with regard to the iceConnectionState not changing?

It'd be really awesome to have this fixed in Bowser as it's the only way to verify that a connection has been successfully established between two peers - a fairly important piece of most WebRTC implementation puzzles.

ajbeaven avatar Oct 28 '15 20:10 ajbeaven

@stefhak any thoughts on this? Could it have been resolved in your latest fixes?

stefanalund avatar Oct 28 '15 20:10 stefanalund

I added the necessary parts to the C API for ice connection state I believe though the aggregation between components would need to be checked in case it is specified somewhere. And we could also implement an ice gathering state property fairly easily.

superdump avatar Oct 28 '15 21:10 superdump

Awesome, thanks so much for your work on this. When might we expect this to be updated in the AppStore?

ajbeaven avatar Nov 01 '15 21:11 ajbeaven