in src/core/connectionHelpers/LpcConnectionHelper.js [17:31]
constructor(contactId, initialContactId, websocketManager) {
if (!LpcConnectionHelper.baseInstance) {
LpcConnectionHelper.baseInstance = new LPCConnectionHelperBase(websocketManager);
}
this.contactId = contactId;
this.initialContactId = initialContactId;
this.status = null;
this.eventBus = new connect.EventBus();
this.subscriptions = [
LpcConnectionHelper.baseInstance.onEnded(this.handleEnded.bind(this)),
LpcConnectionHelper.baseInstance.onConnectionGain(this.handleConnectionGain.bind(this)),
LpcConnectionHelper.baseInstance.onConnectionLost(this.handleConnectionLost.bind(this)),
LpcConnectionHelper.baseInstance.onMessage(this.handleMessage.bind(this)),
];
}