trtc-sdk-v5 5.9.3-beta.1 → 5.9.3-beta.3
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 +4 -1
- 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/device-detector.esm.js +8 -8
- package/plugins/device-detector/device-detector.umd.js +2 -2
- 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/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 +2 -2
- package/trtc.js +1 -1
package/index.d.ts
CHANGED
|
@@ -871,7 +871,7 @@ export declare const TRTCEvent: {
|
|
|
871
871
|
*/
|
|
872
872
|
readonly AUDIO_VOLUME: 'audio-volume';
|
|
873
873
|
/**
|
|
874
|
-
* @since v5.
|
|
874
|
+
* @since v5.10.0
|
|
875
875
|
* @description Microphone pcm event, the pcm data can be used to do ASR.<br>
|
|
876
876
|
* **Note**
|
|
877
877
|
* - When start listen this event, will get 40ms pcm(float32) from microphone every time.
|
|
@@ -1159,6 +1159,9 @@ export declare interface TRTCEventTypes {
|
|
|
1159
1159
|
volume: number;
|
|
1160
1160
|
}[];
|
|
1161
1161
|
}];
|
|
1162
|
+
[TRTCEvent.AUDIO_FRAME]: [{
|
|
1163
|
+
data: Float32Array;
|
|
1164
|
+
}];
|
|
1162
1165
|
[TRTCEvent.NETWORK_QUALITY]: [NetworkQuality];
|
|
1163
1166
|
[TRTCEvent.CONNECTION_STATE_CHANGED]: [{
|
|
1164
1167
|
prevState: ConnectionState;
|
package/package.json
CHANGED