@100mslive/roomkit-react 0.3.8-alpha.0 → 0.3.8-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-CTZXD762.js → HLSView-HUMJOIWO.js} +2 -2
- package/dist/Prebuilt/common/constants.d.ts +1 -0
- package/dist/Prebuilt/common/hooks.d.ts +10 -0
- package/dist/Prebuilt/components/FullPageProgress.d.ts +8 -0
- package/dist/Prebuilt/components/VirtualBackground/VBHandler.d.ts +3 -3
- package/dist/{chunk-NDLMRKFR.js → chunk-IDAPJGWC.js} +263 -279
- package/dist/chunk-IDAPJGWC.js.map +7 -0
- package/dist/index.cjs.js +190 -207
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +74 -49
- package/dist/meta.esbuild.json +84 -59
- package/package.json +6 -6
- package/src/Prebuilt/common/constants.ts +1 -0
- package/src/Prebuilt/common/hooks.ts +72 -1
- package/src/Prebuilt/components/AppData/AppData.tsx +1 -0
- package/src/Prebuilt/components/ConferenceScreen.tsx +0 -2
- package/src/Prebuilt/components/{FullPageProgress.jsx → FullPageProgress.tsx} +10 -1
- package/src/Prebuilt/components/Header/StreamActions.tsx +3 -25
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +4 -26
- package/src/Prebuilt/components/Notifications/PeerNotifications.tsx +1 -11
- package/src/Prebuilt/components/Preview/PreviewJoin.tsx +4 -9
- package/src/Prebuilt/components/Preview/PreviewScreen.tsx +0 -3
- package/src/Prebuilt/components/Settings/StartRecording.jsx +4 -37
- package/src/Prebuilt/components/Toast/ToastConfig.jsx +0 -22
- package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +3 -3
- package/src/Prebuilt/components/VirtualBackground/VBOption.tsx +3 -1
- package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +23 -7
- package/src/Prebuilt/components/VirtualBackground/VBToggle.tsx +5 -3
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +0 -2
- package/dist/chunk-NDLMRKFR.js.map +0 -7
- /package/dist/{HLSView-CTZXD762.js.map → HLSView-HUMJOIWO.js.map} +0 -0
@@ -38,7 +38,7 @@ import {
|
|
38
38
|
useRoomLayoutHeader,
|
39
39
|
useSidepaneToggle,
|
40
40
|
useTheme
|
41
|
-
} from "./chunk-
|
41
|
+
} from "./chunk-IDAPJGWC.js";
|
42
42
|
|
43
43
|
// src/Prebuilt/layouts/HLSView.jsx
|
44
44
|
init_define_process_env();
|
@@ -1618,4 +1618,4 @@ var HLSView_default = HLSView;
|
|
1618
1618
|
export {
|
1619
1619
|
HLSView_default as default
|
1620
1620
|
};
|
1621
|
-
//# sourceMappingURL=HLSView-
|
1621
|
+
//# sourceMappingURL=HLSView-HUMJOIWO.js.map
|
@@ -28,3 +28,13 @@ export declare const useIsLandscape: () => boolean;
|
|
28
28
|
export declare const useLandscapeHLSStream: () => boolean;
|
29
29
|
export declare const useMobileHLSStream: () => boolean;
|
30
30
|
export declare const useKeyboardHandler: (isPaused: boolean, hlsPlayer: HMSHLSPlayer) => (event: KeyboardEvent) => Promise<void>;
|
31
|
+
export interface RTMPRecordingResolution {
|
32
|
+
width: number;
|
33
|
+
height: number;
|
34
|
+
}
|
35
|
+
export declare const useRecordingHandler: () => {
|
36
|
+
recordingStarted: any;
|
37
|
+
startRecording: (resolution?: RTMPRecordingResolution | null) => Promise<void>;
|
38
|
+
isRecordingLoading: boolean;
|
39
|
+
};
|
40
|
+
export declare function getResolution(recordingResolution: RTMPRecordingResolution | null): RTMPRecordingResolution | undefined;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { CSS } from '../../Theme';
|
3
|
+
declare const FullPageProgress: ({ loaderColor, text, css, }: {
|
4
|
+
loaderColor?: string | undefined;
|
5
|
+
text?: string | undefined;
|
6
|
+
css?: CSS | undefined;
|
7
|
+
}) => React.JSX.Element;
|
8
|
+
export default FullPageProgress;
|
@@ -2,15 +2,15 @@ import { HMSEffectsPlugin, HMSVBPlugin } from '@100mslive/hms-virtual-background
|
|
2
2
|
export declare class VBPlugin {
|
3
3
|
private hmsPlugin?;
|
4
4
|
private effectsPlugin?;
|
5
|
-
initialisePlugin: (effectsSDKKey?: string) => void;
|
5
|
+
initialisePlugin: (effectsSDKKey?: string, onInit?: () => void) => void;
|
6
6
|
getBackground: () => any;
|
7
7
|
getBlurAmount: () => number;
|
8
8
|
getVBObject: () => HMSVBPlugin | HMSEffectsPlugin | undefined;
|
9
9
|
getName: () => string | undefined;
|
10
10
|
setBlur: (blurPower: number) => Promise<void>;
|
11
11
|
setBackground: (mediaURL: string) => Promise<void>;
|
12
|
-
setPreset: (preset:
|
13
|
-
getPreset: () =>
|
12
|
+
setPreset: (preset: 'quality' | 'balanced') => Promise<void>;
|
13
|
+
getPreset: () => "" | "quality" | "balanced";
|
14
14
|
removeEffects: () => Promise<void>;
|
15
15
|
reset: () => void;
|
16
16
|
}
|