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 0056bf0 commit 04c7ab1Copy full SHA for 04c7ab1
modules/videosipgw/VideoSIPGW.ts
@@ -116,7 +116,7 @@ export default class VideoSIPGW {
116
const session = new JitsiVideoSIPGWSession(
117
sipAddress, displayName, this.chatRoom);
118
119
- session.addStateListener(this.sessionStateChangeListener);
+ session.addStateListener(this.sessionStateChangeListener as unknown as EventListener);
120
121
this.sessions[sipAddress] = session;
122
@@ -143,7 +143,7 @@ export default class VideoSIPGW {
143
return;
144
}
145
146
- session.removeStateListener(this.sessionStateChangeListener);
+ session.removeStateListener(this.sessionStateChangeListener as unknown as EventListener);
147
delete this.sessions[address];
148
149
0 commit comments