Hi Ameem,
>>I can't seem to find any relevant documentation on this.
WebRTC uses trickle ICE(rfc8838). It doesn't send remote candidates before remote SDP.
If we assume that signaling is sequential then there is no chance of the coming candidates before SDP.
But our assumption about signaling is not always true. WebRTC can be used with different signaling where
the message may come out of order ( UDP based signaling )
>>Both of the libraries above add the ice candidates to a queue until the remote description is set, at which point they empty the queue.
So it is nice to have queuing candidates.
>>Is this actually required? Or is it somehow handled by the WebRTC API itself?
Yes. WebRTC API doesn't handle it. ( found while testing )
Thanks,
Shakeeb