trtc-sdk-v5 5.9.3-beta.5 → 5.9.3-beta.6

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
@@ -357,7 +357,19 @@ export declare interface EnterRoomConfig {
357
357
  proxy?: ProxyServer | string;
358
358
  scene?: Scene;
359
359
  userDefineRecordId?: string;
360
+ playoutDelay?: PlayoutDelay;
360
361
  }
362
+
363
+ export interface PlayoutDelay {
364
+ min: number;
365
+ max: number;
366
+ }
367
+
368
+ export interface JitterBufferDelay {
369
+ main: number;
370
+ aux: number;
371
+ }
372
+
361
373
  export declare interface ScreenShareConfig {
362
374
  view?: string | HTMLElement | HTMLElement[] | null;
363
375
  publish?: boolean;
@@ -869,20 +881,6 @@ export declare const TRTCEvent: {
869
881
  * trtc.enableAudioVolumeEvaluation(1000);
870
882
  */
871
883
  readonly AUDIO_VOLUME: 'audio-volume';
872
- /**
873
- * @since v5.8.3
874
- * @description Microphone pcm event, the pcm data can be used to do ASR.<br>
875
- * **Note**
876
- * - When start listen this event, will get 40ms pcm(float32) from microphone every time.
877
- * @default 'audio-frame'
878
- * @memberof module:EVENT
879
- * @example
880
- * trtc.on(TRTC.EVENT.AUDIO_FRAME, event => {
881
- * console.log(event.data)
882
- * });
883
- *
884
- */
885
- readonly AUDIO_FRAME: 'audio-frame';
886
884
  /**
887
885
  * @description Network quality statistics data event, which starts to be counted after entering the room and triggers every two seconds. This data reflects the network quality of your local uplink and downlink.
888
886
  * - The uplink network quality (uplinkNetworkQuality) refers to the network situation of uploading local streams (uplink connection network quality from SDK to Tencent Cloud)
@@ -1158,9 +1156,6 @@ export declare interface TRTCEventTypes {
1158
1156
  volume: number;
1159
1157
  }[];
1160
1158
  }];
1161
- [TRTCEvent.AUDIO_FRAME]: [{
1162
- data: Float32Array;
1163
- }];
1164
1159
  [TRTCEvent.NETWORK_QUALITY]: [NetworkQuality];
1165
1160
  [TRTCEvent.CONNECTION_STATE_CHANGED]: [{
1166
1161
  prevState: ConnectionState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trtc-sdk-v5",
3
- "version": "5.9.3-beta.5",
3
+ "version": "5.9.3-beta.6",
4
4
  "description": "Tencent Cloud RTC SDK for Web",
5
5
  "main": "trtc.js",
6
6
  "types": "index.d.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/cdn-streaming",
3
- "version": "5.9.3-beta.5",
3
+ "version": "5.9.3-beta.6",
4
4
  "description": "TRTC Web SDK 5.x CDN streaming plugin",
5
5
  "main": "./cdn-streaming.esm.js",
6
6
  "module": "./cdn-streaming.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/cross-room",
3
- "version": "5.9.3-beta.5",
3
+ "version": "5.9.3-beta.6",
4
4
  "description": "TRTC Web SDK 5.x Cross Room plugin",
5
5
  "main": "./cross-room.esm.js",
6
6
  "module": "./cross-room.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/custom-encryption",
3
- "version": "5.9.3-beta.5",
3
+ "version": "5.9.3-beta.6",
4
4
  "main": "./custom-encryption.esm.js",
5
5
  "module": "./custom-encryption.esm.js",
6
6
  "types": "./custom-encryption.esm.d.ts"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/device-detector",
3
- "version": "5.9.3-beta.5",
3
+ "version": "5.9.3-beta.6",
4
4
  "description": "TRTC Web SDK 5.x device detector plugin",
5
5
  "main": "./device-detector.esm.js",
6
6
  "module": "./device-detector.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/video-decoder",
3
- "version": "5.9.3-beta.5",
3
+ "version": "5.9.3-beta.6",
4
4
  "description": "Video decoder plugin for TRTC",
5
5
  "main": "./video-decoder.esm.js",
6
6
  "module": "./video-decoder.esm.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/basic-beauty",
3
- "version": "5.9.3-beta.5",
3
+ "version": "5.9.3-beta.6",
4
4
  "description": "TRTC Web SDK 5.x basic-beauty plugin",
5
5
  "main": "./basic-beauty.esm.js",
6
6
  "module": "./basic-beauty.esm.js",