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

Method _onDescription

client/scripts/network.js:265–270  ·  view source on GitHub ↗
(description)

Source from the content-addressed store, hash-verified

263 }
264
265 _onDescription(description) {
266 // description.sdp = description.sdp.replace('b=AS:30', 'b=AS:1638400');
267 this._conn.setLocalDescription(description)
268 .then(_ => this._sendSignal({ sdp: description }))
269 .catch(e => this._onError(e));
270 }
271
272 _onIceCandidate(event) {
273 if (!event.candidate) return;

Callers 2

_openChannelMethod · 0.95
onServerMessageMethod · 0.95

Calls 2

_sendSignalMethod · 0.95
_onErrorMethod · 0.95

Tested by

no test coverage detected