@100mslive/roomkit-react 0.3.10-alpha.9 → 0.3.11-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-UIAB54GS.js → HLSView-HJ44JWJK.js} +18 -3
- package/dist/HLSView-HJ44JWJK.js.map +7 -0
- package/dist/{HLSView-5TZVXD62.css → HLSView-IBWU4R7W.css} +16 -3
- package/dist/{HLSView-5TZVXD62.css.map → HLSView-IBWU4R7W.css.map} +3 -3
- package/dist/Prebuilt/common/constants.d.ts +0 -2
- package/dist/Prebuilt/common/hooks.d.ts +8 -1
- package/dist/Prebuilt/components/MoreSettings/CaptionContent.d.ts +5 -0
- package/dist/Prebuilt/components/MoreSettings/CaptionModal.d.ts +4 -0
- package/dist/Prebuilt/components/Polls/Voting/StandardVoting.d.ts +4 -2
- package/dist/Prebuilt/components/Polls/Voting/TimedVoting.d.ts +4 -2
- package/dist/Prebuilt/layouts/WaitingView.d.ts +6 -0
- package/dist/{chunk-GQGXO6NF.js → chunk-WDZ4KRYM.js} +2148 -1858
- package/dist/chunk-WDZ4KRYM.js.map +7 -0
- package/dist/index.cjs.css +15 -2
- package/dist/index.cjs.css.map +3 -3
- package/dist/index.cjs.js +2790 -2484
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +15 -2
- package/dist/index.css.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +296 -118
- package/dist/meta.esbuild.json +318 -139
- package/package.json +7 -7
- package/src/Prebuilt/common/constants.ts +0 -2
- package/src/Prebuilt/common/hooks.ts +34 -1
- package/src/Prebuilt/common/utils.js +11 -11
- package/src/Prebuilt/components/AppData/AppData.tsx +2 -4
- package/src/Prebuilt/components/AppData/useUISettings.js +0 -3
- package/src/Prebuilt/components/Chat/Chat.tsx +26 -6
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +18 -2
- package/src/Prebuilt/components/Chat/ChatStates.tsx +1 -1
- package/src/Prebuilt/components/Footer/ChatToggle.tsx +5 -1
- package/src/Prebuilt/components/Footer/ParticipantList.tsx +4 -2
- package/src/Prebuilt/components/Footer/PollsToggle.tsx +1 -1
- package/src/Prebuilt/components/MoreSettings/CaptionContent.tsx +132 -0
- package/src/Prebuilt/components/MoreSettings/CaptionModal.tsx +37 -0
- package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx +40 -3
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +19 -19
- package/src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx +2 -15
- package/src/Prebuilt/components/Polls/Voting/LeaderboardSummary.tsx +71 -66
- package/src/Prebuilt/components/Polls/Voting/QuestionCard.jsx +39 -40
- package/src/Prebuilt/components/Polls/Voting/StandardVoting.tsx +12 -6
- package/src/Prebuilt/components/Polls/Voting/TimedVoting.tsx +21 -10
- package/src/Prebuilt/components/Polls/Voting/Voting.tsx +44 -2
- package/src/Prebuilt/components/VideoLayouts/EqualProminence.tsx +13 -17
- package/src/Prebuilt/components/VideoLayouts/GridLayout.tsx +17 -0
- package/src/Prebuilt/layouts/HLSView.jsx +14 -11
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +43 -9
- package/src/Prebuilt/layouts/WaitingView.tsx +52 -0
- package/dist/HLSView-UIAB54GS.js.map +0 -7
- package/dist/chunk-GQGXO6NF.js.map +0 -7
- package/src/Prebuilt/layouts/NonPublisherView.jsx +0 -51
- package/src/Prebuilt/layouts/WaitingView.jsx +0 -51
@@ -1,4 +1,3 @@
|
|
1
|
-
export declare const DEFAULT_WAITING_VIEWER_ROLE = "waiting-room";
|
2
1
|
export declare const QUERY_PARAM_SKIP_PREVIEW = "skip_preview";
|
3
2
|
export declare const QUERY_PARAM_SKIP_PREVIEW_HEADFUL = "skip_preview_headful";
|
4
3
|
export declare const QUERY_PARAM_NAME = "name";
|
@@ -26,7 +25,6 @@ export declare const APP_DATA: {
|
|
26
25
|
appConfig: string;
|
27
26
|
sidePane: string;
|
28
27
|
hlsStats: string;
|
29
|
-
waitingViewerRole: string;
|
30
28
|
subscribedNotifications: string;
|
31
29
|
logo: string;
|
32
30
|
hlsStarted: string;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { HMSHLSPlayer } from '@100mslive/hls-player';
|
2
|
+
import { HMSPeer } from '@100mslive/react-sdk';
|
2
3
|
/**
|
3
4
|
* Hook to execute a callback when alone in room(after a certain 5d of time)
|
4
5
|
* @param {number} thresholdMs The threshold(in ms) after which the callback is executed,
|
@@ -19,7 +20,7 @@ export declare const useParticipants: (params?: {
|
|
19
20
|
role?: string;
|
20
21
|
search?: string;
|
21
22
|
}) => {
|
22
|
-
participants:
|
23
|
+
participants: HMSPeer[];
|
23
24
|
isConnected: boolean | undefined;
|
24
25
|
peerCount: number;
|
25
26
|
rolesWithParticipants: (string | undefined)[];
|
@@ -38,3 +39,9 @@ export declare const useRecordingHandler: () => {
|
|
38
39
|
isRecordingLoading: boolean;
|
39
40
|
};
|
40
41
|
export declare function getResolution(recordingResolution: RTMPRecordingResolution | null): RTMPRecordingResolution | undefined;
|
42
|
+
export interface WaitingRoomInfo {
|
43
|
+
isNotAllowedToPublish: boolean;
|
44
|
+
isScreenOnlyPublishParams: boolean;
|
45
|
+
hasSubscribedRolePublishing: boolean;
|
46
|
+
}
|
47
|
+
export declare function useWaitingRoomInfo(): WaitingRoomInfo;
|
@@ -1,5 +1,7 @@
|
|
1
|
-
import React from 'react';
|
1
|
+
import React, { Dispatch, SetStateAction } from 'react';
|
2
2
|
import { HMSPoll } from '@100mslive/react-sdk';
|
3
|
-
export declare const StandardView: ({ poll }: {
|
3
|
+
export declare const StandardView: ({ poll, localPeerResponses, updateSavedResponses, }: {
|
4
4
|
poll: HMSPoll;
|
5
|
+
localPeerResponses: Record<number, number | number[] | undefined>;
|
6
|
+
updateSavedResponses: Dispatch<SetStateAction<Record<any, any>>>;
|
5
7
|
}) => React.JSX.Element | null;
|
@@ -1,5 +1,7 @@
|
|
1
|
-
import React from 'react';
|
1
|
+
import React, { Dispatch, SetStateAction } from 'react';
|
2
2
|
import { HMSPoll } from '@100mslive/react-sdk';
|
3
|
-
export declare const TimedView: ({ poll }: {
|
3
|
+
export declare const TimedView: ({ poll, localPeerResponses, updateSavedResponses, }: {
|
4
4
|
poll: HMSPoll;
|
5
|
+
localPeerResponses?: Record<number, number | number[] | undefined> | undefined;
|
6
|
+
updateSavedResponses: Dispatch<SetStateAction<Record<any, any>>>;
|
5
7
|
}) => React.JSX.Element | null;
|