addIceCandidate() mandatory success callback


What's the intended use for the mandatory success callback for 

For methods like setRemoteDescription(), the success callback is used as 
a continuation for the application flow; the remote description was 
successfully set and I can go ahead and, for example, create an answer. 
I don't see the same use for the addIceCandidate() success callback. In 
fact, if you would have to wait for that callback before doing anything 
else in your app, it would complicate things a lot. It's pretty 
convenient to be able to treat the candidate exchange as something that 
runs in parallel with your other offer/answer exchanges.


Received on Monday, 10 March 2014 16:27:26 UTC