Searched refs:serverConnector (Results 1 – 2 of 2) sorted by relevance
493 #serverConnector; field in Controller499 constructor(serverConnector) { argument500 this.#serverConnector = serverConnector;501 serverConnector.onDeviceMsg(msg => this.#onDeviceMessage(msg));530 return this.#serverConnector.sendToDevice({type: 'answer', sdp: desc.sdp});535 return this.#serverConnector.sendToDevice({type: 'ice-candidate', candidate});571 if (this.#serverConnector.expectMessagesSoon) {572 this.#serverConnector.expectMessagesSoon(durationMilliseconds);630 this.#serverConnector.sendToDevice(641 await this.#serverConnector.sendToDevice({type: 'offer', sdp: offer.sdp});[all …]
28 async function ConnectDevice(deviceId, serverConnector) { argument46 let deviceConnection = await module.Connect(deviceId, serverConnector);