提交 4d180b1a authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-7800 add canvas id arg to setVideoLayout

上级 f93668e3
...@@ -1308,11 +1308,15 @@ ...@@ -1308,11 +1308,15 @@
this.modCommand("vid-write-png", null, file); this.modCommand("vid-write-png", null, file);
}; };
$.verto.conf.prototype.setVideoLayout = function(layout) { $.verto.conf.prototype.setVideoLayout = function(layout, canvasID) {
if (!this.params.hasVid) { if (!this.params.hasVid) {
throw 'Conference has no video'; 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) { $.verto.conf.prototype.kick = function(memberID) {
......
This diff was suppressed by a .gitattributes entry.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论