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

+ 3 - 3
app/controller/room.js

@@ -45,7 +45,7 @@ class RoomController extends Controller {
     httpProfile.endpoint = 'trtc.tencentcloudapi.com';
     const clientProfile = new ClientProfile();
     clientProfile.httpProfile = httpProfile;
-    const client = new TrtcClient(cred, 'ap-shanghai', clientProfile);
+    const client = new TrtcClient(cred, 'ap-beijing', clientProfile);
 
     const req = new models.StartMCUMixTranscodeRequest();
 
@@ -103,7 +103,7 @@ class RoomController extends Controller {
     httpProfile.endpoint = 'trtc.tencentcloudapi.com';
     const clientProfile = new ClientProfile();
     clientProfile.httpProfile = httpProfile;
-    const client = new TrtcClient(cred, 'ap-shanghai', clientProfile);
+    const client = new TrtcClient(cred, 'ap-beijing', clientProfile);
     const req = new models.StopMCUMixTranscodeRequest();
     const params = {};
     params.SdkAppId = this.app.config.sdkappid;
@@ -137,7 +137,7 @@ class RoomController extends Controller {
     httpProfile.endpoint = 'vod.tencentcloudapi.com';
     const clientProfile = new ClientProfile();
     clientProfile.httpProfile = httpProfile;
-    const client = new VodClient(cred, 'ap-shanghai', clientProfile);
+    const client = new VodClient(cred, 'ap-beijing', clientProfile);
     const req = new models.DeleteMediaRequest();
     const params = { FileId: this.ctx.query.fileid };
     req.from_json_string(JSON.stringify(params));