tencentcloud-sdk-nodejs-trtc 4.1.285 → 4.1.286

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-trtc",
3
- "version": "4.1.285",
3
+ "version": "4.1.286",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -762,7 +762,7 @@ export interface CreateLiveStreamModerationRequest {
762
762
  /**
763
763
  * <p>业务自定义唯一标识,原样透传到回调</p><p>入参限制:长度限制60字符</p>
764
764
  */
765
- DataId: string;
765
+ DataId?: string;
766
766
  /**
767
767
  * <p>额外信息透传结构体(房间/主播/业务自定义),原样回带到回调</p>
768
768
  */
@@ -1461,6 +1461,39 @@ export interface DeleteCloudModerationResponse {
1461
1461
  */
1462
1462
  RequestId?: string;
1463
1463
  }
1464
+ /**
1465
+ * 声网拉流参数
1466
+ */
1467
+ export interface AgoraParam {
1468
+ /**
1469
+ * <p>声网提供的应用标识</p>
1470
+ */
1471
+ AppId?: string;
1472
+ /**
1473
+ * <p>声网提供的频道名</p>
1474
+ */
1475
+ Channel?: string;
1476
+ /**
1477
+ * <p>声网录制的频道模式, 可选值如下:(默认值为0) 0: 通信(默认),即常见的 1 对 1 单聊或群聊, 频道内任何用户可以自由说话; 1: 直播,有两种用户角色: 主播和观众。</p><p>枚举值:</p><ul><li>0:: 通信(默认)</li><li>1: 直播</li></ul>
1478
+ */
1479
+ ChannelProfile?: number;
1480
+ /**
1481
+ * <p>绑定频道生成的临时Token</p>
1482
+ */
1483
+ Token?: string;
1484
+ /**
1485
+ * <p>用户ID</p>
1486
+ */
1487
+ Uid?: number;
1488
+ /**
1489
+ * <p>信任用户的列表</p>
1490
+ */
1491
+ TrustedUserIdList?: Array<number | bigint>;
1492
+ /**
1493
+ * <p>非信任用户的列表</p>
1494
+ */
1495
+ UntrustedUserIdList?: Array<number | bigint>;
1496
+ }
1464
1497
  /**
1465
1498
  * DescribeRelayUsage请求参数结构体
1466
1499
  */
@@ -3338,11 +3371,15 @@ export interface Input {
3338
3371
  /**
3339
3372
  * <p>直播拉流地址</p><p>入参限制:字符长度小于2048</p>
3340
3373
  */
3341
- Url: string;
3374
+ Url?: string;
3342
3375
  /**
3343
3376
  * <p>显式协议</p><p>枚举值:</p><ul><li>rtmp: rtmp协议</li></ul>
3344
3377
  */
3345
3378
  Format?: string;
3379
+ /**
3380
+ * <p>声网拉流进房参数</p>
3381
+ */
3382
+ AgoraParam?: AgoraParam;
3346
3383
  }
3347
3384
  /**
3348
3385
  * 音频编码参数。