MCPcopy
hub / github.com/SnapDrop/snapdrop / _onIceConnectionStateChange

Method _onIceConnectionStateChange

client/scripts/network.js:322–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320 }
321
322 _onIceConnectionStateChange() {
323 switch (this._conn.iceConnectionState) {
324 case 'failed':
325 console.error('ICE Gathering failed');
326 break;
327 default:
328 console.log('ICE Gathering', this._conn.iceConnectionState);
329 }
330 }
331
332 _onError(error) {
333 console.error(error);

Callers 1

_openConnectionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected