@byteplus/rtc 4.61.9 → 4.61.11
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/extension-ainr/index.d.ts +1 -1
- package/extension-ainr/index.js +4 -5
- package/extension-ainr/index.umd.js +3 -4
- package/extension-beauty/index.d.ts +48 -7
- package/extension-beauty/index.js +4 -4
- package/extension-beauty/index.umd.js +3 -3
- package/index.d.ts +5 -20
- package/index.esm.min.js +3 -3
- package/index.min.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -71,6 +71,9 @@ declare const Config: {
|
|
|
71
71
|
STATS_LOOP_INTERVAL: number;
|
|
72
72
|
H264_HW_ENCODER: boolean;
|
|
73
73
|
GPU_URL: string;
|
|
74
|
+
TURN_ON_JOIN_ROOM_FAILURE_CALLBACK: boolean;
|
|
75
|
+
AREA_CODE: string;
|
|
76
|
+
ENABLE_FALLBACK_HANDLER: boolean;
|
|
74
77
|
};
|
|
75
78
|
declare const _default: VERTC;
|
|
76
79
|
declare enum AudioMixingError {
|
|
@@ -4404,10 +4407,6 @@ export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
|
|
|
4404
4407
|
* @order 12
|
|
4405
4408
|
*/
|
|
4406
4409
|
setAudioSelectionConfig: (audioSelectionPriority: AudioSelectionPriority) => Promise<void>;
|
|
4407
|
-
getRemoteVideoStats: () => Record<string, RemoteUserVideoStats[]>;
|
|
4408
|
-
getRemoteAudioStats: () => Record<string, RemoteUserAudioStats[]>;
|
|
4409
|
-
getLocalVideoStats: () => LocalUserVideoStats;
|
|
4410
|
-
getLocalAudioStats: () => LocalUserAudioStats;
|
|
4411
4410
|
}
|
|
4412
4411
|
|
|
4413
4412
|
/**
|
|
@@ -4901,14 +4900,6 @@ export interface LocalStreamStats {
|
|
|
4901
4900
|
*/
|
|
4902
4901
|
rxQuality?: number;
|
|
4903
4902
|
}
|
|
4904
|
-
export interface LocalUserAudioStats {
|
|
4905
|
-
mainAudioStats: LocalAudioStats;
|
|
4906
|
-
screenAudioStats: LocalAudioStats;
|
|
4907
|
-
}
|
|
4908
|
-
export interface LocalUserVideoStats {
|
|
4909
|
-
mainVideoStats: LocalVideoStats;
|
|
4910
|
-
screenVideoStats: LocalVideoStats;
|
|
4911
|
-
}
|
|
4912
4903
|
|
|
4913
4904
|
/**
|
|
4914
4905
|
* Local video states
|
|
@@ -5450,14 +5441,6 @@ export interface RemoteStreamSwitch {
|
|
|
5450
5441
|
*/
|
|
5451
5442
|
reason: FallbackOrRecoverReason;
|
|
5452
5443
|
}
|
|
5453
|
-
export interface RemoteUserAudioStats {
|
|
5454
|
-
mainAudioStats: RemoteAudioStats;
|
|
5455
|
-
screenAudioStats: RemoteAudioStats;
|
|
5456
|
-
}
|
|
5457
|
-
export interface RemoteUserVideoStats {
|
|
5458
|
-
mainVideoStats: RemoteVideoStats;
|
|
5459
|
-
screenVideoStats: RemoteVideoStats;
|
|
5460
|
-
}
|
|
5461
5444
|
|
|
5462
5445
|
/**
|
|
5463
5446
|
* @brief Configuration of remote video stream
|
|
@@ -5729,6 +5712,8 @@ export interface SetParamInterface {
|
|
|
5729
5712
|
STATS_LOOP_INTERVAL: number;
|
|
5730
5713
|
H264_HW_ENCODER: boolean;
|
|
5731
5714
|
GPU_URL: string;
|
|
5715
|
+
AREA_CODE: string;
|
|
5716
|
+
ENABLE_FALLBACK_HANDLER: boolean;
|
|
5732
5717
|
}
|
|
5733
5718
|
|
|
5734
5719
|
/**
|