mediasfu-angular 2.2.1 → 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 (215) hide show
  1. package/README.md +970 -40
  2. package/USAGE_COOKBOOK.md +202 -0
  3. package/dist/LICENSE +21 -0
  4. package/dist/README.md +970 -40
  5. package/dist/fesm2022/mediasfu-angular.mjs +30595 -16317
  6. package/dist/fesm2022/mediasfu-angular.mjs.map +1 -1
  7. package/dist/lib/@types/types.d.ts +28 -2
  8. package/dist/lib/@types/ui-overrides.types.d.ts +314 -0
  9. package/dist/lib/components/background-components/background-modal/background-modal.component.d.ts +1053 -5
  10. package/dist/lib/components/breakout-components/breakout-rooms-modal.component.d.ts +2126 -51
  11. package/dist/lib/components/breakout-components/edit-room-modal/edit-room-modal.component.d.ts +1587 -45
  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 +1067 -56
  14. package/dist/lib/components/display-components/alert-component/alert.component.component.d.ts +98 -28
  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 +591 -11
  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 +617 -26
  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 +2024 -10
  30. package/dist/lib/components/display-components/main-aspect-component/main-aspect-component.component.d.ts +6 -2
  31. package/dist/lib/components/display-components/main-container-component/main-container-component.component.d.ts +6 -2
  32. package/dist/lib/components/display-components/main-grid-component/main-grid-component.component.d.ts +507 -8
  33. package/dist/lib/components/display-components/main-screen-component/main-screen-component.component.d.ts +508 -7
  34. package/dist/lib/components/display-components/meeting-progress-timer/meeting-progress-timer.component.d.ts +18 -11
  35. package/dist/lib/components/display-components/mini-audio/mini-audio.component.d.ts +11 -3
  36. package/dist/lib/components/display-components/mini-card/mini-card.component.d.ts +1026 -999
  37. package/dist/lib/components/display-components/mini-card-audio/mini-card-audio.component.d.ts +9 -3
  38. package/dist/lib/components/display-components/other-grid-component/other-grid-component.component.d.ts +517 -1
  39. package/dist/lib/components/display-components/pagination/pagination.component.d.ts +34 -1
  40. package/dist/lib/components/display-components/sub-aspect-component/sub-aspect-component.component.d.ts +513 -2
  41. package/dist/lib/components/display-components/subtitle-overlay/subtitle-overlay.component.d.ts +6 -0
  42. package/dist/lib/components/display-components/video-card/video-card.component.d.ts +10 -6
  43. package/dist/lib/components/display-settings-components/display-settings-modal.component.d.ts +1108 -27
  44. package/dist/lib/components/event-settings-components/event-settings-modal/event-settings-modal.component.d.ts +1134 -49
  45. package/dist/lib/components/exit-components/confirm-exit-modal/confirm-exit-modal.component.d.ts +94 -32
  46. package/dist/lib/components/media-settings-components/media-settings-modal/media-settings-modal.component.d.ts +1123 -47
  47. package/dist/lib/components/mediasfu-components/mediasfu-broadcast.component.d.ts +2622 -4793
  48. package/dist/lib/components/mediasfu-components/mediasfu-chat.component.d.ts +602 -4140
  49. package/dist/lib/components/mediasfu-components/mediasfu-conference.component.d.ts +864 -5707
  50. package/dist/lib/components/mediasfu-components/mediasfu-generic.component.d.ts +2087 -6304
  51. package/dist/lib/components/mediasfu-components/mediasfu-webinar.component.d.ts +650 -5707
  52. package/dist/lib/components/menu-components/custom-buttons/custom-buttons.component.d.ts +26 -4
  53. package/dist/lib/components/menu-components/meeting-id-component/meeting-id-component.component.d.ts +80 -1
  54. package/dist/lib/components/menu-components/meeting-passcode-component/meeting-passcode-component.component.d.ts +46 -1
  55. package/dist/lib/components/menu-components/menu-modal/menu-modal.component.d.ts +706 -15
  56. package/dist/lib/components/menu-components/share-buttons-component/share-buttons-component.component.d.ts +49 -2
  57. package/dist/lib/components/message-components/messages-modal/messages-modal.component.d.ts +79 -16
  58. package/dist/lib/components/misc-components/confirm-here-modal/confirm-here-modal.component.d.ts +1113 -17
  59. package/dist/lib/components/misc-components/pre-join-page/pre-join-page.component.d.ts +4 -0
  60. package/dist/lib/components/misc-components/share-event-modal/share-event-modal.component.d.ts +1114 -29
  61. package/dist/lib/components/panelists-components/panelists-modal/panelists-modal.component.d.ts +73 -0
  62. package/dist/lib/components/participants-components/participants-modal/participants-modal.component.d.ts +1084 -6
  63. package/dist/lib/components/permissions-components/permissions-modal/permissions-modal.component.d.ts +89 -0
  64. package/dist/lib/components/polls-components/poll-modal/poll-modal.component.d.ts +1060 -21
  65. package/dist/lib/components/recording-components/recording-modal/recording-modal.component.d.ts +1055 -35
  66. package/dist/lib/components/requests-components/requests-modal/requests-modal.component.d.ts +1117 -45
  67. package/dist/lib/components/screenboard-components/screenboard-modal/screenboard-modal.component.d.ts +1059 -47
  68. package/dist/lib/components/translation-components/translation-settings-modal/translation-settings-modal.component.d.ts +124 -0
  69. package/dist/lib/components/waiting-components/waiting-room-modal.component.d.ts +1119 -46
  70. package/dist/lib/components/whiteboard-components/configure-whiteboard-modal/configure-whiteboard-modal.component.d.ts +2117 -22
  71. package/dist/lib/components/whiteboard-components/whiteboard/whiteboard.component.d.ts +3 -15
  72. package/dist/lib/consumers/add-videos-grid.service.d.ts +3 -0
  73. package/dist/lib/consumers/auto-adjust.service.d.ts +0 -11
  74. package/dist/lib/consumers/calculate-rows-and-columns.service.d.ts +0 -7
  75. package/dist/lib/consumers/change-vids.service.d.ts +1 -1
  76. package/dist/lib/consumers/check-permission.service.d.ts +4 -1
  77. package/dist/lib/consumers/check-screen-share.service.d.ts +0 -18
  78. package/dist/lib/consumers/compare-active-names.service.d.ts +0 -16
  79. package/dist/lib/consumers/compare-screen-states.service.d.ts +0 -18
  80. package/dist/lib/consumers/connect-ips.service.d.ts +5 -26
  81. package/dist/lib/consumers/connect-local-ips.service.d.ts +1 -28
  82. package/dist/lib/consumers/connect-recv-transport.service.d.ts +4 -1
  83. package/dist/lib/consumers/connect-send-transport-audio.service.d.ts +5 -1
  84. package/dist/lib/consumers/connect-send-transport-screen.service.d.ts +6 -1
  85. package/dist/lib/consumers/connect-send-transport-video.service.d.ts +6 -1
  86. package/dist/lib/consumers/connect-send-transport.service.d.ts +3 -1
  87. package/dist/lib/consumers/consumer-resume.service.d.ts +2 -1
  88. package/dist/lib/consumers/create-send-transport.service.d.ts +4 -1
  89. package/dist/lib/consumers/disconnect-send-transport-audio.service.d.ts +3 -1
  90. package/dist/lib/consumers/disconnect-send-transport-screen.service.d.ts +3 -1
  91. package/dist/lib/consumers/disconnect-send-transport-video.service.d.ts +3 -1
  92. package/dist/lib/consumers/disp-streams.service.d.ts +1 -110
  93. package/dist/lib/consumers/generate-page-content.service.d.ts +0 -17
  94. package/dist/lib/consumers/get-estimate.service.d.ts +0 -21
  95. package/dist/lib/consumers/mix-streams.service.d.ts +0 -19
  96. package/dist/lib/consumers/on-screen-changes.service.d.ts +1 -21
  97. package/dist/lib/consumers/prepopulate-user-media.service.d.ts +3 -0
  98. package/dist/lib/consumers/process-consumer-transports-audio.service.d.ts +1 -14
  99. package/dist/lib/consumers/process-consumer-transports.service.d.ts +3 -57
  100. package/dist/lib/consumers/re-update-inter.service.d.ts +1 -39
  101. package/dist/lib/consumers/reorder-streams.service.d.ts +1 -35
  102. package/dist/lib/consumers/resume-send-transport-audio.service.d.ts +3 -1
  103. package/dist/lib/consumers/signal-new-consumer-transport.service.d.ts +3 -1
  104. package/dist/lib/consumers/socket-receive-methods/join-consume-room.service.d.ts +5 -14
  105. package/dist/lib/consumers/socket-receive-methods/new-pipe-producer.service.d.ts +4 -14
  106. package/dist/lib/consumers/socket-receive-methods/producer-closed.service.d.ts +1 -8
  107. package/dist/lib/consumers/stream-success-audio-switch.service.d.ts +5 -1
  108. package/dist/lib/consumers/stream-success-audio.service.d.ts +3 -1
  109. package/dist/lib/consumers/stream-success-video.service.d.ts +5 -1
  110. package/dist/lib/consumers/translation-consumer-switch.service.d.ts +68 -0
  111. package/dist/lib/consumers/trigger.service.d.ts +0 -79
  112. package/dist/lib/consumers/update-mini-cards-grid.service.d.ts +0 -24
  113. package/dist/lib/directives/with-override.directive.d.ts +76 -0
  114. package/dist/lib/methods/background-methods/launch-background.service.d.ts +2 -5
  115. package/dist/lib/methods/breakout-room-methods/launch-breakout-rooms.service.d.ts +2 -5
  116. package/dist/lib/methods/co-host-methods/launch-co-host.service.d.ts +2 -5
  117. package/dist/lib/methods/co-host-methods/modify-co-host-settings.service.d.ts +1 -1
  118. package/dist/lib/methods/display-settings-methods/launch-display-settings.service.d.ts +2 -5
  119. package/dist/lib/methods/display-settings-methods/modify-display-settings.service.d.ts +2 -0
  120. package/dist/lib/methods/exit-methods/launch-confirm-exit.service.d.ts +2 -5
  121. package/dist/lib/methods/menu-methods/launch-menu-modal.service.d.ts +2 -5
  122. package/dist/lib/methods/message-methods/launch-messages.service.d.ts +2 -5
  123. package/dist/lib/methods/panelists-methods/add-panelist.service.d.ts +19 -0
  124. package/dist/lib/methods/panelists-methods/focus-panelists.service.d.ts +19 -0
  125. package/dist/lib/methods/panelists-methods/remove-panelist.service.d.ts +17 -0
  126. package/dist/lib/methods/participants-methods/launch-participants.service.d.ts +2 -5
  127. package/dist/lib/methods/permissions-methods/bulk-update-participant-permissions.service.d.ts +20 -0
  128. package/dist/lib/methods/permissions-methods/update-participant-permission.service.d.ts +19 -0
  129. package/dist/lib/methods/permissions-methods/update-permission-config.service.d.ts +29 -0
  130. package/dist/lib/methods/polls-methods/handle-create-poll.service.d.ts +1 -1
  131. package/dist/lib/methods/polls-methods/handle-end-poll.service.d.ts +1 -1
  132. package/dist/lib/methods/polls-methods/handle-vote-poll.service.d.ts +1 -1
  133. package/dist/lib/methods/polls-methods/poll-updated.service.d.ts +1 -1
  134. package/dist/lib/methods/recording-methods/check-pause-state.service.d.ts +1 -12
  135. package/dist/lib/methods/recording-methods/check-resume-state.service.d.ts +1 -11
  136. package/dist/lib/methods/recording-methods/confirm-recording.service.d.ts +0 -94
  137. package/dist/lib/methods/recording-methods/launch-recording.service.d.ts +1 -20
  138. package/dist/lib/methods/recording-methods/record-pause-timer.service.d.ts +1 -12
  139. package/dist/lib/methods/recording-methods/record-resume-timer.service.d.ts +0 -66
  140. package/dist/lib/methods/recording-methods/record-start-timer.service.d.ts +1 -33
  141. package/dist/lib/methods/recording-methods/record-update-timer.service.d.ts +1 -17
  142. package/dist/lib/methods/recording-methods/start-recording.service.d.ts +1 -92
  143. package/dist/lib/methods/recording-methods/stop-recording.service.d.ts +1 -42
  144. package/dist/lib/methods/recording-methods/update-recording.service.d.ts +1 -94
  145. package/dist/lib/methods/requests-methods/launch-requests.service.d.ts +2 -5
  146. package/dist/lib/methods/settings-methods/launch-settings.service.d.ts +2 -5
  147. package/dist/lib/methods/settings-methods/modify-settings.service.d.ts +1 -1
  148. package/dist/lib/methods/stream-methods/click-chat.service.d.ts +1 -1
  149. package/dist/lib/methods/utils/get-modal-position.util.d.ts +0 -3
  150. package/dist/lib/methods/utils/initial-values.util.d.ts +25 -3
  151. package/dist/lib/methods/utils/mini-audio-player/mini-audio-player.component.d.ts +11 -1
  152. package/dist/lib/methods/utils/producer/a-params.service.d.ts +2 -5
  153. package/dist/lib/methods/utils/producer/h-params.service.d.ts +2 -5
  154. package/dist/lib/methods/utils/producer/screen-params.service.d.ts +2 -5
  155. package/dist/lib/methods/utils/producer/v-params.service.d.ts +2 -5
  156. package/dist/lib/methods/utils/sound-player.service.d.ts +1 -1
  157. package/dist/lib/methods/utils/translation-languages.util.d.ts +341 -0
  158. package/dist/lib/methods/waiting-methods/launch-waiting.service.d.ts +2 -5
  159. package/dist/lib/methods/whiteboard-methods/capture-canvas-stream.service.d.ts +3 -1
  160. package/dist/lib/modern/display-components/modern-alert.component.d.ts +40 -0
  161. package/dist/lib/modern/display-components/modern-loading-modal.component.d.ts +37 -0
  162. package/dist/lib/modern/display-components/modern-meeting-progress-timer.component.d.ts +40 -0
  163. package/dist/lib/modern/display-components/modern-mini-card.component.d.ts +1064 -0
  164. package/dist/lib/modern/display-components/modern-pagination.component.d.ts +91 -0
  165. package/dist/lib/modern/display-components/modern-participants-counter-badge.component.d.ts +16 -0
  166. package/dist/lib/modern/modal-components/modern-co-host-modal.component.d.ts +63 -0
  167. package/dist/lib/modern/modal-components/modern-confirm-exit-modal.component.d.ts +42 -0
  168. package/dist/lib/modern/modal-components/modern-confirm-here-modal.component.d.ts +39 -0
  169. package/dist/lib/modern/modal-components/modern-display-settings-modal.component.d.ts +59 -0
  170. package/dist/lib/modern/modal-components/modern-event-settings-modal.component.d.ts +80 -0
  171. package/dist/lib/modern/modal-components/modern-media-settings-modal.component.d.ts +72 -0
  172. package/dist/lib/modern/modal-components/modern-menu-modal.component.d.ts +48 -0
  173. package/dist/lib/modern/modal-components/modern-messages-modal.component.d.ts +58 -0
  174. package/dist/lib/modern/modal-components/modern-participants-modal.component.d.ts +49 -0
  175. package/dist/lib/modern/modal-components/modern-poll-modal.component.d.ts +54 -0
  176. package/dist/lib/modern/modal-components/modern-recording-modal.component.d.ts +39 -0
  177. package/dist/lib/modern/modal-components/modern-requests-modal.component.d.ts +61 -0
  178. package/dist/lib/modern/modal-components/modern-share-event-modal.component.d.ts +39 -0
  179. package/dist/lib/modern/modal-components/modern-waiting-room-modal.component.d.ts +55 -0
  180. package/dist/lib/modern/primitives/modern-button.component.d.ts +10 -0
  181. package/dist/lib/modern/primitives/modern-entry-shell.component.d.ts +6 -0
  182. package/dist/lib/modern/primitives/modern-field.component.d.ts +32 -0
  183. package/dist/lib/modern/primitives/modern-sidebar-panel.component.d.ts +24 -0
  184. package/dist/lib/modern/primitives/modern-surface.component.d.ts +7 -0
  185. package/dist/lib/modern/utils/render-mode.utils.d.ts +3 -0
  186. package/dist/lib/producer-client/producer-client-emits/create-device-client.service.d.ts +4 -10
  187. package/dist/lib/producer-client/producer-client-emits/join-room-client.service.d.ts +0 -19
  188. package/dist/lib/producer-client/producer-client-emits/update-room-parameters-client.service.d.ts +8 -63
  189. package/dist/lib/producers/producer-emits/join-con-room.service.d.ts +3 -19
  190. package/dist/lib/producers/producer-emits/join-local-room.service.d.ts +3 -106
  191. package/dist/lib/producers/producer-emits/join-room.service.d.ts +0 -18
  192. package/dist/lib/producers/socket-receive-methods/added-as-panelist.service.d.ts +15 -0
  193. package/dist/lib/producers/socket-receive-methods/all-members-rest.service.d.ts +1 -90
  194. package/dist/lib/producers/socket-receive-methods/all-members.service.d.ts +1 -88
  195. package/dist/lib/producers/socket-receive-methods/control-media-host.service.d.ts +1 -66
  196. package/dist/lib/producers/socket-receive-methods/get-domains.service.d.ts +3 -1
  197. package/dist/lib/producers/socket-receive-methods/meeting-still-there.service.d.ts +1 -1
  198. package/dist/lib/producers/socket-receive-methods/panelist-focus-changed.service.d.ts +25 -0
  199. package/dist/lib/producers/socket-receive-methods/panelists-updated.service.d.ts +19 -0
  200. package/dist/lib/producers/socket-receive-methods/permission-config-updated.service.d.ts +15 -0
  201. package/dist/lib/producers/socket-receive-methods/permission-updated.service.d.ts +17 -0
  202. package/dist/lib/producers/socket-receive-methods/person-joined.service.d.ts +1 -1
  203. package/dist/lib/producers/socket-receive-methods/producer-media-paused.service.d.ts +0 -80
  204. package/dist/lib/producers/socket-receive-methods/producer-media-resumed.service.d.ts +1 -1
  205. package/dist/lib/producers/socket-receive-methods/receive-control-media.service.d.ts +21 -0
  206. package/dist/lib/producers/socket-receive-methods/recording-notice.service.d.ts +1 -5
  207. package/dist/lib/producers/socket-receive-methods/removed-from-panelists.service.d.ts +15 -0
  208. package/dist/lib/producers/socket-receive-methods/room-record-params.service.d.ts +1 -1
  209. package/dist/lib/producers/socket-receive-methods/translation-receive-methods.service.d.ts +20 -0
  210. package/dist/lib/services/live-subtitle.service.d.ts +15 -0
  211. package/dist/lib/services/ui-override-resolver.service.d.ts +91 -0
  212. package/dist/lib/sockets/socket-manager.service.d.ts +1 -2
  213. package/dist/public-api.d.ts +46 -1
  214. package/package.json +106 -95
  215. package/dist/lib/methods/utils/producer/video-capture-constraints.service.d.ts +0 -177
@@ -424,22 +424,10 @@ export declare class Whiteboard implements OnInit, OnDestroy, OnChanges {
424
424
  undo(): void;
425
425
  redo(): void;
426
426
  saveState(): void;
427
- findShape(x: number, y: number): Shape | undefined;
427
+ findShape(x: number, y: number): Shape;
428
428
  drawSelection(shape: any): void;
429
- getResizeHandles(shape: any): ({
430
- isCenter: boolean;
431
- x: any;
432
- y: any;
433
- } | {
434
- isCenter: boolean;
435
- x: any;
436
- y: any;
437
- })[];
438
- getHandleAtPosition(x: number, y: number): {
439
- isCenter: boolean;
440
- x: any;
441
- y: any;
442
- } | null | undefined;
429
+ getResizeHandles(shape: any): any[];
430
+ getHandleAtPosition(x: number, y: number): any;
443
431
  resizeShape(shape: any, handle: any, x: number, y: number): void;
444
432
  moveShape(shape: any, dx: number, dy: number): void;
445
433
  downloadCanvas(tempCanvas: HTMLCanvasElement): void;
@@ -15,6 +15,9 @@ export interface AddVideosGridParameters extends UpdateMiniCardsGridParameters,
15
15
  customVideoCard?: any;
16
16
  customAudioCard?: any;
17
17
  customMiniCard?: any;
18
+ videoCardComponent?: any;
19
+ audioCardComponent?: any;
20
+ miniCardComponent?: any;
18
21
  updateMiniCardsGrid: UpdateMiniCardsGridType;
19
22
  getUpdatedAllParams: () => AddVideosGridParameters;
20
23
  [key: string]: any;
@@ -34,17 +34,6 @@ export type AutoAdjustType = (options: AutoAdjustOptions) => Promise<number[]>;
34
34
  * ```
35
35
  */
36
36
  export declare class AutoAdjust {
37
- /**
38
- * Adjusts values based on the provided options.
39
- *
40
- * @param {AutoAdjustOptions} options - The options for auto adjustment.
41
- * @param {number} options.n - The number of participants.
42
- * @param {string} options.eventType - The type of event (e.g., 'broadcast', 'chat', 'conference').
43
- * @param {boolean} options.shareScreenStarted - Indicates if screen sharing has started.
44
- * @param {boolean} options.shared - Indicates if something is shared.
45
- *
46
- * @returns {Promise<number[]>} A promise that resolves to an array containing the adjusted values.
47
- */
48
37
  autoAdjust({ n, eventType, shareScreenStarted, shared, }: AutoAdjustOptions): Promise<number[]>;
49
38
  static ɵfac: i0.ɵɵFactoryDeclaration<AutoAdjust, never>;
50
39
  static ɵprov: i0.ɵɵInjectableDeclaration<AutoAdjust>;
@@ -22,13 +22,6 @@ export type CalculateRowsAndColumnsType = (options: CalculateRowsAndColumnsOptio
22
22
  * ```
23
23
  */
24
24
  export declare class CalculateRowsAndColumns {
25
- /**
26
- * Calculates the number of rows and columns needed to display a given number of items in a grid.
27
- *
28
- * @param {CalculateRowsAndColumnsOptions} options - The options for calculating rows and columns.
29
- * @param {number} options.n - The number of items to display.
30
- * @returns {[number, number]} A tuple containing the number of rows and columns.
31
- */
32
25
  calculateRowsAndColumns({ n }: CalculateRowsAndColumnsOptions): [number, number];
33
26
  static ɵfac: i0.ɵɵFactoryDeclaration<CalculateRowsAndColumns, never>;
34
27
  static ɵprov: i0.ɵɵInjectableDeclaration<CalculateRowsAndColumns>;
@@ -196,7 +196,7 @@ export type ChangeVidsType = (options: ChangeVidsOptions) => Promise<void>;
196
196
  * ```
197
197
  */
198
198
  export declare class ChangeVids {
199
- changeVids: ({ screenChanged, parameters }: ChangeVidsOptions) => Promise<void>;
199
+ changeVids({ screenChanged, parameters }: ChangeVidsOptions): Promise<void>;
200
200
  static ɵfac: i0.ɵɵFactoryDeclaration<ChangeVids, never>;
201
201
  static ɵprov: i0.ɵɵInjectableDeclaration<ChangeVids>;
202
202
  }
@@ -1,3 +1,4 @@
1
+ import { PermissionConfig } from '../methods/permissions-methods/update-permission-config.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export interface CheckPermissionOptions {
3
4
  audioSetting: string;
@@ -5,6 +6,8 @@ export interface CheckPermissionOptions {
5
6
  screenshareSetting: string;
6
7
  chatSetting: string;
7
8
  permissionType: 'audioSetting' | 'videoSetting' | 'screenshareSetting' | 'chatSetting';
9
+ permissionConfig?: PermissionConfig | null;
10
+ participantLevel?: string;
8
11
  }
9
12
  export type CheckPermissionType = (options: CheckPermissionOptions) => Promise<number>;
10
13
  /**
@@ -45,7 +48,7 @@ export declare class CheckPermission {
45
48
  * @returns {Promise<number>} - Returns 0 if the setting is "allow", 1 if the setting is "approval", and 2 for other settings or invalid permission types.
46
49
  * @throws Will throw an error if an unexpected error occurs during the permission check.
47
50
  */
48
- checkPermission({ permissionType, audioSetting, videoSetting, screenshareSetting, chatSetting, }: CheckPermissionOptions): Promise<number>;
51
+ checkPermission({ permissionType, audioSetting, videoSetting, screenshareSetting, chatSetting, permissionConfig, participantLevel, }: CheckPermissionOptions): Promise<number>;
49
52
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckPermission, never>;
50
53
  static ɵprov: i0.ɵɵInjectableDeclaration<CheckPermission>;
51
54
  }
@@ -52,24 +52,6 @@ export type CheckScreenShareType = (options: CheckScreenShareOptions) => Promise
52
52
  * // Output: Logic to request screen sharing will be executed.
53
53
  */
54
54
  export declare class CheckScreenShare {
55
- /**
56
- * Checks the current screen sharing status and either stops or requests screen sharing based on the provided parameters.
57
- *
58
- * @param {CheckScreenShareOptions} options - The options for checking screen share.
59
- * @param {Object} options.parameters - The parameters for screen sharing.
60
- * @param {boolean} options.parameters.shared - Indicates if the screen is currently being shared.
61
- * @param {Function} [options.parameters.showAlert] - Function to show alerts.
62
- * @param {boolean} options.parameters.whiteboardStarted - Indicates if the whiteboard session has started.
63
- * @param {boolean} options.parameters.whiteboardEnded - Indicates if the whiteboard session has ended.
64
- * @param {boolean} options.parameters.breakOutRoomStarted - Indicates if the breakout room session has started.
65
- * @param {boolean} options.parameters.breakOutRoomEnded - Indicates if the breakout room session has ended.
66
- * @param {Function} options.parameters.stopShareScreen - Function to stop screen sharing.
67
- * @param {Function} options.parameters.requestScreenShare - Function to request screen sharing.
68
- *
69
- * @returns {Promise<void>} A promise that resolves when the screen sharing status has been checked and the appropriate action has been taken.
70
- *
71
- * @throws Will log an error message if an error occurs during the process.
72
- */
73
55
  checkScreenShare: ({ parameters }: CheckScreenShareOptions) => Promise<void>;
74
56
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckScreenShare, never>;
75
57
  static ɵprov: i0.ɵɵInjectableDeclaration<CheckScreenShare>;
@@ -46,22 +46,6 @@ export type CompareActiveNamesType = (options: CompareActiveNamesOptions) => Pro
46
46
  * // If 'Bob' is not in the previous active names, it will trigger the action.
47
47
  */
48
48
  export declare class CompareActiveNames {
49
- /**
50
- * Compares the current active names with the previous active names and triggers an action if there are changes.
51
- *
52
- * @param {Object} options - The options for comparing active names.
53
- * @param {boolean} [options.restart=false] - Whether to restart the comparison.
54
- * @param {CompareActiveNamesOptions} options.parameters - The parameters for the comparison.
55
- * @param {Function} options.parameters.getUpdatedAllParams - Function to get updated parameters.
56
- * @param {string[]} options.parameters.activeNames - The current active names.
57
- * @param {string[]} options.parameters.prevActiveNames - The previous active names.
58
- * @param {Function} options.parameters.updatePrevActiveNames - Function to update the previous active names.
59
- * @param {Function} options.parameters.trigger - Function to trigger an action when names change.
60
- *
61
- * @returns {Promise<void>} A promise that resolves when the comparison is complete.
62
- *
63
- * @throws Will log an error message if an error occurs during the comparison.
64
- */
65
49
  compareActiveNames({ restart, parameters, }: CompareActiveNamesOptions): Promise<void>;
66
50
  static ɵfac: i0.ɵɵFactoryDeclaration<CompareActiveNames, never>;
67
51
  static ɵprov: i0.ɵɵInjectableDeclaration<CompareActiveNames>;
@@ -51,24 +51,6 @@ export type CompareScreenStatesType = (options: CompareScreenStatesOptions) => P
51
51
  * // If any screen state has changed, the trigger function will be called accordingly.
52
52
  */
53
53
  export declare class CompareScreenStates {
54
- /**
55
- * Compares the current screen states with the previous screen states and triggers actions based on changes.
56
- *
57
- * @param {Object} options - The options for comparing screen states.
58
- * @param {boolean} [options.restart=false] - Whether to restart the comparison process.
59
- * @param {CompareScreenStatesOptions} options.parameters - The parameters for the comparison.
60
- * @param {Function} options.parameters.getUpdatedAllParams - Function to get updated parameters.
61
- * @param {string} options.parameters.recordingDisplayType - The type of display being recorded.
62
- * @param {boolean} options.parameters.recordingVideoOptimized - Whether the recording is optimized for video.
63
- * @param {Array<ScreenState>} options.parameters.screenStates - The current screen states.
64
- * @param {Array<ScreenState>} options.parameters.prevScreenStates - The previous screen states.
65
- * @param {Array<string>} options.parameters.activeNames - The active names in the current context.
66
- * @param {Function} options.parameters.trigger - Function to trigger actions based on changes.
67
- *
68
- * @returns {Promise<void>} A promise that resolves when the comparison and any triggered actions are complete.
69
- *
70
- * @throws Will log an error message if an error occurs during the comparison process.
71
- */
72
54
  compareScreenStates({ restart, parameters, }: CompareScreenStatesOptions): Promise<void>;
73
55
  static ɵfac: i0.ɵɵFactoryDeclaration<CompareScreenStates, never>;
74
56
  static ɵprov: i0.ɵɵInjectableDeclaration<CompareScreenStates>;
@@ -1,10 +1,10 @@
1
- import { SocketManager } from '../sockets/socket-manager.service';
2
1
  import { NewPipeProducer } from './socket-receive-methods/new-pipe-producer.service';
3
2
  import { ProducerClosed } from './socket-receive-methods/producer-closed.service';
4
3
  import { JoinConsumeRoom } from './socket-receive-methods/join-consume-room.service';
5
- import { Device } from 'mediasoup-client/lib/types';
4
+ import { types } from 'mediasoup-client';
6
5
  import { ReorderStreamsParameters, ReorderStreamsType, NewPipeProducerParameters, NewPipeProducerType, ProducerClosedType, ProducerClosedParameters, JoinConsumeRoomType, JoinConsumeRoomParameters, ConsumeSocket } from '../@types/types';
7
6
  import * as i0 from "@angular/core";
7
+ type Device = types.Device;
8
8
  export interface ConnectIpsParameters extends ReorderStreamsParameters, JoinConsumeRoomParameters, ProducerClosedParameters, NewPipeProducerParameters {
9
9
  device: Device | null;
10
10
  roomRecvIPs: string[];
@@ -69,33 +69,12 @@ export type ConnectIpsType = (options: ConnectIpsOptions) => Promise<[Record<str
69
69
  * ```
70
70
  */
71
71
  export declare class ConnectIps {
72
- private socketManagerService;
73
72
  private newPipeProducerService;
74
73
  private producerClosedService;
75
74
  private joinConsumeRoomService;
76
- constructor(socketManagerService: SocketManager, newPipeProducerService: NewPipeProducer, producerClosedService: ProducerClosed, joinConsumeRoomService: JoinConsumeRoom);
77
- /**
78
- * Connects to remote IPs and manages socket connections.
79
- *
80
- * @param {Object} options - The options for connecting IPs.
81
- * @param {Record<string, any>[]} options.consume_sockets - The array of current socket connections.
82
- * @param {string[]} options.remIP - The list of remote IPs to connect to.
83
- * @param {string} options.apiUserName - The API username for authentication.
84
- * @param {string} [options.apiKey] - The API key for authentication.
85
- * @param {string} [options.apiToken] - The API token for authentication.
86
- * @param {Function} [options.newProducerMethod=newPipeProducer] - The method to handle new pipe producer events.
87
- * @param {Function} [options.closedProducerMethod=producerClosed] - The method to handle producer closed events.
88
- * @param {Function} [options.joinConsumeRoomMethod=joinConsumeRoom] - The method to handle joining a consuming room.
89
- * @param {Object} options.parameters - Additional parameters.
90
- * @param {string[]} options.parameters.roomRecvIPs - The list of IPs that have been received in the room.
91
- * @param {Function} options.parameters.updateRoomRecvIPs - The function to update the room received IPs.
92
- * @param {Function} options.parameters.updateConsume_sockets - The function to update the consume sockets.
93
- *
94
- * @returns {Promise<[Record<string, any>[], string[]]>} A promise that resolves to an array containing the updated consume sockets and room received IPs.
95
- *
96
- * @throws Will throw an error if required parameters are missing or if there is an issue connecting to a remote IP.
97
- */
98
- connectIps: ({ consume_sockets, remIP, apiUserName, apiKey, apiToken, newProducerMethod, closedProducerMethod, joinConsumeRoomMethod, parameters, }: ConnectIpsOptions) => Promise<any>;
75
+ constructor(newPipeProducerService: NewPipeProducer, producerClosedService: ProducerClosed, joinConsumeRoomService: JoinConsumeRoom);
76
+ connectIps: ConnectIpsType;
99
77
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectIps, never>;
100
78
  static ɵprov: i0.ɵɵInjectableDeclaration<ConnectIps>;
101
79
  }
80
+ export {};
@@ -48,34 +48,7 @@ export declare class ConnectLocalIps {
48
48
  private newPipeProducerService;
49
49
  private producerClosedService;
50
50
  constructor(newPipeProducerService: NewPipeProducer, producerClosedService: ProducerClosed);
51
- /**
52
- * Connects to remote IPs and manages socket connections.
53
- *
54
- * This method establishes connections to remote IPs for media streaming, handles new pipe producer events,
55
- * and manages producer closure events. It updates the necessary state in the application to reflect
56
- * the current connections and stream configurations.
57
- *
58
- * @param {ConnectLocalIpsOptions} options - The options for connecting IPs.
59
- * @param {Socket} options.socket - The socket connection to use for communication.
60
- * @param {Function} [options.newProducerMethod] - The method to handle new pipe producer events (default: newPipeProducer).
61
- * @param {Function} [options.closedProducerMethod] - The method to handle producer closed events (default: producerClosed).
62
- * @param {ConnectLocalIpsParameters} options.parameters - Additional parameters for the operation.
63
- *
64
- * @returns {Promise<void>} A promise that resolves when the connection is established.
65
- *
66
- * @throws Will throw an error if required parameters are missing or if there is an issue connecting to a remote IP.
67
- *
68
- * @example
69
- * ```typescript
70
- * const result = await connectLocalIps({
71
- * socket,
72
- * newProducerMethod: newPipeProducer,
73
- * closedProducerMethod: producerClosed,
74
- * parameters,
75
- * });
76
- * ```
77
- */
78
- connectLocalIps: ({ socket, newProducerMethod, closedProducerMethod, parameters, }: ConnectLocalIpsOptions) => Promise<void>;
51
+ connectLocalIps: ConnectLocalIpsType;
79
52
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectLocalIps, never>;
80
53
  static ɵprov: i0.ɵɵInjectableDeclaration<ConnectLocalIps>;
81
54
  }
@@ -1,7 +1,9 @@
1
1
  import { Socket } from 'socket.io-client';
2
2
  import { ConsumerResumeType, ConsumerResumeParameters, Transport as TransportType } from '../@types/types';
3
- import { Device, Transport } from 'mediasoup-client/lib/types';
3
+ import { types } from 'mediasoup-client';
4
4
  import * as i0 from "@angular/core";
5
+ type Device = types.Device;
6
+ type Transport = types.Transport;
5
7
  export interface ConnectRecvTransportParameters extends ConsumerResumeParameters {
6
8
  device: Device | null;
7
9
  consumerTransports: TransportType[];
@@ -89,3 +91,4 @@ export declare class ConnectRecvTransport {
89
91
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectRecvTransport, never>;
90
92
  static ɵprov: i0.ɵɵInjectableDeclaration<ConnectRecvTransport>;
91
93
  }
94
+ export {};
@@ -1,5 +1,8 @@
1
- import { Transport, Producer, ProducerOptions } from 'mediasoup-client/lib/types';
1
+ import { types } from 'mediasoup-client';
2
2
  import * as i0 from "@angular/core";
3
+ type Transport = types.Transport;
4
+ type Producer = types.Producer;
5
+ type ProducerOptions = types.ProducerOptions;
3
6
  export interface ConnectSendTransportAudioParameters {
4
7
  audioProducer: Producer | null;
5
8
  producerTransport: Transport | null;
@@ -113,3 +116,4 @@ export declare class ConnectSendTransportAudio {
113
116
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectSendTransportAudio, never>;
114
117
  static ɵprov: i0.ɵɵInjectableDeclaration<ConnectSendTransportAudio>;
115
118
  }
119
+ export {};
@@ -1,5 +1,9 @@
1
- import { Transport, Producer, Device, ProducerOptions } from 'mediasoup-client/lib/types';
1
+ import { types } from 'mediasoup-client';
2
2
  import * as i0 from "@angular/core";
3
+ type Transport = types.Transport;
4
+ type Producer = types.Producer;
5
+ type Device = types.Device;
6
+ type ProducerOptions = types.ProducerOptions;
3
7
  export interface ConnectSendTransportScreenParameters {
4
8
  screenProducer: Producer | null;
5
9
  localScreenProducer?: Producer | null;
@@ -121,3 +125,4 @@ export declare class ConnectSendTransportScreen {
121
125
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectSendTransportScreen, never>;
122
126
  static ɵprov: i0.ɵɵInjectableDeclaration<ConnectSendTransportScreen>;
123
127
  }
128
+ export {};
@@ -1,5 +1,9 @@
1
- import { Device, Producer, ProducerOptions, Transport } from 'mediasoup-client/lib/types';
1
+ import { types } from 'mediasoup-client';
2
2
  import * as i0 from "@angular/core";
3
+ type Device = types.Device;
4
+ type Producer = types.Producer;
5
+ type ProducerOptions = types.ProducerOptions;
6
+ type Transport = types.Transport;
3
7
  export interface ConnectSendTransportVideoParameters {
4
8
  videoProducer: Producer | null;
5
9
  localVideoProducer?: Producer | null;
@@ -129,3 +133,4 @@ export declare class ConnectSendTransportVideo {
129
133
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectSendTransportVideo, never>;
130
134
  static ɵprov: i0.ɵɵInjectableDeclaration<ConnectSendTransportVideo>;
131
135
  }
136
+ export {};
@@ -1,6 +1,7 @@
1
- import { ProducerOptions } from 'mediasoup-client/lib/types';
1
+ import { types } from 'mediasoup-client';
2
2
  import { ConnectSendTransportAudioType, ConnectSendTransportVideoType, ConnectSendTransportScreenType, ConnectSendTransportAudioParameters, ConnectSendTransportVideoParameters, ConnectSendTransportScreenParameters } from '../@types/types';
3
3
  import * as i0 from "@angular/core";
4
+ type ProducerOptions = types.ProducerOptions;
4
5
  export interface ConnectSendTransportParameters extends ConnectSendTransportAudioParameters, ConnectSendTransportVideoParameters, ConnectSendTransportScreenParameters {
5
6
  audioParams: ProducerOptions;
6
7
  videoParams: ProducerOptions;
@@ -106,3 +107,4 @@ export declare class ConnectSendTransport {
106
107
  static ɵfac: i0.ɵɵFactoryDeclaration<ConnectSendTransport, never>;
107
108
  static ɵprov: i0.ɵɵInjectableDeclaration<ConnectSendTransport>;
108
109
  }
110
+ export {};
@@ -1,7 +1,8 @@
1
1
  import { Socket } from 'socket.io-client';
2
2
  import { ReorderStreamsType, ReorderStreamsParameters, Participant, PrepopulateUserMediaType, PrepopulateUserMediaParameters, Stream, EventType } from '../@types/types';
3
- import { Consumer } from 'mediasoup-client/lib/types';
3
+ import { types } from 'mediasoup-client';
4
4
  import * as i0 from "@angular/core";
5
+ type Consumer = types.Consumer;
5
6
  export interface ConsumerResumeParameters extends ReorderStreamsParameters, PrepopulateUserMediaParameters {
6
7
  nStream: MediaStream | null;
7
8
  allAudioStreams: (Stream | Participant)[];
@@ -1,7 +1,9 @@
1
1
  import { Socket } from 'socket.io-client';
2
- import { Device, Transport } from 'mediasoup-client/lib/types';
2
+ import { types } from 'mediasoup-client';
3
3
  import { ConnectSendTransportParameters, ConnectSendTransportType } from '../@types/types';
4
4
  import * as i0 from "@angular/core";
5
+ type Device = types.Device;
6
+ type Transport = types.Transport;
5
7
  export interface CreateSendTransportParameters extends ConnectSendTransportParameters {
6
8
  islevel: string;
7
9
  member: string;
@@ -180,3 +182,4 @@ export declare class CreateSendTransport {
180
182
  static ɵfac: i0.ɵɵFactoryDeclaration<CreateSendTransport, never>;
181
183
  static ɵprov: i0.ɵɵInjectableDeclaration<CreateSendTransport>;
182
184
  }
185
+ export {};
@@ -1,7 +1,8 @@
1
1
  import { Socket } from 'socket.io-client';
2
2
  import { PrepopulateUserMediaType, PrepopulateUserMediaParameters } from '../@types/types';
3
- import { Producer } from 'mediasoup-client/lib/types';
3
+ import { types } from 'mediasoup-client';
4
4
  import * as i0 from "@angular/core";
5
+ type Producer = types.Producer;
5
6
  export interface DisconnectSendTransportAudioParameters extends PrepopulateUserMediaParameters {
6
7
  audioProducer: Producer | null;
7
8
  localAudioProducer?: Producer | null;
@@ -134,3 +135,4 @@ export declare class DisconnectSendTransportAudio {
134
135
  static ɵfac: i0.ɵɵFactoryDeclaration<DisconnectSendTransportAudio, never>;
135
136
  static ɵprov: i0.ɵɵInjectableDeclaration<DisconnectSendTransportAudio>;
136
137
  }
138
+ export {};
@@ -1,6 +1,7 @@
1
- import { Producer } from 'mediasoup-client/lib/types';
1
+ import { types } from 'mediasoup-client';
2
2
  import { Socket } from 'socket.io-client';
3
3
  import * as i0 from "@angular/core";
4
+ type Producer = types.Producer;
4
5
  export interface DisconnectSendTransportScreenParameters {
5
6
  screenProducer: Producer | null;
6
7
  socket: Socket;
@@ -107,3 +108,4 @@ export declare class DisconnectSendTransportScreen {
107
108
  static ɵfac: i0.ɵɵFactoryDeclaration<DisconnectSendTransportScreen, never>;
108
109
  static ɵprov: i0.ɵɵInjectableDeclaration<DisconnectSendTransportScreen>;
109
110
  }
111
+ export {};
@@ -1,7 +1,8 @@
1
- import { Producer } from 'mediasoup-client/lib/types';
1
+ import { types } from 'mediasoup-client';
2
2
  import { Socket } from 'socket.io-client';
3
3
  import { ReorderStreamsType, ReorderStreamsParameters } from '../@types/types';
4
4
  import * as i0 from "@angular/core";
5
+ type Producer = types.Producer;
5
6
  export interface DisconnectSendTransportVideoParameters extends ReorderStreamsParameters {
6
7
  videoProducer: Producer | null;
7
8
  localVideoProducer?: Producer | null;
@@ -123,3 +124,4 @@ export declare class DisconnectSendTransportVideo {
123
124
  static ɵfac: i0.ɵɵFactoryDeclaration<DisconnectSendTransportVideo, never>;
124
125
  static ɵprov: i0.ɵɵInjectableDeclaration<DisconnectSendTransportVideo>;
125
126
  }
127
+ export {};
@@ -68,117 +68,8 @@ export interface DispStreamsOptions {
68
68
  inBreakRoom?: boolean;
69
69
  }
70
70
  export type DispStreamsType = (options: DispStreamsOptions) => Promise<void>;
71
- /**
72
- * Function to display streams based on various parameters and conditions.
73
- *
74
- * @param {DispStreamsOptions} options - The options object.
75
- * @param {Array<(Stream | Participant)>} options.lStreams - List of streams to display.
76
- * @param {number} options.ind - Index of the current stream.
77
- * @param {boolean} [options.auto=false] - Flag to indicate if the function should run automatically.
78
- * @param {boolean} [options.ChatSkip=false] - Flag to indicate if chat should be skipped.
79
- * @param {string|null} [options.forChatID=null] - ID for chat reference.
80
- * @param {DispStreamsParameters} options.parameters - Parameters object containing various settings and functions.
81
- * @param {number} [options.breakRoom=-1] - Break room number.
82
- * @param {boolean} [options.inBreakRoom=false] - Flag to indicate if in break room.
83
- *
84
- * @returns {Promise<void>} A promise that resolves when the function completes.
85
- *
86
- * @async
87
- *
88
- * @example
89
- * ```typescript
90
- * const options = {
91
- * lStreams: [...], // Your streams data here
92
- * ind: 0,
93
- * auto: true,
94
- * ChatSkip: false,
95
- * parameters: {
96
- * consumerTransports: [],
97
- * streamNames: [],
98
- * audStreamNames: [],
99
- * participants: [],
100
- * ref_participants: [],
101
- * recordingDisplayType: 'video',
102
- * recordingVideoOptimized: false,
103
- * meetingDisplayType: 'video',
104
- * meetingVideoOptimized: false,
105
- * currentUserPage: 1,
106
- * hostLabel: 'Host',
107
- * mainHeightWidth: 100,
108
- * prevMainHeightWidth: 100,
109
- * prevDoPaginate: false,
110
- * doPaginate: false,
111
- * firstAll: false,
112
- * shared: false,
113
- * shareScreenStarted: false,
114
- * shareEnded: false,
115
- * oldAllStreams: [],
116
- * updateMainWindow: false,
117
- * remoteProducerId: null,
118
- * activeNames: [],
119
- * dispActiveNames: [],
120
- * p_dispActiveNames: [],
121
- * nForReadjustRecord: 0,
122
- * first_round: false,
123
- * lock_screen: false,
124
- * chatRefStreams: [],
125
- * eventType: 'normal',
126
- * islevel: '1',
127
- * localStreamVideo: null,
128
- * breakOutRoomStarted: false,
129
- * breakOutRoomEnded: false,
130
- * keepBackground: false,
131
- * virtualStream: null,
132
- * updateActiveNames: (names) => {},
133
- * updateDispActiveNames: (names) => {},
134
- * updateLStreams: (streams) => {},
135
- * updateChatRefStreams: (streams) => {},
136
- * updateNForReadjustRecord: (n) => {},
137
- * updateUpdateMainWindow: (value) => {},
138
- * updateShowMiniView: (value) => {},
139
- * prepopulateUserMedia: async () => {},
140
- * rePort: async () => {},
141
- * processConsumerTransports: async () => {},
142
- * resumePauseStreams: async () => {},
143
- * readjust: async () => {},
144
- * addVideosGrid: async () => {},
145
- * getEstimate: async () => {},
146
- * checkGrid: async () => {},
147
- * resumePauseAudioStreams: async () => {},
148
- * getUpdatedAllParams: () => options.parameters,
149
- * },
150
- * breakRoom: -1,
151
- * inBreakRoom: false,
152
- * };
153
- *
154
- * dispStreamsService.dispStreams(options)
155
- * .then(() => {
156
- * console.log('Streams displayed successfully');
157
- * })
158
- * .catch((error) => {
159
- * console.error('Error displaying streams:', error);
160
- * });
161
- * ```
162
- */
163
71
  export declare class DispStreams {
164
- /**
165
- * Function to display streams based on various parameters and conditions.
166
- *
167
- * @param {Object} options - The options object.
168
- * @param {Array} options.lStreams - List of streams.
169
- * @param {number} options.ind - Index of the current stream.
170
- * @param {boolean} [options.auto=false] - Flag to indicate if the function should run automatically.
171
- * @param {boolean} [options.ChatSkip=false] - Flag to indicate if chat should be skipped.
172
- * @param {string|null} [options.forChatID=null] - ID for chat reference.
173
- * @param {Object} options.parameters - Parameters object containing various settings and functions.
174
- * @param {number} [options.breakRoom=-1] - Break room number.
175
- * @param {boolean} [options.inBreakRoom=false] - Flag to indicate if in break room.
176
- *
177
- * @returns {Promise<void>} - A promise that resolves when the function completes.
178
- *
179
- * @async
180
- */
181
- dispStreams: ({ lStreams, ind, auto, ChatSkip, forChatID, parameters, breakRoom, inBreakRoom, }: DispStreamsOptions) => Promise<void>;
72
+ dispStreams({ lStreams, ind, auto, ChatSkip, forChatCard, forChatID, parameters, breakRoom, inBreakRoom, }: DispStreamsOptions): Promise<void>;
182
73
  static ɵfac: i0.ɵɵFactoryDeclaration<DispStreams, never>;
183
74
  static ɵprov: i0.ɵɵInjectableDeclaration<DispStreams>;
184
75
  }
@@ -65,23 +65,6 @@ export type GeneratePageContentType = (options: GeneratePageContentOptions) => P
65
65
  * ```
66
66
  */
67
67
  export declare class GeneratePageContent {
68
- /**
69
- * Generates the content for a specific page.
70
- *
71
- * @param {Object} options - The options for generating page content.
72
- * @param {number | string} options.page - The page number to generate content for.
73
- * @param {Object} options.parameters - The parameters required for generating content.
74
- * @param {Array} options.parameters.paginatedStreams - The streams to be paginated.
75
- * @param {number} options.parameters.currentUserPage - The current page of the user.
76
- * @param {Function} options.parameters.updateMainWindow - Function to update the main window flag.
77
- * @param {Function} options.parameters.updateCurrentUserPage - Function to update the current user page.
78
- * @param {Function} options.parameters.updateUpdateMainWindow - Function to update the main window update flag.
79
- * @param {Function} options.parameters.dispStreams - Function to display streams for the specified page.
80
- * @param {number} [options.breakRoom=-1] - The break room identifier.
81
- * @param {boolean} [options.inBreakRoom=false] - Flag indicating if the user is in a break room.
82
- * @returns {Promise<void>} A promise that resolves when the content generation is complete.
83
- * @throws {Error} Throws an error if content generation fails.
84
- */
85
68
  generatePageContent({ page, parameters, breakRoom, inBreakRoom, }: GeneratePageContentOptions): Promise<void>;
86
69
  static ɵfac: i0.ɵɵFactoryDeclaration<GeneratePageContent, never>;
87
70
  static ɵprov: i0.ɵɵInjectableDeclaration<GeneratePageContent>;
@@ -69,27 +69,6 @@ export type GetEstimateType = (options: GetEstimateOptions) => [number, number,
69
69
  * ```
70
70
  */
71
71
  export declare class GetEstimate {
72
- /**
73
- * Estimates the number of rows and columns for a given set of parameters.
74
- *
75
- * @param {GetEstimateOptions} options - The options for the estimation.
76
- * @param {number} options.n - The number of items to estimate for.
77
- * @param {Object} options.parameters - The parameters for the estimation.
78
- * @param {number} options.parameters.fixedPageLimit - The fixed page limit.
79
- * @param {number} options.parameters.screenPageLimit - The screen page limit.
80
- * @param {boolean} options.parameters.shareScreenStarted - Indicates if screen sharing has started.
81
- * @param {boolean} options.parameters.shared - Indicates if sharing is active.
82
- * @param {string} options.parameters.eventType - The type of event (e.g., "chat", "conference").
83
- * @param {boolean} options.parameters.removeAltGrid - Indicates if the alternate grid should be removed.
84
- * @param {boolean} options.parameters.isWideScreen - Indicates if the screen is wide.
85
- * @param {boolean} options.parameters.isMediumScreen - Indicates if the screen is medium-sized.
86
- * @param {Function} options.parameters.updateRemoveAltGrid - Function to update the removeAltGrid parameter.
87
- * @param {Function} options.parameters.calculateRowsAndColumns - Function to calculate rows and columns.
88
- *
89
- * @returns {number[]} An array containing the estimated number of items, rows, and columns.
90
- *
91
- * @throws Will log an error message if an error occurs during estimation.
92
- */
93
72
  getEstimate({ n, parameters }: GetEstimateOptions): [number, number, number];
94
73
  static ɵfac: i0.ɵɵFactoryDeclaration<GetEstimate, never>;
95
74
  static ɵprov: i0.ɵɵInjectableDeclaration<GetEstimate>;
@@ -29,25 +29,6 @@ export type MixStreamsType = (options: MixStreamsOptions) => Promise<(Stream | P
29
29
  * ```
30
30
  */
31
31
  export declare class MixStreams {
32
- /**
33
- * Mixes video and audio streams and participants based on specified parameters.
34
- *
35
- * @param {Object} options - The options for mixing streams.
36
- * @param {Array} options.alVideoStreams - The list of audio and video streams to mix.
37
- * @param {Array} options.non_alVideoStreams - The list of non-audio and video streams to mix.
38
- * @param {Array} options.ref_participants - The list of reference participants to mix.
39
- * @returns {Promise<Array>} A promise that resolves with the mixed streams.
40
- * @throws Will throw an error if there is an issue mixing the streams.
41
- * @example
42
- * ```typescript
43
- * mixStreams({
44
- * alVideoStreams: [stream1, stream2],
45
- * non_alVideoStreams: [participant1, participant2],
46
- * ref_participants: [participant1, participant2]
47
- * });
48
- *
49
- * ```
50
- */
51
32
  mixStreams({ alVideoStreams, non_alVideoStreams, ref_participants, }: MixStreamsOptions): Promise<(Stream | Participant)[]>;
52
33
  static ɵfac: i0.ɵɵFactoryDeclaration<MixStreams, never>;
53
34
  static ɵprov: i0.ɵɵInjectableDeclaration<MixStreams>;