liuyu 4 年之前
父节点
当前提交
f700b31292
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/room.js

+ 1 - 1
app/controller/room.js

@@ -71,7 +71,7 @@ class RoomController extends Controller {
     params.EncodeParams = EncodeParams_;
     const LayoutParams_ = {};
     LayoutParams_.Template = 2;
-    LayoutParams_.MainVideoUserId = 'main_pc';
+    LayoutParams_.MainVideoUserId = this.ctx.query.shareid;
     LayoutParams_.MainVideoStreamType = 1;
     params.LayoutParams = LayoutParams_;
     console.log(params);