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 +12 -17
- package/package.json +1 -1
- package/plugins/cdn-streaming/package.json +1 -1
- package/plugins/cross-room/package.json +1 -1
- package/plugins/custom-encryption/package.json +1 -1
- package/plugins/device-detector/package.json +1 -1
- package/plugins/video-decoder/package.json +1 -1
- package/plugins/video-effect/basic-beauty/package.json +1 -1
- package/plugins/video-effect/beauty/beauty.esm.js +1 -1
- package/plugins/video-effect/beauty/beauty.umd.js +1 -1
- package/plugins/video-effect/beauty/package.json +1 -1
- package/plugins/video-effect/virtual-background/package.json +1 -1
- package/plugins/video-effect/virtual-background/virtual-background.esm.js +1 -1
- package/plugins/video-effect/virtual-background/virtual-background.umd.js +1 -1
- package/plugins/video-effect/watermark/package.json +1 -1
- package/plugins/voice-changer/package.json +1 -1
- package/plugins/voice-changer/voice-changer.esm.js +1 -1
- package/plugins/voice-changer/voice-changer.umd.js +1 -1
- package/trtc.esm.js +23 -23
- package/trtc.js +1 -1
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