Describe Your Environment
Describe the bug
TypeError: this.onerror is not a function
TypeError: this.onerror is not a function onconnect/<@https:/***********/zm/js/video-rtc.js:308:56
Line 308:
this.ws.addEventListener('error', (ev) => this.onerror(ev));
So object RTCVideo didnt' have defined function onerror()
To Reproduce
- If you don't make reverseproxy for websockets you will see error like this and it looks like a bug in the code.
Describe Your Environment
Version of ZoneMinder [1.39.18]
Debian 13
Browser name and version Firefox
Describe the bug
TypeError: this.onerror is not a function
TypeError: this.onerror is not a function onconnect/<@https:/***********/zm/js/video-rtc.js:308:56
Line 308:
this.ws.addEventListener('error', (ev) => this.onerror(ev));
So object RTCVideo didnt' have defined function onerror()
To Reproduce