|
@@ -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));
|