trtc-sdk-v5 5.9.3-beta.5 → 5.10.0-beta.1
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 +8 -0
- 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 +25 -25
- package/trtc.js +1 -1
package/index.d.ts
CHANGED
|
@@ -324,6 +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
|
+
avoidCrop?: boolean;
|
|
327
328
|
};
|
|
328
329
|
}
|
|
329
330
|
export interface TurnServerOptions {
|
|
@@ -357,7 +358,14 @@ export declare interface EnterRoomConfig {
|
|
|
357
358
|
proxy?: ProxyServer | string;
|
|
358
359
|
scene?: Scene;
|
|
359
360
|
userDefineRecordId?: string;
|
|
361
|
+
playoutDelay?: PlayoutDelay;
|
|
360
362
|
}
|
|
363
|
+
|
|
364
|
+
export interface PlayoutDelay {
|
|
365
|
+
min: number;
|
|
366
|
+
max: number;
|
|
367
|
+
}
|
|
368
|
+
|
|
361
369
|
export declare interface ScreenShareConfig {
|
|
362
370
|
view?: string | HTMLElement | HTMLElement[] | null;
|
|
363
371
|
publish?: boolean;
|
package/package.json
CHANGED