mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
FS-7800 add canvas id arg to setVideoLayout
This commit is contained in:
@@ -1308,11 +1308,15 @@
|
||||
this.modCommand("vid-write-png", null, file);
|
||||
};
|
||||
|
||||
$.verto.conf.prototype.setVideoLayout = function(layout) {
|
||||
$.verto.conf.prototype.setVideoLayout = function(layout, canvasID) {
|
||||
if (!this.params.hasVid) {
|
||||
throw 'Conference has no video';
|
||||
}
|
||||
this.modCommand("vid-layout", null, layout);
|
||||
if (canvasID) {
|
||||
this.modCommand("vid-layout", null, [layout, canvasID]);
|
||||
} else {
|
||||
this.modCommand("vid-layout", null, layout);
|
||||
}
|
||||
};
|
||||
|
||||
$.verto.conf.prototype.kick = function(memberID) {
|
||||
|
Reference in New Issue
Block a user