@100mslive/roomkit-react 0.3.8-alpha.0 → 0.3.8-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-CTZXD762.js → HLSView-XZDT3RRC.js} +2 -2
- package/dist/Prebuilt/common/constants.d.ts +2 -0
- package/dist/Prebuilt/common/hooks.d.ts +10 -0
- package/dist/Prebuilt/components/CaptionIcon.d.ts +2 -0
- package/dist/Prebuilt/components/FullPageProgress.d.ts +8 -0
- package/dist/Prebuilt/components/VirtualBackground/VBHandler.d.ts +3 -3
- package/dist/Prebuilt/plugins/CaptionsViewer.d.ts +2 -0
- package/dist/Text/Text.d.ts +1 -1
- package/dist/{chunk-NDLMRKFR.js → chunk-SQPIZNW2.js} +2367 -2128
- package/dist/chunk-SQPIZNW2.js.map +7 -0
- package/dist/index.cjs.js +3254 -2998
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +244 -86
- package/dist/meta.esbuild.json +250 -92
- package/package.json +6 -6
- package/src/Prebuilt/common/constants.ts +2 -0
- package/src/Prebuilt/common/hooks.ts +72 -1
- package/src/Prebuilt/components/AppData/AppData.tsx +2 -0
- package/src/Prebuilt/components/AppData/useUISettings.js +10 -0
- package/src/Prebuilt/components/CaptionIcon.tsx +27 -0
- package/src/Prebuilt/components/ConferenceScreen.tsx +34 -4
- package/src/Prebuilt/components/Footer/Footer.tsx +2 -0
- package/src/Prebuilt/components/Footer/RoleAccordion.tsx +1 -1
- 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 +25 -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 -3
- package/src/Prebuilt/plugins/CaptionsViewer.tsx +191 -0
- package/dist/chunk-NDLMRKFR.js.map +0 -7
- /package/dist/{HLSView-CTZXD762.js.map → HLSView-XZDT3RRC.js.map} +0 -0
@@ -38,7 +38,7 @@ import {
|
|
38
38
|
useRoomLayoutHeader,
|
39
39
|
useSidepaneToggle,
|
40
40
|
useTheme
|
41
|
-
} from "./chunk-
|
41
|
+
} from "./chunk-SQPIZNW2.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-XZDT3RRC.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
|
}
|
package/dist/Text/Text.d.ts
CHANGED
@@ -123,7 +123,7 @@ export declare const textVariants: {
|
|
123
123
|
};
|
124
124
|
};
|
125
125
|
export declare const Text: import("@stitches/react/types/styled-component").StyledComponent<"p", {
|
126
|
-
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "tiny" | "xs" | "sm" | "md" | "lg" | "button" | "
|
126
|
+
variant?: "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "tiny" | "xs" | "sm" | "md" | "lg" | "button" | "overline" | "sub1" | "sub2" | "body1" | "body2" | undefined;
|
127
127
|
color?: "white" | undefined;
|
128
128
|
inline?: boolean | "true" | undefined;
|
129
129
|
}, {
|