Showing 2 of 6 total issues
Function constructor
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(signal_bridge, room_id, endpoint_name, app, id = uuid.v4()) {
this.signal_bridge = signal_bridge;
this.room_id = room_id;
this.endpoint_name = endpoint_name;
Function connect
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
connect() {
this.io = socket(`${this.signal_bridge}?userid=${this.id}&sessionid=${this.room_id}&msgEvent=${this.socketMessageEvent}&socketCustomEvent=RTCMultiConnection-Custom-Message&autoCloseEntireSession=false&maxParticipantsAllowed=1000`);
let io = this.io;
let self = this;