aliyun-rtc-sdk 6.14.4-beta.0 → 6.14.4-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/dist/aliyun-rtc-sdk.es.js +1100 -1087
- package/dist/aliyun-rtc-sdk.umd.js +15 -15
- package/dist/types/index.d.ts +6 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ declare interface AliEngineCameraCapturerConfiguration {
|
|
|
13
13
|
width?: number;
|
|
14
14
|
height?: number;
|
|
15
15
|
frameRate?: number;
|
|
16
|
+
maxSendFrameRate?: number;
|
|
16
17
|
bitrate?: number;
|
|
17
18
|
cameraDirection?: AliRtcCameraDirection;
|
|
18
19
|
deviceId?: string;
|
|
@@ -2701,7 +2702,7 @@ declare class LocalUser extends User {
|
|
|
2701
2702
|
setPublishLocalVideoStreamEnabled(enable: boolean): void;
|
|
2702
2703
|
setPublishLocalScreenStreamEnabled(enable: boolean): void;
|
|
2703
2704
|
initInfo(authInfo: AliRtcAuthInfo, pushStreamUrl: string): void;
|
|
2704
|
-
setVideoProfile(profile?:
|
|
2705
|
+
setVideoProfile(profile?: VideoProfileWithSendFramerate): Promise<void>;
|
|
2705
2706
|
setVideoContentHint(hint: string): void;
|
|
2706
2707
|
setScreenContentHint(hint: string): void;
|
|
2707
2708
|
setAudioProfile(profileKey: AudioProfileKey): Promise<void>;
|
|
@@ -4451,6 +4452,10 @@ declare type ValidStatusMap = {
|
|
|
4451
4452
|
[ConnectionLatencyStage.HANDLE_SUB_TASK]: ConnectionLatencyStatus.START | ConnectionLatencyStatus.END;
|
|
4452
4453
|
};
|
|
4453
4454
|
|
|
4455
|
+
declare type VideoProfileWithSendFramerate = Partial<IProfile & {
|
|
4456
|
+
maxSendFrameRate: number;
|
|
4457
|
+
}>;
|
|
4458
|
+
|
|
4454
4459
|
declare interface VideoScaler {
|
|
4455
4460
|
getVideoTrack: () => MediaStreamTrack;
|
|
4456
4461
|
updateOptions: (options: VideoScalerOptions) => void;
|