@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.
Files changed (32) hide show
  1. package/dist/{HLSView-CTZXD762.js → HLSView-HUMJOIWO.js} +2 -2
  2. package/dist/Prebuilt/common/constants.d.ts +1 -0
  3. package/dist/Prebuilt/common/hooks.d.ts +10 -0
  4. package/dist/Prebuilt/components/FullPageProgress.d.ts +8 -0
  5. package/dist/Prebuilt/components/VirtualBackground/VBHandler.d.ts +3 -3
  6. package/dist/{chunk-NDLMRKFR.js → chunk-IDAPJGWC.js} +263 -279
  7. package/dist/chunk-IDAPJGWC.js.map +7 -0
  8. package/dist/index.cjs.js +190 -207
  9. package/dist/index.cjs.js.map +4 -4
  10. package/dist/index.js +1 -1
  11. package/dist/meta.cjs.json +74 -49
  12. package/dist/meta.esbuild.json +84 -59
  13. package/package.json +6 -6
  14. package/src/Prebuilt/common/constants.ts +1 -0
  15. package/src/Prebuilt/common/hooks.ts +72 -1
  16. package/src/Prebuilt/components/AppData/AppData.tsx +1 -0
  17. package/src/Prebuilt/components/ConferenceScreen.tsx +0 -2
  18. package/src/Prebuilt/components/{FullPageProgress.jsx → FullPageProgress.tsx} +10 -1
  19. package/src/Prebuilt/components/Header/StreamActions.tsx +3 -25
  20. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +4 -26
  21. package/src/Prebuilt/components/Notifications/PeerNotifications.tsx +1 -11
  22. package/src/Prebuilt/components/Preview/PreviewJoin.tsx +4 -9
  23. package/src/Prebuilt/components/Preview/PreviewScreen.tsx +0 -3
  24. package/src/Prebuilt/components/Settings/StartRecording.jsx +4 -37
  25. package/src/Prebuilt/components/Toast/ToastConfig.jsx +0 -22
  26. package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +3 -3
  27. package/src/Prebuilt/components/VirtualBackground/VBOption.tsx +3 -1
  28. package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +23 -7
  29. package/src/Prebuilt/components/VirtualBackground/VBToggle.tsx +5 -3
  30. package/src/Prebuilt/layouts/VideoStreamingSection.tsx +0 -2
  31. package/dist/chunk-NDLMRKFR.js.map +0 -7
  32. /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-NDLMRKFR.js";
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-CTZXD762.js.map
1621
+ //# sourceMappingURL=HLSView-HUMJOIWO.js.map
@@ -43,6 +43,7 @@ export declare const APP_DATA: {
43
43
  pollState: string;
44
44
  background: string;
45
45
  sheet: string;
46
+ loadingEffects: string;
46
47
  };
47
48
  export declare const UI_SETTINGS: {
48
49
  isAudioOnly: string;
@@ -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: string) => Promise<void>;
13
- getPreset: () => string;
12
+ setPreset: (preset: 'quality' | 'balanced') => Promise<void>;
13
+ getPreset: () => "" | "quality" | "balanced";
14
14
  removeEffects: () => Promise<void>;
15
15
  reset: () => void;
16
16
  }