aliyun-rtc-sdk 6.11.6 → 6.11.7-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/dist/aliyun-rtc-sdk.js +18 -18
- package/dist/types/index.d.ts +15 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -950,6 +950,8 @@ export declare class AliRtcEngine extends default_2<AliRtcEngineEventListener> {
|
|
|
950
950
|
* - 与虚拟背景为替换关系,如开启背景虚化开关后再次开启虚拟背景,则只有虚拟背景效果;
|
|
951
951
|
*/
|
|
952
952
|
enableBackgroundBlur(enable: boolean): void;
|
|
953
|
+
setParameter(parameter: string): void;
|
|
954
|
+
getParameter(): string;
|
|
953
955
|
}
|
|
954
956
|
|
|
955
957
|
declare interface AliRtcEngineConfig {
|
|
@@ -2133,6 +2135,7 @@ declare class BizControl extends default_2<BizControlListener> {
|
|
|
2133
2135
|
private playoutVolume;
|
|
2134
2136
|
private audioVolumeIndicationInterval;
|
|
2135
2137
|
private indicationTimer;
|
|
2138
|
+
private parameter;
|
|
2136
2139
|
constructor(config: BizControlConfig);
|
|
2137
2140
|
private addSignalingManagerListener;
|
|
2138
2141
|
isAutoSubAudio(): boolean;
|
|
@@ -2251,6 +2254,8 @@ declare class BizControl extends default_2<BizControlListener> {
|
|
|
2251
2254
|
refreshAuthInfo(authInfo: AliRtcRefreshAuthInfo): void;
|
|
2252
2255
|
setEnableMediaExtensionMsg(enable: boolean): void;
|
|
2253
2256
|
setAudioRedEnabled(enable: boolean): void;
|
|
2257
|
+
setParameter(parameter: string): void;
|
|
2258
|
+
getParameter(): string;
|
|
2254
2259
|
}
|
|
2255
2260
|
|
|
2256
2261
|
declare interface BizControlConfig {
|
|
@@ -2534,6 +2539,7 @@ declare class LocalUser extends User {
|
|
|
2534
2539
|
private videoPubState;
|
|
2535
2540
|
private videoSmallPubState;
|
|
2536
2541
|
private screenPubState;
|
|
2542
|
+
private parameter;
|
|
2537
2543
|
constructor(config: LocalUserConfig);
|
|
2538
2544
|
get joined(): boolean;
|
|
2539
2545
|
get isPublishing(): boolean;
|
|
@@ -2707,7 +2713,7 @@ declare class LocalUser extends User {
|
|
|
2707
2713
|
getStats(): Promise<{
|
|
2708
2714
|
audio: AliRtcLocalAudioStats[];
|
|
2709
2715
|
video: AliRtcLocalVideoStats[];
|
|
2710
|
-
|
|
2716
|
+
candidate: any;
|
|
2711
2717
|
}>;
|
|
2712
2718
|
}
|
|
2713
2719
|
|
|
@@ -2718,6 +2724,9 @@ declare interface LocalUserConfig {
|
|
|
2718
2724
|
signalingManager: SignalingManager;
|
|
2719
2725
|
pluginManager: PluginManager;
|
|
2720
2726
|
audioVolumeIndicationInterval: number;
|
|
2727
|
+
parameter: {
|
|
2728
|
+
[key: string]: any;
|
|
2729
|
+
};
|
|
2721
2730
|
}
|
|
2722
2731
|
|
|
2723
2732
|
/**
|
|
@@ -3038,6 +3047,7 @@ declare class RemoteUser extends User {
|
|
|
3038
3047
|
private defaultVideoStreamType;
|
|
3039
3048
|
private audioMuted;
|
|
3040
3049
|
private playoutVolume;
|
|
3050
|
+
private playoutGainNode?;
|
|
3041
3051
|
private audioSubState;
|
|
3042
3052
|
private videoSubState;
|
|
3043
3053
|
private videoLargeSubState;
|
|
@@ -3045,6 +3055,7 @@ declare class RemoteUser extends User {
|
|
|
3045
3055
|
private screenSubState;
|
|
3046
3056
|
streamInfo: RemoteStreamInfo;
|
|
3047
3057
|
streamUrl: string;
|
|
3058
|
+
private parameter;
|
|
3048
3059
|
private monitorTimerId?;
|
|
3049
3060
|
private monitorDataCache;
|
|
3050
3061
|
private trackTraceIdMap;
|
|
@@ -3209,6 +3220,9 @@ declare interface RemoteUserConfig {
|
|
|
3209
3220
|
localUser?: LocalUser;
|
|
3210
3221
|
audioVolumeIndicationInterval: number;
|
|
3211
3222
|
playoutVolume: number;
|
|
3223
|
+
parameter: {
|
|
3224
|
+
[key: string]: any;
|
|
3225
|
+
};
|
|
3212
3226
|
}
|
|
3213
3227
|
|
|
3214
3228
|
declare interface RemoteUserMap {
|