Embed: webrtc: removed typo in player.webrtc.stop function

Was in there for 5 months, bad kitty
This commit is contained in:
Cat 2024-06-05 11:14:50 +02:00
parent b103353cf9
commit 5ecbc8676f
2 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -406,7 +406,6 @@ p.prototype.build = function (MistVideo,callback) {
this.stop = function(){
if (!this.isConnected) { throw "Not connected, cannot stop." }
n_
this.signaling.send({type: "stop"});
};
this.seek = function(seekTime){
@ -904,7 +903,9 @@ p.prototype.build = function (MistVideo,callback) {
me.webrtc.stop();
me.webrtc.signaling.ws.close();
me.webrtc.peerConn.close();
} catch (e) {}
} catch (e) {
//console.log(e);
}
};
callback(video);