html5_rtsp_player
html5_rtsp_player copied to clipboard
Uncaught TypeError: Cannot read property 'endpoint' of null
when the player was working with socket ,it would console a error in each 5~8 seconds like this:
Uncaught TypeError: Cannot read property 'endpoint' of null at RTSPClientSM.authenticator (client.js:365) at RTSPClientSM.sendRequest (client.js:318) at RTSPStream.sendKeepalive (stream.js:75) at stream.js:89
btw, my project is base on vue , i had try to use setInterval
to reflash the <video>
node ,but it doesn`t work , it still will throw a error in each 5~8 seconds.
Got same error at line number 4474:
this.authenticator = (_method)=>{
let ep = this.parent.endpoint;
let ha1 = md5(`${ep.user}:${parsedChunks.realm}:${ep.pass}`);
let ha2 = md5(`${_method}:${this.url}`);
...