Home
last modified time | relevance | path

Searched refs:serverConnector (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dcf_webrtc.js493 #serverConnector; field in Controller
499 constructor(serverConnector) { argument
500 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 …]
Dapp.js28 async function ConnectDevice(deviceId, serverConnector) { argument
46 let deviceConnection = await module.Connect(deviceId, serverConnector);