Embed: webrtc: api.pause() may now send {type:"hold"} to backend and it should always pause instead of toggling pause/play
This commit is contained in:
parent
a73a3f4ecd
commit
94af64caa0
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
@ -383,7 +383,7 @@ p.prototype.build = function (MistVideo,callback) {
|
|||
};
|
||||
this.pause = function(){
|
||||
if (!this.isConnected) { throw "Not connected, cannot pause." }
|
||||
this.signaling.send({type: "pause"});
|
||||
this.signaling.send({type: "hold"});
|
||||
};
|
||||
this.setTrack = function(obj){
|
||||
if (!this.isConnected) { throw "Not connected, cannot set track." }
|
||||
|
|
Loading…
Add table
Reference in a new issue