aliyun-rtc-sdk 7.0.2 → 7.1.0
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 +2148 -2107
- package/dist/aliyun-rtc-sdk.umd.js +13 -13
- package/dist/plugins/audioProcessPlugin.d.ts +8 -1
- package/dist/plugins/audioProcessPlugin.js +83 -83
- package/dist/types/index.d.ts +8 -1
- package/package.json +2 -2
|
@@ -1438,6 +1438,7 @@ interface PackageAdaptInfo {
|
|
|
1438
1438
|
version: string;
|
|
1439
1439
|
}
|
|
1440
1440
|
interface JoinResult {
|
|
1441
|
+
l1ip?: string;
|
|
1441
1442
|
pushstreamurl: string;
|
|
1442
1443
|
tid: string;
|
|
1443
1444
|
users: JoinInfo[];
|
|
@@ -2971,6 +2972,7 @@ declare class RtsManager extends EventEmitter$1<RtsManagerEventListener> {
|
|
|
2971
2972
|
private dcConnectingPromise?;
|
|
2972
2973
|
private _publishingTracks;
|
|
2973
2974
|
private parameter;
|
|
2975
|
+
preferredPubL1Ip?: string;
|
|
2974
2976
|
constructor(localStreamManager: LocalStreamManager, slsReporter: SLSReporter, parameter: Parameter);
|
|
2975
2977
|
private addRTSListener;
|
|
2976
2978
|
/**
|
|
@@ -3072,6 +3074,7 @@ declare class LocalUser extends User {
|
|
|
3072
3074
|
protected streamTracks?: TrackInfo[];
|
|
3073
3075
|
protected publishId: string;
|
|
3074
3076
|
protected signalingManager: SignalingManager;
|
|
3077
|
+
private shouldPublish;
|
|
3075
3078
|
traceId: string;
|
|
3076
3079
|
private monitorTimerId?;
|
|
3077
3080
|
private monitorDataCache;
|
|
@@ -3088,6 +3091,7 @@ declare class LocalUser extends User {
|
|
|
3088
3091
|
constructor(config: LocalUserConfig);
|
|
3089
3092
|
get url(): string;
|
|
3090
3093
|
set url(value: string);
|
|
3094
|
+
set preferredPubL1Ip(value: string);
|
|
3091
3095
|
get joined(): boolean;
|
|
3092
3096
|
get isPublishing(): boolean;
|
|
3093
3097
|
get publishStreams(): PublishStreamInfo;
|
|
@@ -3506,6 +3510,8 @@ declare class AliRtcLiveTranscoding {
|
|
|
3506
3510
|
}
|
|
3507
3511
|
|
|
3508
3512
|
interface AliRtcScreenShareConfiguration {
|
|
3513
|
+
width?: number;
|
|
3514
|
+
height?: number;
|
|
3509
3515
|
frameRate?: number;
|
|
3510
3516
|
bitrate?: number;
|
|
3511
3517
|
}
|
|
@@ -3725,7 +3731,8 @@ declare class AliRtcEngine extends EventEmitter$1<AliRtcEngineEventListener> {
|
|
|
3725
3731
|
* @note 该接口只可以在加入频道之前调用,会议中不可以重新设置,离开频道后可以重新设置
|
|
3726
3732
|
*/
|
|
3727
3733
|
setChannelProfile(channelProfile: AliRtcSdkChannelProfile): void;
|
|
3728
|
-
private
|
|
3734
|
+
private startDefaultDevices;
|
|
3735
|
+
private startPublish;
|
|
3729
3736
|
/**
|
|
3730
3737
|
* 设置用户角色
|
|
3731
3738
|
* @param {AliRtcSdkClientRole} clientRole 用户角色类型,默认值为 {@link AliRtcSdkClientRole.AliRtcSdkLive}(观众角色)
|