aliyun-rtc-sdk 6.14.1-beta.0 → 6.14.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.es.js +2693 -2658
- package/dist/aliyun-rtc-sdk.umd.js +16 -16
- package/dist/types/index.d.ts +8 -0
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -2755,6 +2755,8 @@ declare class LocalUser extends User {
|
|
|
2755
2755
|
private reportAudioProfile;
|
|
2756
2756
|
private reportVideoProfile;
|
|
2757
2757
|
private reportScreenProfile;
|
|
2758
|
+
private updateDataChannel;
|
|
2759
|
+
private publishDataChannel;
|
|
2758
2760
|
/**
|
|
2759
2761
|
* 开始推流
|
|
2760
2762
|
* @param isResume 是否是恢复推流
|
|
@@ -3392,6 +3394,7 @@ declare class RemoteUser extends User {
|
|
|
3392
3394
|
private clearScreenStream;
|
|
3393
3395
|
private onDataChannelMessage;
|
|
3394
3396
|
private onDataChannelError;
|
|
3397
|
+
private dataChannelConnected;
|
|
3395
3398
|
private subscribeDataChannel;
|
|
3396
3399
|
private subscribeStopDataChannel;
|
|
3397
3400
|
getRetryOptions(): RemoteSubscribeOptions | undefined;
|
|
@@ -3770,6 +3773,7 @@ declare class RtsManager extends default_2<RtsManagerEventListener> {
|
|
|
3770
3773
|
private connectionResolve?;
|
|
3771
3774
|
private connectingPromise?;
|
|
3772
3775
|
private dcResolve?;
|
|
3776
|
+
private dcReject?;
|
|
3773
3777
|
private dcConnectingPromise?;
|
|
3774
3778
|
private _publishingTracks;
|
|
3775
3779
|
private parameter;
|
|
@@ -3826,6 +3830,10 @@ declare class RtsManager extends default_2<RtsManagerEventListener> {
|
|
|
3826
3830
|
getSubscribeVideoStats(streamUrl: string, msid?: string): Promise<unknown>;
|
|
3827
3831
|
getSubscribeAudioStats(streamUrl: string, msid?: string): Promise<unknown>;
|
|
3828
3832
|
getStreamByMsid(config: any): LocalStream | RemoteStream;
|
|
3833
|
+
getDatachannelByMsid(config: {
|
|
3834
|
+
url: string;
|
|
3835
|
+
msid?: string;
|
|
3836
|
+
}): any;
|
|
3829
3837
|
getPCStats(): Promise<any>;
|
|
3830
3838
|
sendSEI(streamUrl: string, data: ArrayBuffer, repeatCount: number, payloadType: number): Promise<void>;
|
|
3831
3839
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aliyun-rtc-sdk",
|
|
3
|
-
"version": "6.14.1
|
|
3
|
+
"version": "6.14.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "rtc web sdk of aliyun",
|
|
6
6
|
"main": "dist/aliyun-rtc-sdk.umd.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@aliyun-sls/web-sts-plugin": "^0.3.5",
|
|
11
11
|
"@aliyun-sls/web-track-browser": "^0.3.5",
|
|
12
12
|
"aliyun-queen-engine": "^6.3.3",
|
|
13
|
-
"aliyun-rts-sdk": "^2.11.0
|
|
13
|
+
"aliyun-rts-sdk": "^2.11.0",
|
|
14
14
|
"crypto-js": "^4.1.1",
|
|
15
15
|
"dateformat": "^5.0.3",
|
|
16
16
|
"eventemitter3": "^5.0.1",
|