aliyun-rtc-sdk 6.14.2-beta.1 → 6.14.2-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/dist/aliyun-rtc-sdk.es.js +1538 -1548
- package/dist/aliyun-rtc-sdk.umd.js +15 -15
- package/dist/plugins/beautyPlugin.d.ts +1 -1
- package/dist/types/index.d.ts +8 -6
- package/package.json +1 -1
|
@@ -116,7 +116,7 @@ declare class AliRtcLocalStreamInfo extends EventEmitter<AliRtcLocalStreamListen
|
|
|
116
116
|
* @param profileName
|
|
117
117
|
* @param profileValue
|
|
118
118
|
*/
|
|
119
|
-
updateVideoProfile(profileName?: string, profileValue?: IProfile): Promise<void>;
|
|
119
|
+
updateVideoProfile(profileName?: string, profileValue?: Partial<IProfile>): Promise<void>;
|
|
120
120
|
get videoProfile(): string | undefined;
|
|
121
121
|
setVideoContentHint(hint?: string): void;
|
|
122
122
|
/**
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1789,7 +1789,7 @@ export declare class AliRtcLocalStreamInfo extends default_2<AliRtcLocalStreamLi
|
|
|
1789
1789
|
* @param profileName
|
|
1790
1790
|
* @param profileValue
|
|
1791
1791
|
*/
|
|
1792
|
-
updateVideoProfile(profileName?: string, profileValue?: IProfile): Promise<void>;
|
|
1792
|
+
updateVideoProfile(profileName?: string, profileValue?: Partial<IProfile>): Promise<void>;
|
|
1793
1793
|
get videoProfile(): string | undefined;
|
|
1794
1794
|
setVideoContentHint(hint?: string): void;
|
|
1795
1795
|
/**
|
|
@@ -2517,11 +2517,13 @@ declare interface LeaveInfo {
|
|
|
2517
2517
|
}
|
|
2518
2518
|
|
|
2519
2519
|
declare class LocalProfileManager {
|
|
2520
|
+
private defaultProfile;
|
|
2520
2521
|
profile?: string;
|
|
2521
2522
|
profileMap: Map<string, IProfile>;
|
|
2522
2523
|
audioProfile?: AudioProfileKey;
|
|
2523
2524
|
contentHint?: string;
|
|
2524
|
-
|
|
2525
|
+
constructor(defaultProfile?: IProfile);
|
|
2526
|
+
updateProfile(profileKey: string, profileValue?: Partial<IProfile>): void;
|
|
2525
2527
|
get videoProfile(): string | undefined;
|
|
2526
2528
|
updateAudioProfile(profileKey: AudioProfileKey): void;
|
|
2527
2529
|
setContentHint(videoTrack: MediaStreamTrack | undefined, contentHint?: string): void;
|
|
@@ -2607,7 +2609,7 @@ declare class LocalStreamManager extends default_2<LocalStreamManagerListener> {
|
|
|
2607
2609
|
* @param {string} profileKey
|
|
2608
2610
|
* @param {IProfile} profile
|
|
2609
2611
|
*/
|
|
2610
|
-
setVideoProfile(profileKey?: string, profile?: IProfile): Promise<void>;
|
|
2612
|
+
setVideoProfile(profileKey?: string, profile?: Partial<IProfile>): Promise<void>;
|
|
2611
2613
|
/**
|
|
2612
2614
|
* 设置摄像头流 content hint
|
|
2613
2615
|
* @param {string} hint
|
|
@@ -2625,7 +2627,7 @@ declare class LocalStreamManager extends default_2<LocalStreamManagerListener> {
|
|
|
2625
2627
|
* @param {string} profileKey
|
|
2626
2628
|
* @param {IProfile} profile
|
|
2627
2629
|
*/
|
|
2628
|
-
setScreenProfile(profileKey?: string, profile?: IProfile): Promise<void>;
|
|
2630
|
+
setScreenProfile(profileKey?: string, profile?: Partial<IProfile>): Promise<void>;
|
|
2629
2631
|
setScreenContentHint(hint?: string): void;
|
|
2630
2632
|
/**
|
|
2631
2633
|
* 设置 cameraVideoConstraints
|
|
@@ -2699,11 +2701,11 @@ declare class LocalUser extends User {
|
|
|
2699
2701
|
setPublishLocalVideoStreamEnabled(enable: boolean): void;
|
|
2700
2702
|
setPublishLocalScreenStreamEnabled(enable: boolean): void;
|
|
2701
2703
|
initInfo(authInfo: AliRtcAuthInfo, pushStreamUrl: string): void;
|
|
2702
|
-
setVideoProfile(
|
|
2704
|
+
setVideoProfile(profile?: Partial<IProfile>): Promise<void>;
|
|
2703
2705
|
setVideoContentHint(hint: string): void;
|
|
2704
2706
|
setScreenContentHint(hint: string): void;
|
|
2705
2707
|
setAudioProfile(profileKey: AudioProfileKey): Promise<void>;
|
|
2706
|
-
setScreenProfile(
|
|
2708
|
+
setScreenProfile(profile?: Partial<IProfile>): Promise<void>;
|
|
2707
2709
|
setCameraDirection(direction: AliRtcCameraDirection): void;
|
|
2708
2710
|
setCameraDeviceId(deviceId: string): void;
|
|
2709
2711
|
muteLocalCamera(mute: boolean): void;
|