mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +00:00
FS-7800 add canvas id arg to setVideoLayout
This commit is contained in:
1 parent
f93668e3fd
commit
4d180b1aa1
2 files changed
+8
-4
No files matched your search
@@ -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