trtc-sdk-v5 5.4.1-beta.2 → 5.4.1-beta.20

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/index.d.ts CHANGED
@@ -21,9 +21,6 @@
21
21
  videoTrack?: MediaStreamTrack;
22
22
  };
23
23
  }
24
- declare interface UpdateLocalVideoConfig extends Partial<LocalVideoConfig> {
25
- mute?: boolean;
26
- }
27
24
  declare interface ProxyServer {
28
25
  websocketProxy?: string;
29
26
  loggerProxy?: string;
@@ -1209,7 +1206,7 @@
1209
1206
  * await trtc.updateLocalVideo({ publish:false });
1210
1207
  * @memberof TRTC
1211
1208
  */
1212
- updateLocalVideo(config: UpdateLocalVideoConfig): Promise<void>;
1209
+ updateLocalVideo(config: LocalVideoConfig): Promise<void>;
1213
1210
  /**
1214
1211
  * Stop capturing, previewing, and publishing the local camera.
1215
1212
  * - If you only want to stop publishing video but keep the local camera preview, you can use the {@link TRTC#updateLocalVideo updateLocalVideo({ publish:false })} method.<br>
@@ -1565,6 +1562,7 @@
1565
1562
  * @param {TRTC.TYPE.STREAM_TYPE_MAIN|TRTC.TYPE.STREAM_TYPE_SUB} config.streamType
1566
1563
  * - {@link module:TYPE.STREAM_TYPE_MAIN TRTC.TYPE.STREAM_TYPE_MAIN}: Main stream
1567
1564
  * - {@link module:TYPE.STREAM_TYPE_SUB TRTC.TYPE.STREAM_TYPE_SUB}: Sub stream
1565
+ * @since 5.4.0
1568
1566
  * @example
1569
1567
  * // get self main stream video frame
1570
1568
  * trtc.getVideoSnapshot()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trtc-sdk-v5",
3
- "version": "5.4.1-beta.2",
3
+ "version": "5.4.1-beta.20",
4
4
  "description": "Tencent Cloud RTC SDK for Web",
5
5
  "main": "trtc.js",
6
6
  "types": "index.d.ts",