@rongcloud/plugin-rtc 5.6.6-beem-alpha.2 → 5.6.6
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/index.d.ts +17 -27
- package/dist/index.esm.js +16 -29134
- package/dist/index.js +16 -29163
- package/dist/index.umd.js +16 -29167
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* RCRTC - v5.6.6
|
|
3
|
-
* CommitId -
|
|
4
|
-
*
|
|
2
|
+
* RCRTC - v5.6.6
|
|
3
|
+
* CommitId - fc1865a049a26e89d0eb7e4cc4c2cbed81c19a38
|
|
4
|
+
* Tue Dec 20 2022 17:25:33 GMT+0800 (China Standard Time)
|
|
5
5
|
* ©2020 RongCloud, Inc. All rights reserved.
|
|
6
6
|
*/
|
|
7
7
|
import { EventEmitter, BasicLogger, INaviInfo, RTCPluginContext, AbsCodec, IPromiseResult, ErrorCode, KVString, IRuntime, IAsyncRes, ConnectionStatus, ConversationType, ISendMsgOptions, IReceivedMessage, EnableLogL, IPluginGenerator } from '@rongcloud/engine';
|
|
@@ -144,7 +144,20 @@ declare enum RCResolution {
|
|
|
144
144
|
W848_H480 = "W848_H480",
|
|
145
145
|
W960_H720 = "W960_H720",
|
|
146
146
|
W1280_H720 = "W1280_H720",
|
|
147
|
-
W1920_H1080 = "W1920_H1080"
|
|
147
|
+
W1920_H1080 = "W1920_H1080",
|
|
148
|
+
W144_H176 = "W144_H176",
|
|
149
|
+
W144_H256 = "W144_H256",
|
|
150
|
+
W180_H240 = "W180_H240",
|
|
151
|
+
W180_H320 = "W180_H320",
|
|
152
|
+
W240_H320 = "W240_H320",
|
|
153
|
+
W360_H480 = "W360_H480",
|
|
154
|
+
W360_H640 = "W360_H640",
|
|
155
|
+
W480_H640 = "W480_H640",
|
|
156
|
+
W480_H720 = "W480_H720",
|
|
157
|
+
W480_H848 = "W480_H848",
|
|
158
|
+
W720_H1280 = "W720_H1280",
|
|
159
|
+
W720_H960 = "W720_H960",
|
|
160
|
+
W1080_H1920 = "W1080_H1920"
|
|
148
161
|
}
|
|
149
162
|
|
|
150
163
|
/**
|
|
@@ -711,7 +724,6 @@ interface IExchangeReqBody {
|
|
|
711
724
|
* server 根据网络动态切换大小流开关,默认为 `false`
|
|
712
725
|
*/
|
|
713
726
|
switchstream: boolean;
|
|
714
|
-
capabilityVersion?: number;
|
|
715
727
|
}
|
|
716
728
|
interface ILiveUrls {
|
|
717
729
|
/**
|
|
@@ -788,17 +800,6 @@ interface IExchangeResponse extends IRTCResponse {
|
|
|
788
800
|
userId: string;
|
|
789
801
|
simulcast?: RCStreamType;
|
|
790
802
|
}[];
|
|
791
|
-
/**
|
|
792
|
-
* 订阅失败的资源列表
|
|
793
|
-
*/
|
|
794
|
-
subscribeErrorList?: {
|
|
795
|
-
mediaType: RCMediaType.AUDIO_ONLY | RCMediaType.VIDEO_ONLY;
|
|
796
|
-
msid: string;
|
|
797
|
-
userId: string;
|
|
798
|
-
msg: string;
|
|
799
|
-
code: number;
|
|
800
|
-
IsRetry: boolean;
|
|
801
|
-
}[];
|
|
802
803
|
}
|
|
803
804
|
interface IBroadcastSubReqBody {
|
|
804
805
|
/**
|
|
@@ -858,17 +859,6 @@ interface IBroadcastSubRespBody extends IRTCResponse {
|
|
|
858
859
|
type: 'answer';
|
|
859
860
|
sdp: string;
|
|
860
861
|
};
|
|
861
|
-
/**
|
|
862
|
-
* 订阅失败的资源列表
|
|
863
|
-
*/
|
|
864
|
-
subscribeErrorList?: {
|
|
865
|
-
mediaType: RCMediaType.AUDIO_ONLY | RCMediaType.VIDEO_ONLY;
|
|
866
|
-
msid: string;
|
|
867
|
-
userId: string;
|
|
868
|
-
msg: string;
|
|
869
|
-
code: number;
|
|
870
|
-
IsRetry: boolean;
|
|
871
|
-
}[];
|
|
872
862
|
}
|
|
873
863
|
/**
|
|
874
864
|
* 获取 CDN 资源拉流地址请求 headers
|