|
@@ -165,10 +165,17 @@ export default class ProxyConnectionPC {
|
165
|
165
|
* @type {Object}
|
166
|
166
|
*/
|
167
|
167
|
const connectionStub = {
|
|
168
|
+ // At the time this is used for Spot and it's okay to say the connection is always connected, because if
|
|
169
|
+ // spot has no signalling it will not be in a meeting where this is used.
|
|
170
|
+ connected: true,
|
168
|
171
|
jingle: {
|
169
|
172
|
terminate: () => { /** no-op */ }
|
170
|
173
|
},
|
171
|
|
- sendIQ: this._onSendMessage
|
|
174
|
+ sendIQ: this._onSendMessage,
|
|
175
|
+
|
|
176
|
+ // Returns empty function, because it does not add any listeners for real
|
|
177
|
+ // eslint-disable-next-line no-empty-function
|
|
178
|
+ addEventListener: () => () => { }
|
172
|
179
|
};
|
173
|
180
|
|
174
|
181
|
/**
|