trtc-sdk-v5 5.10.0 → 5.10.1-beta.2
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/assets/debug-dialog.js +1 -1
- package/index.d.ts +4 -3
- 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/package.json +1 -1
- package/plugins/video-effect/virtual-background/package.json +1 -1
- package/plugins/video-effect/watermark/package.json +1 -1
- package/plugins/voice-changer/package.json +1 -1
- package/trtc.esm.js +26 -26
- package/trtc.js +1 -1
package/index.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ import { Watermark, WatermarkOptions } from './plugins/video-effect/watermark';
|
|
|
5
5
|
import { Beauty, BeautyOptions, UpdateBeautyOptions } from './plugins/video-effect/beauty';
|
|
6
6
|
import { BasicBeauty, BasicBeautyOptions } from './plugins/video-effect/basic-beauty';
|
|
7
7
|
import { CrossRoom, StartCrossRoomOption, UpdateCrossRoomOption, StopCrossRoomOption } from './plugins/cross-room';
|
|
8
|
-
import {
|
|
8
|
+
import { EncryptionOptions } from './plugins/custom-encryption';
|
|
9
9
|
|
|
10
10
|
export { CDNStreamingOptions, DeviceDetectorOptions, VirtualBackgroundOptions, UpdateVirtualBackgroundOptions, WatermarkOptions, BeautyOptions, UpdateBeautyOptions, BasicBeautyOptions, StartCrossRoomOption, UpdateCrossRoomOption, StopCrossRoomOption };
|
|
11
|
-
type TRTCPlugin = typeof CrossRoom | typeof CDNStreaming | typeof DeviceDetector | typeof VirtualBackground | typeof Watermark | typeof Beauty | typeof BasicBeauty
|
|
11
|
+
type TRTCPlugin = typeof CrossRoom | typeof CDNStreaming | typeof DeviceDetector | typeof VirtualBackground | typeof Watermark | typeof Beauty | typeof BasicBeauty;
|
|
12
12
|
|
|
13
13
|
export declare type PluginStartOptionsMap = {
|
|
14
14
|
'AudioMixer': AudioMixerOptions;
|
|
@@ -324,7 +324,7 @@ export declare interface LocalVideoConfig {
|
|
|
324
324
|
small?: keyof typeof videoProfileMap | VideoProfile | boolean;
|
|
325
325
|
qosPreference?: typeof TRTCType.QOS_PREFERENCE_SMOOTH | typeof TRTCType.QOS_PREFERENCE_CLEAR;
|
|
326
326
|
videoTrack?: MediaStreamTrack;
|
|
327
|
-
|
|
327
|
+
avoidCrop?: boolean;
|
|
328
328
|
};
|
|
329
329
|
}
|
|
330
330
|
export interface TurnServerOptions {
|
|
@@ -359,6 +359,7 @@ export declare interface EnterRoomConfig {
|
|
|
359
359
|
scene?: Scene;
|
|
360
360
|
userDefineRecordId?: string;
|
|
361
361
|
playoutDelay?: PlayoutDelay;
|
|
362
|
+
audioFrameSampleRate?: number;
|
|
362
363
|
}
|
|
363
364
|
|
|
364
365
|
export interface PlayoutDelay {
|
package/package.json
CHANGED