w3c / webrtc-ice

Extension to the RTCIceTransport interface defined in WebRTC 1.0
https://w3c.github.io/webrtc-ice/
Other
9 stars 14 forks source link

Calling gather() multiple times #7

Open steveanton opened 6 years ago

steveanton commented 6 years ago

What happens if gather() is called multiple times?

Peter suggested adding something like: "if not in the gathering state of complete, runs draft-ietf-ice-rfc5245bis section 5.1.1.1 again and trickles them as they come."

aboba commented 6 years ago

In general this seems reasonable, though in some situations throwing an exception might be appropriate:

This does leave open the question of what happens if the gathering state is "complete". Would this imply an ICE restart?