mediasfu-angular 2.2.2 → 2.2.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.
Files changed (192) hide show
  1. package/README.md +153 -54
  2. package/USAGE_COOKBOOK.md +202 -0
  3. package/dist/LICENSE +21 -0
  4. package/dist/README.md +153 -54
  5. package/dist/fesm2022/mediasfu-angular.mjs +21817 -12635
  6. package/dist/fesm2022/mediasfu-angular.mjs.map +1 -1
  7. package/dist/lib/@types/types.d.ts +22 -1
  8. package/dist/lib/@types/ui-overrides.types.d.ts +4 -0
  9. package/dist/lib/components/background-components/background-modal/background-modal.component.d.ts +1024 -997
  10. package/dist/lib/components/breakout-components/breakout-rooms-modal.component.d.ts +2052 -1001
  11. package/dist/lib/components/breakout-components/edit-room-modal/edit-room-modal.component.d.ts +1527 -997
  12. package/dist/lib/components/breakout-components/room-list/room-list.component.d.ts +5 -1
  13. package/dist/lib/components/co-host-components/co-host-modal/co-host-modal.component.d.ts +988 -988
  14. package/dist/lib/components/display-components/alert-component/alert.component.component.d.ts +20 -6
  15. package/dist/lib/components/display-components/audio-card/audio-card.component.d.ts +17 -7
  16. package/dist/lib/components/display-components/audio-grid/audio-grid.component.d.ts +509 -1
  17. package/dist/lib/components/display-components/card-video-display/card-video-display.component.d.ts +3 -0
  18. package/dist/lib/components/display-components/control-buttons-alt-component/control-buttons-alt-component.component.d.ts +1 -1
  19. package/dist/lib/components/display-components/control-buttons-component/control-buttons-component.component.d.ts +34 -2
  20. package/dist/lib/components/display-components/control-buttons-component-touch/control-buttons-component-touch.component.d.ts +19 -0
  21. package/dist/lib/components/display-components/control-widgets/control-icon-badge-widget.component.d.ts +13 -0
  22. package/dist/lib/components/display-components/control-widgets/menu-participants-widget.component.d.ts +1 -0
  23. package/dist/lib/components/display-components/control-widgets/menu-widget.component.d.ts +2 -2
  24. package/dist/lib/components/display-components/control-widgets/message-widget.component.d.ts +2 -2
  25. package/dist/lib/components/display-components/control-widgets/record-timer-widget.component.d.ts +2 -0
  26. package/dist/lib/components/display-components/control-widgets/screenshare-widget.component.d.ts +5 -3
  27. package/dist/lib/components/display-components/flexible-grid/flexible-grid.component.d.ts +530 -2
  28. package/dist/lib/components/display-components/flexible-video/flexible-video.component.d.ts +41 -1
  29. package/dist/lib/components/display-components/loading-modal/loading-modal.component.d.ts +2029 -5
  30. package/dist/lib/components/display-components/main-grid-component/main-grid-component.component.d.ts +506 -1
  31. package/dist/lib/components/display-components/main-screen-component/main-screen-component.component.d.ts +497 -497
  32. package/dist/lib/components/display-components/meeting-progress-timer/meeting-progress-timer.component.d.ts +18 -11
  33. package/dist/lib/components/display-components/mini-audio/mini-audio.component.d.ts +11 -3
  34. package/dist/lib/components/display-components/mini-card/mini-card.component.d.ts +1026 -999
  35. package/dist/lib/components/display-components/mini-card-audio/mini-card-audio.component.d.ts +9 -3
  36. package/dist/lib/components/display-components/other-grid-component/other-grid-component.component.d.ts +511 -1
  37. package/dist/lib/components/display-components/pagination/pagination.component.d.ts +34 -1
  38. package/dist/lib/components/display-components/sub-aspect-component/sub-aspect-component.component.d.ts +507 -1
  39. package/dist/lib/components/display-components/subtitle-overlay/subtitle-overlay.component.d.ts +6 -0
  40. package/dist/lib/components/display-components/video-card/video-card.component.d.ts +10 -6
  41. package/dist/lib/components/display-settings-components/display-settings-modal.component.d.ts +1010 -1009
  42. package/dist/lib/components/event-settings-components/event-settings-modal/event-settings-modal.component.d.ts +999 -999
  43. package/dist/lib/components/media-settings-components/media-settings-modal/media-settings-modal.component.d.ts +999 -999
  44. package/dist/lib/components/mediasfu-components/mediasfu-broadcast.component.d.ts +2296 -29308
  45. package/dist/lib/components/mediasfu-components/mediasfu-chat.component.d.ts +467 -4156
  46. package/dist/lib/components/mediasfu-components/mediasfu-conference.component.d.ts +553 -23371
  47. package/dist/lib/components/mediasfu-components/mediasfu-generic.component.d.ts +1269 -61673
  48. package/dist/lib/components/mediasfu-components/mediasfu-webinar.component.d.ts +501 -26250
  49. package/dist/lib/components/menu-components/custom-buttons/custom-buttons.component.d.ts +4 -1
  50. package/dist/lib/components/menu-components/meeting-id-component/meeting-id-component.component.d.ts +3 -1
  51. package/dist/lib/components/menu-components/meeting-passcode-component/meeting-passcode-component.component.d.ts +10 -1
  52. package/dist/lib/components/menu-components/menu-modal/menu-modal.component.d.ts +518 -507
  53. package/dist/lib/components/menu-components/share-buttons-component/share-buttons-component.component.d.ts +4 -1
  54. package/dist/lib/components/message-components/messages-modal/messages-modal.component.d.ts +3 -3
  55. package/dist/lib/components/misc-components/confirm-here-modal/confirm-here-modal.component.d.ts +1004 -1004
  56. package/dist/lib/components/misc-components/pre-join-page/pre-join-page.component.d.ts +4 -0
  57. package/dist/lib/components/misc-components/share-event-modal/share-event-modal.component.d.ts +989 -989
  58. package/dist/lib/components/panelists-components/panelists-modal/panelists-modal.component.d.ts +73 -0
  59. package/dist/lib/components/participants-components/participants-modal/participants-modal.component.d.ts +1004 -1004
  60. package/dist/lib/components/permissions-components/permissions-modal/permissions-modal.component.d.ts +89 -0
  61. package/dist/lib/components/polls-components/poll-modal/poll-modal.component.d.ts +989 -989
  62. package/dist/lib/components/recording-components/recording-modal/recording-modal.component.d.ts +990 -989
  63. package/dist/lib/components/requests-components/requests-modal/requests-modal.component.d.ts +1004 -1004
  64. package/dist/lib/components/screenboard-components/screenboard-modal/screenboard-modal.component.d.ts +987 -987
  65. package/dist/lib/components/translation-components/translation-settings-modal/translation-settings-modal.component.d.ts +124 -0
  66. package/dist/lib/components/waiting-components/waiting-room-modal.component.d.ts +989 -989
  67. package/dist/lib/components/whiteboard-components/configure-whiteboard-modal/configure-whiteboard-modal.component.d.ts +2062 -1000
  68. package/dist/lib/components/whiteboard-components/whiteboard/whiteboard.component.d.ts +3 -15
  69. package/dist/lib/consumers/auto-adjust.service.d.ts +0 -11
  70. package/dist/lib/consumers/calculate-rows-and-columns.service.d.ts +0 -7
  71. package/dist/lib/consumers/change-vids.service.d.ts +1 -1
  72. package/dist/lib/consumers/check-permission.service.d.ts +4 -1
  73. package/dist/lib/consumers/check-screen-share.service.d.ts +0 -18
  74. package/dist/lib/consumers/compare-active-names.service.d.ts +0 -16
  75. package/dist/lib/consumers/compare-screen-states.service.d.ts +0 -18
  76. package/dist/lib/consumers/connect-ips.service.d.ts +2 -25
  77. package/dist/lib/consumers/connect-local-ips.service.d.ts +1 -28
  78. package/dist/lib/consumers/disp-streams.service.d.ts +1 -110
  79. package/dist/lib/consumers/generate-page-content.service.d.ts +0 -17
  80. package/dist/lib/consumers/get-estimate.service.d.ts +0 -21
  81. package/dist/lib/consumers/mix-streams.service.d.ts +0 -19
  82. package/dist/lib/consumers/on-screen-changes.service.d.ts +1 -21
  83. package/dist/lib/consumers/process-consumer-transports-audio.service.d.ts +1 -14
  84. package/dist/lib/consumers/process-consumer-transports.service.d.ts +3 -57
  85. package/dist/lib/consumers/re-update-inter.service.d.ts +1 -39
  86. package/dist/lib/consumers/reorder-streams.service.d.ts +1 -35
  87. package/dist/lib/consumers/socket-receive-methods/join-consume-room.service.d.ts +2 -13
  88. package/dist/lib/consumers/socket-receive-methods/new-pipe-producer.service.d.ts +1 -13
  89. package/dist/lib/consumers/socket-receive-methods/producer-closed.service.d.ts +1 -8
  90. package/dist/lib/consumers/translation-consumer-switch.service.d.ts +68 -0
  91. package/dist/lib/consumers/trigger.service.d.ts +0 -79
  92. package/dist/lib/consumers/update-mini-cards-grid.service.d.ts +0 -24
  93. package/dist/lib/directives/with-override.directive.d.ts +2 -2
  94. package/dist/lib/methods/background-methods/launch-background.service.d.ts +2 -5
  95. package/dist/lib/methods/breakout-room-methods/launch-breakout-rooms.service.d.ts +2 -5
  96. package/dist/lib/methods/co-host-methods/launch-co-host.service.d.ts +2 -5
  97. package/dist/lib/methods/co-host-methods/modify-co-host-settings.service.d.ts +1 -1
  98. package/dist/lib/methods/display-settings-methods/launch-display-settings.service.d.ts +2 -5
  99. package/dist/lib/methods/display-settings-methods/modify-display-settings.service.d.ts +2 -0
  100. package/dist/lib/methods/exit-methods/launch-confirm-exit.service.d.ts +2 -5
  101. package/dist/lib/methods/menu-methods/launch-menu-modal.service.d.ts +2 -5
  102. package/dist/lib/methods/message-methods/launch-messages.service.d.ts +2 -5
  103. package/dist/lib/methods/panelists-methods/add-panelist.service.d.ts +19 -0
  104. package/dist/lib/methods/panelists-methods/focus-panelists.service.d.ts +19 -0
  105. package/dist/lib/methods/panelists-methods/remove-panelist.service.d.ts +17 -0
  106. package/dist/lib/methods/participants-methods/launch-participants.service.d.ts +2 -5
  107. package/dist/lib/methods/permissions-methods/bulk-update-participant-permissions.service.d.ts +20 -0
  108. package/dist/lib/methods/permissions-methods/update-participant-permission.service.d.ts +19 -0
  109. package/dist/lib/methods/permissions-methods/update-permission-config.service.d.ts +29 -0
  110. package/dist/lib/methods/polls-methods/handle-create-poll.service.d.ts +1 -1
  111. package/dist/lib/methods/polls-methods/handle-end-poll.service.d.ts +1 -1
  112. package/dist/lib/methods/polls-methods/handle-vote-poll.service.d.ts +1 -1
  113. package/dist/lib/methods/polls-methods/poll-updated.service.d.ts +1 -1
  114. package/dist/lib/methods/recording-methods/check-pause-state.service.d.ts +1 -12
  115. package/dist/lib/methods/recording-methods/check-resume-state.service.d.ts +1 -11
  116. package/dist/lib/methods/recording-methods/confirm-recording.service.d.ts +0 -94
  117. package/dist/lib/methods/recording-methods/launch-recording.service.d.ts +1 -20
  118. package/dist/lib/methods/recording-methods/record-pause-timer.service.d.ts +1 -12
  119. package/dist/lib/methods/recording-methods/record-resume-timer.service.d.ts +0 -66
  120. package/dist/lib/methods/recording-methods/record-start-timer.service.d.ts +1 -33
  121. package/dist/lib/methods/recording-methods/record-update-timer.service.d.ts +1 -17
  122. package/dist/lib/methods/recording-methods/start-recording.service.d.ts +1 -92
  123. package/dist/lib/methods/recording-methods/stop-recording.service.d.ts +1 -42
  124. package/dist/lib/methods/recording-methods/update-recording.service.d.ts +1 -94
  125. package/dist/lib/methods/requests-methods/launch-requests.service.d.ts +2 -5
  126. package/dist/lib/methods/settings-methods/launch-settings.service.d.ts +2 -5
  127. package/dist/lib/methods/settings-methods/modify-settings.service.d.ts +1 -1
  128. package/dist/lib/methods/stream-methods/click-chat.service.d.ts +1 -1
  129. package/dist/lib/methods/utils/get-modal-position.util.d.ts +0 -3
  130. package/dist/lib/methods/utils/initial-values.util.d.ts +18 -1
  131. package/dist/lib/methods/utils/mini-audio-player/mini-audio-player.component.d.ts +8 -0
  132. package/dist/lib/methods/utils/producer/a-params.service.d.ts +2 -8
  133. package/dist/lib/methods/utils/producer/h-params.service.d.ts +2 -8
  134. package/dist/lib/methods/utils/producer/screen-params.service.d.ts +2 -8
  135. package/dist/lib/methods/utils/producer/v-params.service.d.ts +2 -8
  136. package/dist/lib/methods/utils/sound-player.service.d.ts +1 -1
  137. package/dist/lib/methods/utils/translation-languages.util.d.ts +341 -0
  138. package/dist/lib/methods/waiting-methods/launch-waiting.service.d.ts +2 -5
  139. package/dist/lib/modern/display-components/modern-alert.component.d.ts +40 -0
  140. package/dist/lib/modern/display-components/modern-loading-modal.component.d.ts +37 -0
  141. package/dist/lib/modern/display-components/modern-meeting-progress-timer.component.d.ts +40 -0
  142. package/dist/lib/modern/display-components/modern-mini-card.component.d.ts +1064 -0
  143. package/dist/lib/modern/display-components/modern-pagination.component.d.ts +91 -0
  144. package/dist/lib/modern/display-components/modern-participants-counter-badge.component.d.ts +16 -0
  145. package/dist/lib/modern/modal-components/modern-co-host-modal.component.d.ts +63 -0
  146. package/dist/lib/modern/modal-components/modern-confirm-exit-modal.component.d.ts +42 -0
  147. package/dist/lib/modern/modal-components/modern-confirm-here-modal.component.d.ts +39 -0
  148. package/dist/lib/modern/modal-components/modern-display-settings-modal.component.d.ts +59 -0
  149. package/dist/lib/modern/modal-components/modern-event-settings-modal.component.d.ts +80 -0
  150. package/dist/lib/modern/modal-components/modern-media-settings-modal.component.d.ts +72 -0
  151. package/dist/lib/modern/modal-components/modern-menu-modal.component.d.ts +48 -0
  152. package/dist/lib/modern/modal-components/modern-messages-modal.component.d.ts +58 -0
  153. package/dist/lib/modern/modal-components/modern-participants-modal.component.d.ts +49 -0
  154. package/dist/lib/modern/modal-components/modern-poll-modal.component.d.ts +54 -0
  155. package/dist/lib/modern/modal-components/modern-recording-modal.component.d.ts +39 -0
  156. package/dist/lib/modern/modal-components/modern-requests-modal.component.d.ts +61 -0
  157. package/dist/lib/modern/modal-components/modern-share-event-modal.component.d.ts +39 -0
  158. package/dist/lib/modern/modal-components/modern-waiting-room-modal.component.d.ts +55 -0
  159. package/dist/lib/modern/primitives/modern-button.component.d.ts +10 -0
  160. package/dist/lib/modern/primitives/modern-entry-shell.component.d.ts +6 -0
  161. package/dist/lib/modern/primitives/modern-field.component.d.ts +32 -0
  162. package/dist/lib/modern/primitives/modern-sidebar-panel.component.d.ts +24 -0
  163. package/dist/lib/modern/primitives/modern-surface.component.d.ts +7 -0
  164. package/dist/lib/modern/utils/render-mode.utils.d.ts +3 -0
  165. package/dist/lib/producer-client/producer-client-emits/create-device-client.service.d.ts +0 -9
  166. package/dist/lib/producer-client/producer-client-emits/join-room-client.service.d.ts +0 -19
  167. package/dist/lib/producer-client/producer-client-emits/update-room-parameters-client.service.d.ts +5 -62
  168. package/dist/lib/producers/producer-emits/join-con-room.service.d.ts +0 -18
  169. package/dist/lib/producers/producer-emits/join-local-room.service.d.ts +3 -106
  170. package/dist/lib/producers/producer-emits/join-room.service.d.ts +0 -18
  171. package/dist/lib/producers/socket-receive-methods/added-as-panelist.service.d.ts +15 -0
  172. package/dist/lib/producers/socket-receive-methods/all-members-rest.service.d.ts +1 -90
  173. package/dist/lib/producers/socket-receive-methods/all-members.service.d.ts +1 -88
  174. package/dist/lib/producers/socket-receive-methods/control-media-host.service.d.ts +1 -66
  175. package/dist/lib/producers/socket-receive-methods/meeting-still-there.service.d.ts +1 -1
  176. package/dist/lib/producers/socket-receive-methods/panelist-focus-changed.service.d.ts +25 -0
  177. package/dist/lib/producers/socket-receive-methods/panelists-updated.service.d.ts +19 -0
  178. package/dist/lib/producers/socket-receive-methods/permission-config-updated.service.d.ts +15 -0
  179. package/dist/lib/producers/socket-receive-methods/permission-updated.service.d.ts +17 -0
  180. package/dist/lib/producers/socket-receive-methods/person-joined.service.d.ts +1 -1
  181. package/dist/lib/producers/socket-receive-methods/producer-media-paused.service.d.ts +0 -80
  182. package/dist/lib/producers/socket-receive-methods/producer-media-resumed.service.d.ts +1 -1
  183. package/dist/lib/producers/socket-receive-methods/receive-control-media.service.d.ts +21 -0
  184. package/dist/lib/producers/socket-receive-methods/recording-notice.service.d.ts +1 -5
  185. package/dist/lib/producers/socket-receive-methods/removed-from-panelists.service.d.ts +15 -0
  186. package/dist/lib/producers/socket-receive-methods/room-record-params.service.d.ts +1 -1
  187. package/dist/lib/producers/socket-receive-methods/translation-receive-methods.service.d.ts +20 -0
  188. package/dist/lib/services/live-subtitle.service.d.ts +15 -0
  189. package/dist/lib/sockets/socket-manager.service.d.ts +1 -2
  190. package/dist/public-api.d.ts +42 -1
  191. package/package.json +106 -95
  192. package/dist/lib/methods/utils/producer/video-capture-constraints.service.d.ts +0 -177
@@ -90,41 +90,7 @@ export type ReorderStreamsType = (options: ReorderStreamsOptions) => Promise<voi
90
90
  * ```
91
91
  */
92
92
  export declare class ReorderStreams {
93
- /**
94
- * Reorders the video streams based on the provided options and updates the UI accordingly.
95
- *
96
- * @param {Object} options - The options for reordering streams.
97
- * @param {boolean} [options.add=false] - Whether to add new streams or not.
98
- * @param {boolean} [options.screenChanged=false] - Whether the screen has changed or not.
99
- * @param {ReorderStreamsOptions} options.parameters - The parameters required for reordering streams.
100
- *
101
- * @returns {Promise<void>} A promise that resolves when the reordering is complete.
102
- *
103
- * @typedef {Object} ReorderStreamsOptions
104
- * @property {Function} getUpdatedAllParams - Function to get updated parameters.
105
- * @property {Array} allVideoStreams - Array of all video streams.
106
- * @property {Array} participants - Array of participants.
107
- * @property {Array} oldAllStreams - Array of old streams.
108
- * @property {string} screenId - ID of the screen.
109
- * @property {string} adminVidID - ID of the admin video.
110
- * @property {Array} newLimitedStreams - Array of new limited streams.
111
- * @property {Array} newLimitedStreamsIDs - Array of new limited stream IDs.
112
- * @property {Array} activeSounds - Array of active sounds.
113
- * @property {string} screenShareIDStream - ID of the screen share stream.
114
- * @property {string} screenShareNameStream - Name of the screen share stream.
115
- * @property {string} adminIDStream - ID of the admin stream.
116
- * @property {string} adminNameStream - Name of the admin stream.
117
- * @property {Function} updateNewLimitedStreams - Function to update new limited streams.
118
- * @property {Function} updateNewLimitedStreamsIDs - Function to update new limited stream IDs.
119
- * @property {Function} updateActiveSounds - Function to update active sounds.
120
- * @property {Function} updateScreenShareIDStream - Function to update screen share ID stream.
121
- * @property {Function} updateScreenShareNameStream - Function to update screen share name stream.
122
- * @property {Function} updateAdminIDStream - Function to update admin ID stream.
123
- * @property {Function} updateAdminNameStream - Function to update admin name stream.
124
- * @property {Function} updateYouYouStream - Function to update YouYou stream.
125
- * @property {Function} changeVids - Function to reflect changes on the UI.
126
- */
127
- reorderStreams: ({ add, screenChanged, parameters, }: ReorderStreamsOptions) => Promise<void>;
93
+ reorderStreams({ add, screenChanged, parameters, }: ReorderStreamsOptions): Promise<void>;
128
94
  static ɵfac: i0.ɵɵFactoryDeclaration<ReorderStreams, never>;
129
95
  static ɵprov: i0.ɵɵInjectableDeclaration<ReorderStreams>;
130
96
  }
@@ -1,4 +1,3 @@
1
- import { JoinConRoom } from '../../producers/producer-emits/join-con-room.service';
2
1
  import { Socket } from 'socket.io-client';
3
2
  import { ReceiveAllPipedTransportsType, ReceiveAllPipedTransportsParameters, CreateDeviceClientType } from '../../@types/types';
4
3
  import { types } from 'mediasoup-client';
@@ -13,6 +12,7 @@ export interface JoinConsumeRoomParameters extends ReceiveAllPipedTransportsPara
13
12
  updateDevice: (device: Device | null) => void;
14
13
  receiveAllPipedTransports: ReceiveAllPipedTransportsType;
15
14
  createDeviceClient: CreateDeviceClientType;
15
+ getUpdatedAllParams: () => JoinConsumeRoomParameters;
16
16
  [key: string]: any;
17
17
  }
18
18
  export interface JoinConsumeRoomOptions {
@@ -60,18 +60,7 @@ export type JoinConsumeRoomType = (options: JoinConsumeRoomOptions) => Promise<J
60
60
  * ```
61
61
  */
62
62
  export declare class JoinConsumeRoom {
63
- private JoinConRoomService;
64
- constructor(JoinConRoomService: JoinConRoom);
65
- /**
66
- * Joins a consumption room by sending a request to the server and handles the necessary setup.
67
- * @param {Object} options - The options object containing necessary variables.
68
- * @param {any} options.remote_sock - The remote socket information.
69
- * @param {string} options.apiToken - The API token for authentication.
70
- * @param {string} options.apiUserName - The API username for authentication.
71
- * @param {any} options.parameters - Additional parameters required for the function.
72
- * @returns {Promise<any>} - A promise that resolves with data related to the success of joining the room.
73
- */
74
- joinConsumeRoom: ({ remote_sock, apiToken, apiUserName, parameters, }: JoinConsumeRoomOptions) => Promise<JoinConsumeRoomResponse>;
63
+ joinConsumeRoom({ remote_sock, apiToken, apiUserName, parameters, }: JoinConsumeRoomOptions): Promise<JoinConsumeRoomResponse>;
75
64
  static ɵfac: i0.ɵɵFactoryDeclaration<JoinConsumeRoom, never>;
76
65
  static ɵprov: i0.ɵɵInjectableDeclaration<JoinConsumeRoom>;
77
66
  }
@@ -1,4 +1,3 @@
1
- import { SignalNewConsumerTransport } from '../signal-new-consumer-transport.service';
2
1
  import { Socket } from 'socket.io-client';
3
2
  import { ReorderStreamsParameters, ReorderStreamsType, SignalNewConsumerTransportParameters, ConnectRecvTransportParameters, ConnectRecvTransportType, ShowAlert } from '../../@types/types';
4
3
  import { types } from 'mediasoup-client';
@@ -69,18 +68,7 @@ export type NewPipeProducerType = (options: NewPipeProducerOptions) => Promise<v
69
68
  * ```
70
69
  */
71
70
  export declare class NewPipeProducer {
72
- private signalNewConsumerTransportService;
73
- constructor(signalNewConsumerTransportService: SignalNewConsumerTransport);
74
- /**
75
- * Handles new pipe producer events and updates relevant states.
76
- * @param {Object} options - The options object containing necessary variables.
77
- * @param {string} options.producerId - The ID of the producer.
78
- * @param {string} options.islevel - The level of the producer.
79
- * @param {any} options.nsock - The socket object.
80
- * @param {any} options.parameters - Additional parameters required for the function.
81
- * @returns {Promise<void>}
82
- */
83
- newPipeProducer: ({ producerId, islevel, nsock, parameters, }: NewPipeProducerOptions) => Promise<void>;
71
+ newPipeProducer({ producerId, islevel, nsock, parameters, }: NewPipeProducerOptions): Promise<void>;
84
72
  static ɵfac: i0.ɵɵFactoryDeclaration<NewPipeProducer, never>;
85
73
  static ɵprov: i0.ɵɵInjectableDeclaration<NewPipeProducer>;
86
74
  }
@@ -41,14 +41,7 @@ export type ProducerClosedType = (options: ProducerClosedOptions) => Promise<voi
41
41
  * ```
42
42
  */
43
43
  export declare class ProducerClosed {
44
- /**
45
- * Handles the closing of a producer and resizes video elements.
46
- * @param {Object} options - The options object containing necessary variables.
47
- * @param {string} options.remoteProducerId - The ID of the remote producer.
48
- * @param {any} options.parameters - Additional parameters required for the function.
49
- * @returns {Promise<void>}
50
- */
51
- producerClosed: ({ remoteProducerId, parameters, }: ProducerClosedOptions) => Promise<void>;
44
+ producerClosed({ remoteProducerId, parameters, }: ProducerClosedOptions): Promise<void>;
52
45
  static ɵfac: i0.ɵɵFactoryDeclaration<ProducerClosed, never>;
53
46
  static ɵprov: i0.ɵɵInjectableDeclaration<ProducerClosed>;
54
47
  }
@@ -0,0 +1,68 @@
1
+ import { Transport, BreakoutParticipant, Participant, EventType } from '../@types/types';
2
+ import * as i0 from "@angular/core";
3
+ export interface TranslationConsumerSwitchParameters {
4
+ consumerTransports: Transport[];
5
+ roomName: string;
6
+ member: string;
7
+ updateConsumerTransports: (transports: Transport[]) => void;
8
+ breakOutRoomStarted?: boolean;
9
+ breakOutRoomEnded?: boolean;
10
+ breakoutRooms?: BreakoutParticipant[][];
11
+ limitedBreakRoom?: BreakoutParticipant[];
12
+ participants?: Participant[];
13
+ ref_participants?: Participant[];
14
+ islevel?: string;
15
+ eventType?: EventType;
16
+ hostNewRoom?: number;
17
+ [key: string]: any;
18
+ }
19
+ export interface PauseOriginalProducerOptions {
20
+ originalProducerId: string;
21
+ speakerId?: string;
22
+ parameters: TranslationConsumerSwitchParameters;
23
+ }
24
+ export interface ResumeOriginalProducerOptions {
25
+ originalProducerId: string;
26
+ speakerId?: string;
27
+ parameters: TranslationConsumerSwitchParameters;
28
+ }
29
+ export interface StopConsumingTranslationOptions {
30
+ speakerId?: string;
31
+ language: string;
32
+ translationProducerMap: Record<string, Record<string, string>>;
33
+ parameters: TranslationConsumerSwitchParameters;
34
+ }
35
+ export declare class TranslationConsumerSwitch {
36
+ isSpeakerInMyBreakoutRoom(speakerName: string, parameters: TranslationConsumerSwitchParameters): boolean;
37
+ pauseOriginalProducer({ originalProducerId, speakerId, parameters, }: PauseOriginalProducerOptions): Promise<void>;
38
+ resumeOriginalProducer({ originalProducerId, speakerId, parameters, }: ResumeOriginalProducerOptions): Promise<void>;
39
+ isConsumingTranslationForSpeaker(speakerId: string, consumerTransports: Transport[], translationProducerMap: Map<string, {
40
+ translationProducerId: string;
41
+ originalProducerId: string;
42
+ language: string;
43
+ }>): {
44
+ consuming: boolean;
45
+ language?: string;
46
+ translationProducerId?: string;
47
+ originalProducerId?: string;
48
+ };
49
+ getActiveTranslationConsumers(translationProducerMap: Map<string, {
50
+ translationProducerId: string;
51
+ originalProducerId: string;
52
+ language: string;
53
+ }>, consumerTransports: Transport[]): Array<{
54
+ speakerId: string;
55
+ translationProducerId: string;
56
+ originalProducerId: string;
57
+ language: string;
58
+ }>;
59
+ findOriginalProducerForSpeaker(speakerId: string, allAudioStreams: Array<{
60
+ producerId: string;
61
+ name?: string;
62
+ [key: string]: any;
63
+ }>): string | null;
64
+ stopConsumingTranslation(options: StopConsumingTranslationOptions): Promise<string | null>;
65
+ syncTranslationStateAfterBreakoutChange(translationProducerMap: Record<string, Record<string, string>>, speakerIdByProducerId: Record<string, string>, parameters: TranslationConsumerSwitchParameters): Promise<void>;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslationConsumerSwitch, never>;
67
+ static ɵprov: i0.ɵɵInjectableDeclaration<TranslationConsumerSwitch>;
68
+ }
@@ -27,86 +27,7 @@ export interface TriggerOptions {
27
27
  parameters: TriggerParameters;
28
28
  }
29
29
  export type TriggerType = (options: TriggerOptions) => Promise<void>;
30
- /**
31
- * Triggers an update to the screen client based on the provided parameters.
32
- *
33
- * This function handles various conditions to determine the main screen person,
34
- * adjusts the screen states, and emits an update to the screen client via socket.
35
- *
36
- * @param {TriggerOptions} options - The options for triggering the update.
37
- * @param {string[]} options.ref_ActiveNames - Reference to the active names.
38
- * @param {TriggerParameters} options.parameters - The parameters for the trigger.
39
- * @returns {Promise<void>} A promise that resolves when the trigger is complete.
40
- *
41
- * @throws Will throw an error if the updateScreenClient operation fails.
42
- *
43
- * @example
44
- * ```typescript
45
- * await trigger({
46
- * ref_ActiveNames: ["user1", "user2"],
47
- * parameters: {
48
- * socket: socketInstance,
49
- * localSocket: socketInstance,
50
- * roomName: "room1",
51
- * screenStates: [{ mainScreenPerson: "user1", mainScreenFilled: true, adminOnMainScreen: false }],
52
- * participants: [{ name: "admin", islevel: "2" }],
53
- * updateDateState: 0,
54
- * lastUpdate: null,
55
- * nForReadjust: 0,
56
- * eventType: "conference",
57
- * shared: false,
58
- * shareScreenStarted: false,
59
- * whiteboardStarted: false,
60
- * whiteboardEnded: false,
61
- * updateUpdateDateState: (date) => {},
62
- * updateLastUpdate: (date) => {},
63
- * updateNForReadjust: (n) => {},
64
- * autoAdjust: async ({ n, parameters }) => [n, 0],
65
- * },
66
- * });
67
- * ```
68
- */
69
30
  export declare class Trigger {
70
- /**
71
- * Triggers an update to the screen client based on the provided parameters.
72
- *
73
- * @param {TriggerOptions} options - The options for triggering the update.
74
- * @param {string[]} options.ref_ActiveNames - Reference to the active names.
75
- * @param {Parameters} options.parameters - The parameters for the trigger.
76
- * @returns {Promise<void>} A promise that resolves when the trigger is complete.
77
- *
78
- * @throws Will throw an error if the updateScreenClient operation fails.
79
- *
80
- * @remarks
81
- * This function handles various conditions to determine the main screen person,
82
- * adjusts the screen states, and emits an update to the screen client via socket.
83
- *
84
- * @example
85
- * ```typescript
86
- * await trigger({
87
- * ref_ActiveNames: ["user1", "user2"],
88
- * parameters: {
89
- * socket: socketInstance,
90
- * localSocket: socketInstance,
91
- * roomName: "room1",
92
- * screenStates: [{ mainScreenPerson: "user1", mainScreenFilled: true, adminOnMainScreen: false }],
93
- * participants: [{ name: "admin", islevel: "2" }],
94
- * updateDateState: 0,
95
- * lastUpdate: null,
96
- * nForReadjust: 0,
97
- * eventType: "conference",
98
- * shared: false,
99
- * shareScreenStarted: false,
100
- * whiteboardStarted: false,
101
- * whiteboardEnded: false,
102
- * updateUpdateDateState: (date) => {},
103
- * updateLastUpdate: (date) => {},
104
- * updateNForReadjust: (n) => {},
105
- * autoAdjust: async ({ n, parameters }) => [n, 0],
106
- * },
107
- * });
108
- * ```
109
- */
110
31
  trigger({ ref_ActiveNames, parameters }: TriggerOptions): Promise<void>;
111
32
  static ɵfac: i0.ɵɵFactoryDeclaration<Trigger, never>;
112
33
  static ɵprov: i0.ɵɵInjectableDeclaration<Trigger>;
@@ -78,30 +78,6 @@ export type UpdateMiniCardsGridType = (options: UpdateMiniCardsGridOptions) => P
78
78
  * ```
79
79
  */
80
80
  export declare class UpdateMiniCardsGrid {
81
- /**
82
- * Updates the mini cards grid based on the specified rows and columns.
83
- *
84
- * @param {object} options - The function parameters.
85
- * @param {number} options.rows - The number of rows in the grid.
86
- * @param {number} options.cols - The number of columns in the grid.
87
- * @param {boolean} options.defal - Flag indicating whether to update the default grid or an alternative grid.
88
- * @param {number} options.actualRows - The actual number of rows in the grid.
89
- * @param {number} options.ind - The index parameter.
90
- * @param {object} options.parameters - Additional parameters needed for the function.
91
- * @param {function} options.parameters.getUpdatedAllParams - Function to get updated parameters.
92
- * @param {function} options.parameters.updateGridRows - Function to update the grid rows.
93
- * @param {function} options.parameters.updateGridCols - Function to update the grid columns.
94
- * @param {function} options.parameters.updateAltGridRows - Function to update the alternative grid rows.
95
- * @param {function} options.parameters.updateAltGridCols - Function to update the alternative grid columns.
96
- * @param {function} options.parameters.updateGridSizes - Function to update the grid sizes.
97
- * @param {object} options.parameters.gridSizes - Object containing grid width and height.
98
- * @param {string} options.parameters.paginationDirection - The direction of pagination ('horizontal' or 'vertical').
99
- * @param {number} options.parameters.paginationHeightWidth - The height or width of pagination.
100
- * @param {boolean} options.parameters.doPaginate - Flag indicating whether pagination is enabled.
101
- * @param {object} options.parameters.componentSizes - Object containing container width and height.
102
- * @param {string} options.parameters.eventType - The type of event ('chat', etc.).
103
- * @returns {Promise<void>} - A Promise that resolves after updating the mini cards grid.
104
- */
105
81
  updateMiniCardsGrid({ rows, cols, defal, actualRows, parameters, }: UpdateMiniCardsGridOptions): Promise<void>;
106
82
  static ɵfac: i0.ɵɵFactoryDeclaration<UpdateMiniCardsGrid, never>;
107
83
  static ɵprov: i0.ɵɵInjectableDeclaration<UpdateMiniCardsGrid>;
@@ -29,8 +29,8 @@ export declare class WithOverrideDirective implements OnChanges, OnDestroy, DoCh
29
29
  props?: Record<string, any> | (() => Record<string, any>);
30
30
  customInjector?: Injector;
31
31
  get appWithOverrideDefault(): Type<any>;
32
- get appWithOverrideProps(): Record<string, any> | (() => Record<string, any>) | undefined;
33
- get appWithOverrideInjector(): Injector | undefined;
32
+ get appWithOverrideProps(): Record<string, any> | (() => Record<string, any>);
33
+ get appWithOverrideInjector(): Injector;
34
34
  private componentRef?;
35
35
  private embeddedDefaultView?;
36
36
  private renderedDefaultView?;
@@ -1,9 +1,6 @@
1
+ import type { LaunchBackgroundOptions } from 'mediasfu-shared';
1
2
  import * as i0 from "@angular/core";
2
- export interface LaunchBackgroundOptions {
3
- updateIsBackgroundModalVisible: (isVisible: boolean) => void;
4
- isBackgroundModalVisible: boolean;
5
- }
6
- export type LaunchBackgroundType = (options: LaunchBackgroundOptions) => void;
3
+ export type { LaunchBackgroundOptions, LaunchBackgroundType } from 'mediasfu-shared';
7
4
  /**
8
5
  * Toggles the visibility of the background modal.
9
6
  *
@@ -1,9 +1,6 @@
1
+ import type { LaunchBreakoutRoomsOptions } from 'mediasfu-shared';
1
2
  import * as i0 from "@angular/core";
2
- export interface LaunchBreakoutRoomsOptions {
3
- updateIsBreakoutRoomsModalVisible: (isVisible: boolean) => void;
4
- isBreakoutRoomsModalVisible: boolean;
5
- }
6
- export type LaunchBreakoutRoomsType = (options: LaunchBreakoutRoomsOptions) => void;
3
+ export type { LaunchBreakoutRoomsOptions, LaunchBreakoutRoomsType } from 'mediasfu-shared';
7
4
  /**
8
5
  * Launches the breakout rooms by toggling the visibility of the breakout rooms modal.
9
6
  *
@@ -1,9 +1,6 @@
1
+ import type { LaunchCoHostOptions } from 'mediasfu-shared';
1
2
  import * as i0 from "@angular/core";
2
- export interface LaunchCoHostOptions {
3
- updateIsCoHostModalVisible: (isVisible: boolean) => void;
4
- isCoHostModalVisible: boolean;
5
- }
6
- export type LaunchCoHostType = (options: LaunchCoHostOptions) => void;
3
+ export type { LaunchCoHostOptions, LaunchCoHostType } from 'mediasfu-shared';
7
4
  /**
8
5
  * Toggles the visibility of the co-host modal.
9
6
  *
@@ -80,7 +80,7 @@ export declare class ModifyCoHostSettings {
80
80
  * - A socket event is emitted to update the co-host information.
81
81
  * - The co-host modal is closed after updating the settings.
82
82
  */
83
- modifyCoHostSettings({ roomName, showAlert, selectedParticipant, coHost, coHostResponsibility, updateIsCoHostModalVisible, updateCoHostResponsibility, updateCoHost, socket, }: ModifyCoHostSettingsOptions): Promise<void>;
83
+ modifyCoHostSettings({ roomName, selectedParticipant, coHost, coHostResponsibility, updateIsCoHostModalVisible, updateCoHostResponsibility, updateCoHost, socket, }: ModifyCoHostSettingsOptions): Promise<void>;
84
84
  static ɵfac: i0.ɵɵFactoryDeclaration<ModifyCoHostSettings, never>;
85
85
  static ɵprov: i0.ɵɵInjectableDeclaration<ModifyCoHostSettings>;
86
86
  }
@@ -1,9 +1,6 @@
1
+ import type { LaunchDisplaySettingsOptions } from 'mediasfu-shared';
1
2
  import * as i0 from "@angular/core";
2
- export interface LaunchDisplaySettingsOptions {
3
- updateIsDisplaySettingsModalVisible: (isVisible: boolean) => void;
4
- isDisplaySettingsModalVisible: boolean;
5
- }
6
- export type LaunchDisplaySettingsType = (options: LaunchDisplaySettingsOptions) => void;
3
+ export type { LaunchDisplaySettingsOptions, LaunchDisplaySettingsType } from 'mediasfu-shared';
7
4
  /**
8
5
  * Toggles the visibility of the display settings modal.
9
6
  *
@@ -5,6 +5,7 @@ export interface ModifyDisplaySettingsParameters extends OnScreenChangesParamete
5
5
  meetingDisplayType: string;
6
6
  autoWave: boolean;
7
7
  forceFullDisplay: boolean;
8
+ showSubtitlesOnCards?: boolean;
8
9
  meetingVideoOptimized: boolean;
9
10
  islevel: string;
10
11
  recordStarted: boolean;
@@ -18,6 +19,7 @@ export interface ModifyDisplaySettingsParameters extends OnScreenChangesParamete
18
19
  updateMeetingDisplayType: (displayType: string) => void;
19
20
  updateAutoWave: (autoWave: boolean) => void;
20
21
  updateForceFullDisplay: (forceFullDisplay: boolean) => void;
22
+ updateShowSubtitlesOnCards?: (showSubtitlesOnCards: boolean) => void;
21
23
  updateMeetingVideoOptimized: (optimized: boolean) => void;
22
24
  updatePrevForceFullDisplay: (forceFullDisplay: boolean) => void;
23
25
  updatePrevMeetingDisplayType: (displayType: string) => void;
@@ -1,9 +1,6 @@
1
+ import type { LaunchConfirmExitOptions } from 'mediasfu-shared';
1
2
  import * as i0 from "@angular/core";
2
- export interface LaunchConfirmExitOptions {
3
- updateIsConfirmExitModalVisible: (isVisible: boolean) => void;
4
- isConfirmExitModalVisible: boolean;
5
- }
6
- export type LaunchConfirmExitType = (options: LaunchConfirmExitOptions) => void;
3
+ export type { LaunchConfirmExitOptions, LaunchConfirmExitType } from 'mediasfu-shared';
7
4
  /**
8
5
  * Toggles the visibility of the confirmation exit modal.
9
6
  *
@@ -1,9 +1,6 @@
1
+ import type { LaunchMenuModalOptions } from 'mediasfu-shared';
1
2
  import * as i0 from "@angular/core";
2
- export interface LaunchMenuModalOptions {
3
- updateIsMenuModalVisible: (isVisible: boolean) => void;
4
- isMenuModalVisible: boolean;
5
- }
6
- export type LaunchMenuModalType = (options: LaunchMenuModalOptions) => void;
3
+ export type { LaunchMenuModalOptions, LaunchMenuModalType } from 'mediasfu-shared';
7
4
  /**
8
5
  * Toggles the visibility of the menu modal.
9
6
  *
@@ -1,9 +1,6 @@
1
+ import type { LaunchMessagesOptions } from 'mediasfu-shared';
1
2
  import * as i0 from "@angular/core";
2
- export interface LaunchMessagesOptions {
3
- updateIsMessagesModalVisible: (visible: boolean) => void;
4
- isMessagesModalVisible: boolean;
5
- }
6
- export type LaunchMessagesType = (options: LaunchMessagesOptions) => void;
3
+ export type { LaunchMessagesOptions, LaunchMessagesType } from 'mediasfu-shared';
7
4
  /**
8
5
  * Toggles the visibility state of the messages modal.
9
6
  *
@@ -0,0 +1,19 @@
1
+ import { Socket } from 'socket.io-client';
2
+ import { Participant, ShowAlert } from '../../@types/types';
3
+ import * as i0 from "@angular/core";
4
+ export interface AddPanelistOptions {
5
+ socket: Socket;
6
+ participant: Participant;
7
+ currentPanelists: Participant[];
8
+ maxPanelists: number;
9
+ roomName: string;
10
+ member: string;
11
+ islevel: string;
12
+ showAlert?: ShowAlert;
13
+ }
14
+ export type AddPanelistType = (options: AddPanelistOptions) => Promise<boolean>;
15
+ export declare class AddPanelist {
16
+ addPanelist(options: AddPanelistOptions): Promise<boolean>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddPanelist, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<AddPanelist>;
19
+ }
@@ -0,0 +1,19 @@
1
+ import { Socket } from 'socket.io-client';
2
+ import { ShowAlert } from '../../@types/types';
3
+ import * as i0 from "@angular/core";
4
+ export interface FocusPanelistsOptions {
5
+ socket: Socket;
6
+ roomName: string;
7
+ member: string;
8
+ islevel: string;
9
+ focusEnabled: boolean;
10
+ muteOthersMic?: boolean;
11
+ muteOthersCamera?: boolean;
12
+ showAlert?: ShowAlert;
13
+ }
14
+ export type FocusPanelistsType = (options: FocusPanelistsOptions) => Promise<void>;
15
+ export declare class FocusPanelists {
16
+ focusPanelists(options: FocusPanelistsOptions): Promise<void>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<FocusPanelists, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<FocusPanelists>;
19
+ }
@@ -0,0 +1,17 @@
1
+ import { Socket } from 'socket.io-client';
2
+ import { Participant, ShowAlert } from '../../@types/types';
3
+ import * as i0 from "@angular/core";
4
+ export interface RemovePanelistOptions {
5
+ socket: Socket;
6
+ participant: Participant;
7
+ roomName: string;
8
+ member: string;
9
+ islevel: string;
10
+ showAlert?: ShowAlert;
11
+ }
12
+ export type RemovePanelistType = (options: RemovePanelistOptions) => Promise<void>;
13
+ export declare class RemovePanelist {
14
+ removePanelist(options: RemovePanelistOptions): Promise<void>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<RemovePanelist, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<RemovePanelist>;
17
+ }
@@ -1,9 +1,6 @@
1
+ import type { LaunchParticipantsOptions } from 'mediasfu-shared';
1
2
  import * as i0 from "@angular/core";
2
- export interface LaunchParticipantsOptions {
3
- updateIsParticipantsModalVisible: (isVisible: boolean) => void;
4
- isParticipantsModalVisible: boolean;
5
- }
6
- export type LaunchParticipantsType = (options: LaunchParticipantsOptions) => void;
3
+ export type { LaunchParticipantsOptions, LaunchParticipantsType } from 'mediasfu-shared';
7
4
  /**
8
5
  * Toggles the visibility of the participants modal.
9
6
  *
@@ -0,0 +1,20 @@
1
+ import { Socket } from 'socket.io-client';
2
+ import { Participant, ShowAlert } from '../../@types/types';
3
+ import { PermissionLevel } from './update-participant-permission.service';
4
+ import * as i0 from "@angular/core";
5
+ export interface BulkUpdateParticipantPermissionsOptions {
6
+ socket: Socket;
7
+ participants: Participant[];
8
+ newLevel: PermissionLevel;
9
+ member: string;
10
+ islevel: string;
11
+ roomName: string;
12
+ showAlert?: ShowAlert;
13
+ maxBatchSize?: number;
14
+ }
15
+ export type BulkUpdateParticipantPermissionsType = (options: BulkUpdateParticipantPermissionsOptions) => Promise<void>;
16
+ export declare class BulkUpdateParticipantPermissions {
17
+ bulkUpdateParticipantPermissions(options: BulkUpdateParticipantPermissionsOptions): Promise<void>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BulkUpdateParticipantPermissions, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<BulkUpdateParticipantPermissions>;
20
+ }
@@ -0,0 +1,19 @@
1
+ import { Socket } from 'socket.io-client';
2
+ import { Participant, ShowAlert } from '../../@types/types';
3
+ import * as i0 from "@angular/core";
4
+ export type PermissionLevel = '0' | '1' | '2';
5
+ export interface UpdateParticipantPermissionOptions {
6
+ socket: Socket;
7
+ participant: Participant;
8
+ newLevel: PermissionLevel;
9
+ member: string;
10
+ islevel: string;
11
+ roomName: string;
12
+ showAlert?: ShowAlert;
13
+ }
14
+ export type UpdateParticipantPermissionType = (options: UpdateParticipantPermissionOptions) => Promise<void>;
15
+ export declare class UpdateParticipantPermission {
16
+ updateParticipantPermission(options: UpdateParticipantPermissionOptions): Promise<void>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<UpdateParticipantPermission, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<UpdateParticipantPermission>;
19
+ }
@@ -0,0 +1,29 @@
1
+ import { Socket } from 'socket.io-client';
2
+ import { ShowAlert } from '../../@types/types';
3
+ import * as i0 from "@angular/core";
4
+ export interface PermissionCapabilities {
5
+ useMic: 'allow' | 'approval' | 'disallow';
6
+ useCamera: 'allow' | 'approval' | 'disallow';
7
+ useScreen: 'allow' | 'approval' | 'disallow';
8
+ useChat: 'allow' | 'disallow';
9
+ }
10
+ export interface PermissionConfig {
11
+ level0: PermissionCapabilities;
12
+ level1: PermissionCapabilities;
13
+ }
14
+ export interface UpdatePermissionConfigOptions {
15
+ socket: Socket;
16
+ config: PermissionConfig;
17
+ member: string;
18
+ islevel: string;
19
+ roomName: string;
20
+ showAlert?: ShowAlert;
21
+ }
22
+ export type UpdatePermissionConfigType = (options: UpdatePermissionConfigOptions) => Promise<void>;
23
+ export declare class UpdatePermissionConfig {
24
+ getDefaultPermissionConfig(): PermissionConfig;
25
+ getPermissionConfigFromEventSettings(audioSetting?: string, videoSetting?: string, screenshareSetting?: string, chatSetting?: string): PermissionConfig;
26
+ updatePermissionConfig({ socket, config, member, islevel, roomName, showAlert, }: UpdatePermissionConfigOptions): Promise<void>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<UpdatePermissionConfig, never>;
28
+ static ɵprov: i0.ɵɵInjectableDeclaration<UpdatePermissionConfig>;
29
+ }
@@ -56,7 +56,7 @@ export declare class HandleCreatePoll {
56
56
  * @param {Object} options.parameters - Additional parameters for creating the poll.
57
57
  * @returns {Promise<void>} - A promise that resolves when the poll is created successfully.
58
58
  */
59
- handleCreatePoll({ poll, socket, roomName, showAlert, updateIsPollModalVisible, }: HandleCreatePollOptions): Promise<void>;
59
+ handleCreatePoll(options: HandleCreatePollOptions): Promise<void>;
60
60
  static ɵfac: i0.ɵɵFactoryDeclaration<HandleCreatePoll, never>;
61
61
  static ɵprov: i0.ɵɵInjectableDeclaration<HandleCreatePoll>;
62
62
  }
@@ -53,7 +53,7 @@ export declare class HandleEndPoll {
53
53
  * @param {string} options.roomName - The name of the room where the poll is being conducted.
54
54
  * @returns {Promise<void>} A promise that resolves when the poll end operation is complete.
55
55
  */
56
- handleEndPoll({ pollId, socket, showAlert, roomName, updateIsPollModalVisible, }: HandleEndPollOptions): Promise<void>;
56
+ handleEndPoll(options: HandleEndPollOptions): Promise<void>;
57
57
  static ɵfac: i0.ɵɵFactoryDeclaration<HandleEndPoll, never>;
58
58
  static ɵprov: i0.ɵɵInjectableDeclaration<HandleEndPoll>;
59
59
  }
@@ -61,7 +61,7 @@ export declare class HandleVotePoll {
61
61
  *
62
62
  * @throws Will log an error message if there is an issue submitting the vote.
63
63
  */
64
- handleVotePoll({ pollId, optionIndex, socket, showAlert, member, roomName, updateIsPollModalVisible, }: HandleVotePollOptions): Promise<void>;
64
+ handleVotePoll(options: HandleVotePollOptions): Promise<void>;
65
65
  static ɵfac: i0.ɵɵFactoryDeclaration<HandleVotePoll, never>;
66
66
  static ɵprov: i0.ɵɵInjectableDeclaration<HandleVotePoll>;
67
67
  }
@@ -59,7 +59,7 @@ export declare class PollUpdated {
59
59
  * @param {Function} options.updateIsPollModalVisible - Function to update the visibility of the poll modal.
60
60
  * @returns {Promise<void>} A promise that resolves when the poll update is complete.
61
61
  */
62
- pollUpdated({ data, polls, poll, member, islevel, showAlert, updatePolls, updatePoll, updateIsPollModalVisible, }: PollUpdatedOptions): Promise<void>;
62
+ pollUpdated(options: PollUpdatedOptions): Promise<void>;
63
63
  static ɵfac: i0.ɵɵFactoryDeclaration<PollUpdated, never>;
64
64
  static ɵprov: i0.ɵɵInjectableDeclaration<PollUpdated>;
65
65
  }