mirror of
https://github.com/livekit/livekit.git
synced 2026-04-26 15:17:35 +00:00
* Do not ICE restart on an idle/not yet started peer connection. * Skip ICE restart on unestablished peer connection. For publish only participants, the subscriber peer connection is not negotiated. So, ICE restart was hitting an error while trying to restart the SUBSCRIBER peer connection. * use ICE gathering state as peer connection state may not have changed if first offer/answer was missed