@realsee/live 0.4.0-alpha.5 → 0.4.0-beta.3
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 +22 -0
- package/dist/realsee-live.cjs.development.js +10 -6
- package/dist/realsee-live.cjs.development.js.map +1 -1
- package/dist/realsee-live.cjs.production.js +1 -1
- package/dist/realsee-live.cjs.production.js.map +1 -1
- package/dist/realsee-live.esm.js +10 -6
- package/dist/realsee-live.esm.js.map +1 -1
- package/dist/realsee-live.umd.development.js +10 -6
- package/dist/realsee-live.umd.development.js.map +1 -1
- package/dist/realsee-live.umd.production.js +1 -1
- package/dist/realsee-live.umd.production.js.map +1 -1
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +43 -0
- package/docs/assets/highlight.css +120 -0
- package/docs/assets/icons.css +1043 -0
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/main.js +52 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1414 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/classes/BrowserRTC.html +68 -0
- package/docs/classes/BrowserRTC4Chime.html +76 -0
- package/docs/classes/CoreRTC.html +70 -0
- package/docs/classes/VRWebViewRTC.html +68 -0
- package/docs/enums/BuiltInRTCType.html +1 -0
- package/docs/enums/BuiltinActionType.html +15 -0
- package/docs/enums/BuiltinEventType.html +7 -0
- package/docs/enums/Command.html +7 -0
- package/docs/enums/MemUserStatus.html +1 -0
- package/docs/enums/MicroStatus.html +3 -0
- package/docs/enums/RTCJoinedInfoCodeEnum.html +11 -0
- package/docs/enums/RTCType.html +3 -0
- package/docs/enums/UserStatus.html +9 -0
- package/docs/enums/WebSocketCloseError.html +19 -0
- package/docs/enums/WebSocketErrorType.html +1 -0
- package/docs/enums/WebSocketState.html +13 -0
- package/docs/index.html +386 -0
- package/docs/interfaces/AttendeeResponse.html +1 -0
- package/docs/interfaces/GetVoiceSignReturnType.html +3 -0
- package/docs/interfaces/Live.html +116 -0
- package/docs/interfaces/LiveOptions.html +39 -0
- package/docs/interfaces/LiveReact.html +52 -0
- package/docs/interfaces/MeetingResponse.html +1 -0
- package/docs/interfaces/MeetingSessionConfigurationOptions.html +1 -0
- package/docs/interfaces/RTCJoinedInfo.html +3 -0
- package/docs/interfaces/RTCProtocol.html +70 -0
- package/docs/interfaces/VRWebViewRTCOptions.html +1 -0
- package/docs/modules.html +133 -0
- package/package.json +15 -11
|
@@ -50878,12 +50878,16 @@
|
|
|
50878
50878
|
};
|
|
50879
50879
|
class LiveTpl extends Subscribe$1 {
|
|
50880
50880
|
constructor() {
|
|
50881
|
-
var _a, _b
|
|
50881
|
+
var _a, _b;
|
|
50882
50882
|
super();
|
|
50883
50883
|
this.keyframes = new Subscribe$1();
|
|
50884
|
-
const jsBridge = ((
|
|
50885
|
-
|
|
50886
|
-
|
|
50884
|
+
const jsBridge = (() => {
|
|
50885
|
+
if (!options.jsBridge)
|
|
50886
|
+
return options.jsBridge;
|
|
50887
|
+
if (options.useBuiltInJsBridge)
|
|
50888
|
+
return new JSBridge();
|
|
50889
|
+
return undefined;
|
|
50890
|
+
})();
|
|
50887
50891
|
liveController.options.jsBridge = jsBridge;
|
|
50888
50892
|
// 没有传rtc实例时
|
|
50889
50893
|
if (!options.rtc) {
|
|
@@ -50892,7 +50896,7 @@
|
|
|
50892
50896
|
if (!options.getVoiceSign) {
|
|
50893
50897
|
throw new Error('GetVoiceSign method must be passed when using built-in RTC instances');
|
|
50894
50898
|
}
|
|
50895
|
-
const getVoiceSign = (
|
|
50899
|
+
const getVoiceSign = (_a = options.getVoiceSign) !== null && _a !== void 0 ? _a : unimplementedGetVoiceSign;
|
|
50896
50900
|
switch (options.rtcType) {
|
|
50897
50901
|
case exports.RTCType.RealseeVRWebViewRTC: {
|
|
50898
50902
|
// 内置的 VRWebViewRTC
|
|
@@ -50930,7 +50934,7 @@
|
|
|
50930
50934
|
if (!options.getVoiceSign) {
|
|
50931
50935
|
throw new Error('GetVoiceSign method must be passed when using built-in RTC instances');
|
|
50932
50936
|
}
|
|
50933
|
-
const getVoiceSign = (
|
|
50937
|
+
const getVoiceSign = (_b = options.getVoiceSign) !== null && _b !== void 0 ? _b : unimplementedGetVoiceSign;
|
|
50934
50938
|
if (!jsBridge) {
|
|
50935
50939
|
throw new Error('jsBridge instance must be passed when using built-in RTC instances');
|
|
50936
50940
|
}
|