aliyun-rtc-sdk 7.1.5 → 7.1.7
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 +1944 -1894
- package/dist/aliyun-rtc-sdk.umd.js +18 -15
- package/dist/plugins/audioProcessPlugin.d.ts +11 -1
- package/dist/plugins/audioProcessPlugin.js +98 -98
- package/dist/types/index.d.ts +11 -1
- package/package.json +2 -2
|
@@ -1186,6 +1186,8 @@ declare enum CmdType {
|
|
|
1186
1186
|
declare enum CodecType {
|
|
1187
1187
|
OPUS = "opus",
|
|
1188
1188
|
H264 = "H264",
|
|
1189
|
+
H265 = "H265",
|
|
1190
|
+
AV1 = "AV1",
|
|
1189
1191
|
UNKNOWN = ""
|
|
1190
1192
|
}
|
|
1191
1193
|
interface MediaTrackInfo {
|
|
@@ -2370,6 +2372,7 @@ declare class RtsManager extends EventEmitter$1<RtsManagerEventListener> {
|
|
|
2370
2372
|
private _rtsPeerConnectionType;
|
|
2371
2373
|
private connecting;
|
|
2372
2374
|
private connected;
|
|
2375
|
+
private rtsDisconnected;
|
|
2373
2376
|
private _pcTraceId;
|
|
2374
2377
|
private _localJoinTime;
|
|
2375
2378
|
private connectionResolve?;
|
|
@@ -2391,6 +2394,10 @@ declare class RtsManager extends EventEmitter$1<RtsManagerEventListener> {
|
|
|
2391
2394
|
get pcTraceId(): string;
|
|
2392
2395
|
set localJoinTime(time: number);
|
|
2393
2396
|
setEncodedInsertableStreams(enable: boolean): void;
|
|
2397
|
+
setReceiverPreferredVideoCodecH265(): void;
|
|
2398
|
+
setSenderPreferredVideoCodecH265(): void;
|
|
2399
|
+
supportVideoCodec(codec: CodecType): boolean | undefined;
|
|
2400
|
+
changeVideoCodec(codec: CodecType): void;
|
|
2394
2401
|
setAudioRedEnabled(enable: boolean): void;
|
|
2395
2402
|
clear(): void;
|
|
2396
2403
|
private startConnect;
|
|
@@ -2417,6 +2424,7 @@ declare class RtsManager extends EventEmitter$1<RtsManagerEventListener> {
|
|
|
2417
2424
|
* @returns {Omit<ISignalConfig | ISubConfigItem, 'url'>}
|
|
2418
2425
|
*/
|
|
2419
2426
|
private getSubConfig;
|
|
2427
|
+
private handleHTTPConfig;
|
|
2420
2428
|
private httpSubscribe;
|
|
2421
2429
|
private subscribeAdd;
|
|
2422
2430
|
subscribeDelete(subscribeOptions: RemoteSubscribeOptions): Promise<ISubDeleteResult | undefined>;
|
|
@@ -2428,7 +2436,7 @@ declare class RtsManager extends EventEmitter$1<RtsManagerEventListener> {
|
|
|
2428
2436
|
l1ip?: string;
|
|
2429
2437
|
}>;
|
|
2430
2438
|
private reportSubscribeLatency;
|
|
2431
|
-
subscribe(remoteSubscribeOptions: RemoteSubscribeOptions, reason: SubscribeReason, callId: string, remoteCallId: string, startTs: number
|
|
2439
|
+
subscribe(remoteSubscribeOptions: RemoteSubscribeOptions, reason: SubscribeReason, callId: string, remoteCallId: string, startTs: number): Promise<any>;
|
|
2432
2440
|
getSubscribeVideoStats(streamUrl: string, msid?: string): Promise<unknown>;
|
|
2433
2441
|
getSubscribeAudioStats(streamUrl: string, msid?: string): Promise<unknown>;
|
|
2434
2442
|
getStreamByMsid(config: any): LocalStream | RemoteStream;
|
|
@@ -2908,6 +2916,7 @@ declare class BizControl extends EventEmitter$1<BizControlListener> {
|
|
|
2908
2916
|
refreshAuthInfo(authInfo: AliRtcRefreshAuthInfo): void;
|
|
2909
2917
|
setEnableMediaExtensionMsg(enable: boolean): void;
|
|
2910
2918
|
setAudioRedEnabled(enable: boolean): void;
|
|
2919
|
+
setVideoCodec(codec: CodecType): void;
|
|
2911
2920
|
setParameter(parameter: string): void;
|
|
2912
2921
|
private setupAudioProcessingPluginIfNeeded;
|
|
2913
2922
|
getParameter(): string;
|
|
@@ -3774,6 +3783,7 @@ declare class AliRtcEngine extends EventEmitter$1<AliRtcEngineEventListener> {
|
|
|
3774
3783
|
*/
|
|
3775
3784
|
setAudioOnlyMode(audioOnly: boolean): void;
|
|
3776
3785
|
setAudioRedEnabled(audioRedEnabled: boolean): void;
|
|
3786
|
+
setVideoCodec(videoCodec: CodecType): void;
|
|
3777
3787
|
/**
|
|
3778
3788
|
* 设定鉴权信息过期事件定时器
|
|
3779
3789
|
* @param expireTimestamp 鉴权信息过期时间
|