@xylink/xy-rtc-sdk 3.10.0-beta.4 → 4.0.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/README.MD +36 -13
- package/lib/action/index.d.ts +61 -45
- package/lib/enum/analyser.d.ts +7 -0
- package/lib/enum/client.d.ts +8 -2
- package/lib/enum/constraints.d.ts +11 -16
- package/lib/enum/device.d.ts +0 -6
- package/lib/enum/errorCode.d.ts +5 -2
- package/lib/enum/index.d.ts +45 -7
- package/lib/enum/polling.d.ts +2 -0
- package/lib/feature/customMessage/index.d.ts +29 -0
- package/lib/feature/edu/index.d.ts +34 -0
- package/lib/feature/edu/index.type.d.ts +29 -0
- package/lib/feature/index.d.ts +3 -1
- package/lib/feature/{speaker.d.ts → speaker/index.d.ts} +29 -9
- package/lib/feature/speaker/index.type.d.ts +17 -0
- package/lib/index.d.ts +82 -28
- package/lib/interface/baseModule.type.d.ts +9 -0
- package/lib/interface/clientInterface.type.d.ts +128 -0
- package/lib/interface/contentTrackInterface.type.d.ts +15 -0
- package/lib/interface/event.type.d.ts +444 -0
- package/lib/interface/videoAudioTrackInterface.type.d.ts +17 -0
- package/lib/main/ability/const.d.ts +4 -1
- package/lib/main/ability/index.d.ts +7 -1
- package/lib/main/{auth.d.ts → auth/index.d.ts} +29 -19
- package/lib/main/client.d.ts +594 -633
- package/lib/main/clientBase.d.ts +40 -0
- package/lib/main/clientState.d.ts +56 -0
- package/lib/main/{deviceManager.d.ts → device/index.d.ts} +45 -13
- package/lib/{type/device.d.ts → main/device/index.type.d.ts} +65 -16
- package/lib/main/helper/index.d.ts +118 -0
- package/lib/main/helper/index.type.d.ts +12 -0
- package/lib/main/layout/index.d.ts +118 -105
- package/lib/main/layout/index.type.d.ts +282 -0
- package/lib/main/layout/polling.d.ts +212 -0
- package/lib/main/layout/state.d.ts +163 -0
- package/lib/main/layout/template.d.ts +15 -7
- package/lib/main/media/index.d.ts +177 -0
- package/lib/main/media/index.type.d.ts +29 -0
- package/lib/main/meeting/control.d.ts +107 -0
- package/lib/main/meeting/control.type.d.ts +24 -0
- package/lib/main/{meeting.d.ts → meeting/index.d.ts} +51 -7
- package/lib/main/meeting/verify.d.ts +70 -0
- package/lib/main/meeting/verify.type.d.ts +12 -0
- package/lib/main/peer.d.ts +120 -41
- package/lib/main/plugin/index.d.ts +28 -0
- package/lib/{tools/quality.d.ts → main/quality/index.d.ts} +2 -2
- package/lib/{tools → main/quality}/quality.worker.d.ts +1 -1
- package/lib/main/{qualityManager.d.ts → quality/report.d.ts} +11 -5
- package/lib/main/render/index.d.ts +116 -0
- package/lib/main/render/index.type.d.ts +36 -0
- package/lib/main/{videoManager.d.ts → render/videoManager.d.ts} +78 -28
- package/lib/main/render/videoManager.type.d.ts +66 -0
- package/lib/main/roster/index.d.ts +39 -0
- package/lib/main/server/index.d.ts +79 -0
- package/lib/main/server/index.type.d.ts +21 -0
- package/lib/main/signal/index.d.ts +15 -0
- package/lib/main/socket/index.d.ts +95 -0
- package/lib/main/stream/index.d.ts +182 -0
- package/lib/main/track/baseTrack.d.ts +178 -0
- package/lib/main/track/contentTrack.d.ts +168 -0
- package/lib/main/track/customContentTrack.d.ts +18 -0
- package/lib/main/track/customVideoAudioTrack.d.ts +18 -0
- package/lib/main/track/helper.d.ts +53 -0
- package/lib/main/track/videoAudioCapture.d.ts +90 -0
- package/lib/main/track/videoAudioTrack.d.ts +273 -0
- package/lib/main/vom/index.d.ts +44 -0
- package/lib/main/vom/index.type.d.ts +1 -0
- package/lib/tools/analyser.d.ts +30 -7
- package/lib/tools/analyserManager.d.ts +55 -0
- package/lib/tools/dbManager.d.ts +12 -1
- package/lib/tools/{browser.d.ts → detectBrowser/index.d.ts} +53 -5
- package/lib/tools/detectStream/index.d.ts +84 -0
- package/lib/tools/detectStream/index.type.d.ts +56 -0
- package/lib/tools/detectTool/index.d.ts +191 -0
- package/lib/tools/detectTool/index.type.d.ts +51 -0
- package/lib/tools/emitter.d.ts +27 -6
- package/lib/tools/enum.d.ts +1 -1
- package/lib/tools/httpClient.d.ts +5 -1
- package/lib/tools/i18n.d.ts +1 -1
- package/lib/tools/index.d.ts +1 -8
- package/lib/tools/log/logger.d.ts +44 -24
- package/lib/tools/log/logger.worker.d.ts +1 -1
- package/lib/tools/log/loggerManager.d.ts +3 -2
- package/lib/tools/pressure/index.d.ts +33 -0
- package/lib/tools/pressure/index.type.d.ts +22 -0
- package/lib/tools/promiseQueue.d.ts +6 -0
- package/lib/tools/regex.d.ts +4 -0
- package/lib/tools/resize.d.ts +3 -0
- package/lib/tools/snapshot.d.ts +1 -1
- package/lib/tools/socket.d.ts +12 -2
- package/lib/tools/template/index.d.ts +11 -88
- package/lib/tools/template/mobile.d.ts +1 -1
- package/lib/tools/template/polling.d.ts +8 -0
- package/lib/tools/utils.d.ts +25 -16
- package/lib/tools/verify.d.ts +7 -0
- package/lib/type/ability.d.ts +1 -1
- package/lib/type/analyser.d.ts +26 -1
- package/lib/type/auth.d.ts +22 -22
- package/lib/type/base.d.ts +36 -32
- package/lib/type/capture.d.ts +9 -0
- package/lib/type/client.d.ts +379 -498
- package/lib/type/index.d.ts +25 -2
- package/lib/type/layout.d.ts +84 -47
- package/lib/type/logger.d.ts +19 -12
- package/lib/type/meeting.d.ts +89 -68
- package/lib/type/peer.d.ts +65 -1
- package/lib/type/polling.d.ts +194 -0
- package/lib/type/quality.d.ts +16 -6
- package/lib/type/socket.d.ts +0 -18
- package/lib/type/stream.d.ts +138 -108
- package/lib/type/track.d.ts +139 -0
- package/lib/xyrtc.cjs.js +1 -1
- package/lib/xyrtc.umd.js +1 -1
- package/package.json +13 -10
- package/lib/main/clientImplements.d.ts +0 -99
- package/lib/main/helper.d.ts +0 -104
- package/lib/main/stream.d.ts +0 -418
- package/lib/tools/detect.d.ts +0 -44
package/lib/tools/detect.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Detect 检测浏览器支持情况
|
|
3
|
-
* @authors Luo-jinghui (luojinghui424@gmail.com)
|
|
4
|
-
* @date 2019-10-22 11:11:55
|
|
5
|
-
*/
|
|
6
|
-
interface ISupportFeature {
|
|
7
|
-
isSupportRTC: boolean;
|
|
8
|
-
isSupportAddtrack: boolean;
|
|
9
|
-
isSupportAddTransceiver: boolean;
|
|
10
|
-
isSupportReplaceTrack: boolean;
|
|
11
|
-
isApplyConstraints: boolean;
|
|
12
|
-
isSupportSetStreams: boolean;
|
|
13
|
-
}
|
|
14
|
-
interface ISupportTest {
|
|
15
|
-
isSupportPeer: boolean;
|
|
16
|
-
isSupportAddtrack: boolean;
|
|
17
|
-
isSupportAddTransceiver: boolean;
|
|
18
|
-
isSupportReplaceTrack: boolean;
|
|
19
|
-
isApplyConstraints: boolean;
|
|
20
|
-
isSupportSetStreams: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare const detect: {
|
|
23
|
-
isMinBrowser: () => boolean;
|
|
24
|
-
isMobile: () => boolean;
|
|
25
|
-
isFirefox: () => boolean;
|
|
26
|
-
isSupportAspectRatio: () => boolean;
|
|
27
|
-
isSupportReauthorize: () => boolean;
|
|
28
|
-
isSupportUserMedia: () => boolean;
|
|
29
|
-
isSupportRTC: (videoCapture?: MediaStream) => Promise<ISupportFeature>;
|
|
30
|
-
isSupportPeerCB: (videoCapture?: MediaStream) => Promise<ISupportTest>;
|
|
31
|
-
isSupportWebsocket: () => boolean;
|
|
32
|
-
isSupportMedia: () => boolean;
|
|
33
|
-
isSupportH264: () => Promise<boolean>;
|
|
34
|
-
osVersion: () => string;
|
|
35
|
-
/**
|
|
36
|
-
* 获取浏览器当前网络信息
|
|
37
|
-
* 兼容:Chrome、Edge,不兼容:Safari、Firefox
|
|
38
|
-
*
|
|
39
|
-
* @returns { undefined | NetworkInformation } 网络信息
|
|
40
|
-
*/
|
|
41
|
-
getNetWork: () => string;
|
|
42
|
-
};
|
|
43
|
-
export declare const isFirefox: boolean;
|
|
44
|
-
export {};
|