We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e19ed9e commit c33c1d2Copy full SHA for c33c1d2
src/robot/dial.ts
@@ -81,6 +81,7 @@ export interface DialWebRTCConf {
81
reconnectMaxWait?: number;
82
reconnectAbortSignal?: { abort: boolean };
83
// WebRTC
84
+ serviceHost?: string;
85
signalingAddress: string;
86
iceServers?: ICEServer[];
87
priority?: number;
@@ -94,7 +95,7 @@ const dialWebRTC = async (conf: DialWebRTCConf): Promise<RobotClient> => {
94
95
// eslint-disable-next-line no-console
96
console.debug('dialing via WebRTC...');
97
- const impliedURL = conf.host;
98
+ const impliedURL = conf.serviceHost ?? conf.host;
99
const { signalingAddress } = conf;
100
const iceServers = conf.iceServers ?? [];
101
0 commit comments