mediasfu-angular 1.0.0 → 1.0.2

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 (461) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +194 -192
  3. package/dist/README.md +194 -192
  4. package/dist/esm2022/lib/components/background-components/background-modal/background-modal.component.mjs +37 -1
  5. package/dist/esm2022/lib/components/breakout-components/breakout-rooms-modal.component.mjs +51 -1
  6. package/dist/esm2022/lib/components/breakout-components/edit-room-modal/edit-room-modal.component.mjs +49 -1
  7. package/dist/esm2022/lib/components/co-host-components/co-host-modal/co-host-modal.component.mjs +1 -2
  8. package/dist/esm2022/lib/components/display-components/alert-component/alert.component.component.mjs +25 -19
  9. package/dist/esm2022/lib/components/display-components/audio-card/audio-card.component.mjs +60 -1
  10. package/dist/esm2022/lib/components/display-components/audio-grid/audio-grid.component.mjs +21 -1
  11. package/dist/esm2022/lib/components/display-components/card-video-display/card-video-display.component.mjs +36 -1
  12. package/dist/esm2022/lib/components/display-components/control-buttons-alt-component/control-buttons-alt-component.component.mjs +39 -1
  13. package/dist/esm2022/lib/components/display-components/control-buttons-component-touch/control-buttons-component-touch.component.mjs +25 -41
  14. package/dist/esm2022/lib/components/display-components/control-widgets/menu-participants-widget.component.mjs +22 -1
  15. package/dist/esm2022/lib/components/display-components/control-widgets/menu-record-widget.component.mjs +23 -1
  16. package/dist/esm2022/lib/components/display-components/control-widgets/menu-widget.component.mjs +24 -1
  17. package/dist/esm2022/lib/components/display-components/control-widgets/message-widget.component.mjs +24 -1
  18. package/dist/esm2022/lib/components/display-components/control-widgets/record-timer-widget.component.mjs +16 -1
  19. package/dist/esm2022/lib/components/display-components/control-widgets/screenshare-widget.component.mjs +28 -1
  20. package/dist/esm2022/lib/components/display-components/flexible-grid/flexible-grid.component.mjs +28 -19
  21. package/dist/esm2022/lib/components/display-components/flexible-video/flexible-video.component.mjs +31 -46
  22. package/dist/esm2022/lib/components/display-components/loading-modal/loading-modal.component.mjs +20 -18
  23. package/dist/esm2022/lib/components/display-components/main-aspect-component/main-aspect-component.component.mjs +33 -25
  24. package/dist/esm2022/lib/components/display-components/main-container-component/main-container-component.component.mjs +29 -17
  25. package/dist/esm2022/lib/components/display-components/main-grid-component/main-grid-component.component.mjs +29 -15
  26. package/dist/esm2022/lib/components/display-components/main-screen-component/main-screen-component.component.mjs +44 -23
  27. package/dist/esm2022/lib/components/display-components/meeting-progress-timer/meeting-progress-timer.component.mjs +26 -31
  28. package/dist/esm2022/lib/components/display-components/mini-audio/mini-audio.component.mjs +52 -59
  29. package/dist/esm2022/lib/components/display-components/mini-card/mini-card.component.mjs +20 -24
  30. package/dist/esm2022/lib/components/display-components/mini-card-audio/mini-card-audio.component.mjs +40 -40
  31. package/dist/esm2022/lib/components/display-components/other-grid-component/other-grid-component.component.mjs +29 -14
  32. package/dist/esm2022/lib/components/display-components/pagination/pagination.component.mjs +30 -24
  33. package/dist/esm2022/lib/components/display-components/sub-aspect-component/sub-aspect-component.component.mjs +19 -25
  34. package/dist/esm2022/lib/components/display-components/video-card/video-card.component.mjs +63 -1
  35. package/dist/esm2022/lib/components/display-settings-components/display-settings-modal.component.mjs +29 -18
  36. package/dist/esm2022/lib/components/event-settings-components/event-settings-modal/event-settings-modal.component.mjs +48 -39
  37. package/dist/esm2022/lib/components/exit-components/confirm-exit-modal/confirm-exit-modal.component.mjs +36 -23
  38. package/dist/esm2022/lib/components/media-settings-components/media-settings-modal/media-settings-modal.component.mjs +36 -25
  39. package/dist/esm2022/lib/components/mediasfu-components/mediasfu-broadcast.component.mjs +54 -3
  40. package/dist/esm2022/lib/components/mediasfu-components/mediasfu-chat.component.mjs +54 -3
  41. package/dist/esm2022/lib/components/mediasfu-components/mediasfu-conference.component.mjs +52 -3
  42. package/dist/esm2022/lib/components/mediasfu-components/mediasfu-generic.component.mjs +52 -3
  43. package/dist/esm2022/lib/components/mediasfu-components/mediasfu-webinar.component.mjs +50 -3
  44. package/dist/esm2022/lib/components/menu-components/custom-buttons/custom-buttons.component.mjs +50 -52
  45. package/dist/esm2022/lib/components/menu-components/meeting-id-component/meeting-id-component.component.mjs +7 -2
  46. package/dist/esm2022/lib/components/menu-components/meeting-passcode-component/meeting-passcode-component.component.mjs +6 -1
  47. package/dist/esm2022/lib/components/menu-components/menu-modal/menu-modal.component.mjs +22 -29
  48. package/dist/esm2022/lib/components/menu-components/share-buttons-component/share-buttons-component.component.mjs +16 -14
  49. package/dist/esm2022/lib/components/message-components/message-panel/message-panel.component.mjs +25 -1
  50. package/dist/esm2022/lib/components/message-components/messages-modal/messages-modal.component.mjs +35 -1
  51. package/dist/esm2022/lib/components/misc-components/confirm-here-modal/confirm-here-modal.component.mjs +17 -34
  52. package/dist/esm2022/lib/components/misc-components/pre-join-page/pre-join-page.component.mjs +9 -1
  53. package/dist/esm2022/lib/components/misc-components/share-event-modal/share-event-modal.component.mjs +15 -1
  54. package/dist/esm2022/lib/components/misc-components/welcome-page/welcome-page.component.mjs +16 -1
  55. package/dist/esm2022/lib/components/participants-components/participant-list/participant-list.component.mjs +20 -1
  56. package/dist/esm2022/lib/components/participants-components/participant-list-item/participant-list-item.component.mjs +20 -1
  57. package/dist/esm2022/lib/components/participants-components/participant-list-others/participant-list-others.component.mjs +18 -1
  58. package/dist/esm2022/lib/components/participants-components/participant-list-others-item/participant-list-others-item.component.mjs +18 -1
  59. package/dist/esm2022/lib/components/participants-components/participants-modal/participants-modal.component.mjs +25 -1
  60. package/dist/esm2022/lib/components/polls-components/poll-modal/poll-modal.component.mjs +28 -1
  61. package/dist/esm2022/lib/components/recording-components/advanced-panel-component/advanced-panel-components.component.mjs +16 -1
  62. package/dist/esm2022/lib/components/recording-components/recording-modal/recording-modal.component.mjs +13 -1
  63. package/dist/esm2022/lib/components/recording-components/standard-panel-component/standard-panel-component.component.mjs +6 -1
  64. package/dist/esm2022/lib/components/requests-components/render-request-component/render-request-component.component.mjs +23 -1
  65. package/dist/esm2022/lib/components/requests-components/requests-modal/requests-modal.component.mjs +18 -1
  66. package/dist/esm2022/lib/components/screenboard-components/screenboard/screenboard.component.mjs +11 -1
  67. package/dist/esm2022/lib/components/screenboard-components/screenboard-modal/screenboard-modal.component.mjs +12 -1
  68. package/dist/esm2022/lib/components/waiting-components/waiting-room-modal.component.mjs +60 -1
  69. package/dist/esm2022/lib/components/whiteboard-components/configure-whiteboard-modal/configure-whiteboard-modal.component.mjs +22 -1
  70. package/dist/esm2022/lib/components/whiteboard-components/whiteboard/whiteboard.component.mjs +50 -1
  71. package/dist/esm2022/lib/consumers/add-videos-grid.service.mjs +50 -1
  72. package/dist/esm2022/lib/consumers/auto-adjust.service.mjs +27 -1
  73. package/dist/esm2022/lib/consumers/calculate-rows-and-columns.service.mjs +19 -1
  74. package/dist/esm2022/lib/consumers/change-vids.service.mjs +132 -67
  75. package/dist/esm2022/lib/consumers/check-grid.service.mjs +33 -19
  76. package/dist/esm2022/lib/consumers/check-permission.service.mjs +26 -1
  77. package/dist/esm2022/lib/consumers/check-screen-share.service.mjs +36 -1
  78. package/dist/esm2022/lib/consumers/close-and-resize.service.mjs +103 -1
  79. package/dist/esm2022/lib/consumers/compare-active-names.service.mjs +32 -1
  80. package/dist/esm2022/lib/consumers/compare-screen-states.service.mjs +36 -1
  81. package/dist/esm2022/lib/consumers/connect-ips.service.mjs +43 -1
  82. package/dist/esm2022/lib/consumers/connect-recv-transport.service.mjs +34 -1
  83. package/dist/esm2022/lib/consumers/connect-send-transport-audio.service.mjs +39 -1
  84. package/dist/esm2022/lib/consumers/connect-send-transport-screen.service.mjs +41 -1
  85. package/dist/esm2022/lib/consumers/connect-send-transport-video.service.mjs +45 -1
  86. package/dist/esm2022/lib/consumers/connect-send-transport.service.mjs +55 -1
  87. package/dist/esm2022/lib/consumers/consumer-resume.service.mjs +37 -1
  88. package/dist/esm2022/lib/consumers/control-media.service.mjs +46 -1
  89. package/dist/esm2022/lib/consumers/create-send-transport.service.mjs +47 -1
  90. package/dist/esm2022/lib/consumers/disconnect-send-transport-audio.service.mjs +51 -1
  91. package/dist/esm2022/lib/consumers/disconnect-send-transport-screen.service.mjs +40 -1
  92. package/dist/esm2022/lib/consumers/disconnect-send-transport-video.service.mjs +46 -1
  93. package/dist/esm2022/lib/consumers/disp-streams.service.mjs +93 -1
  94. package/dist/esm2022/lib/consumers/generate-page-content.service.mjs +48 -1
  95. package/dist/esm2022/lib/consumers/get-estimate.service.mjs +51 -1
  96. package/dist/esm2022/lib/consumers/get-piped-producers-alt.service.mjs +34 -1
  97. package/dist/esm2022/lib/consumers/get-producers-piped.service.mjs +34 -1
  98. package/dist/esm2022/lib/consumers/get-videos.service.mjs +34 -1
  99. package/dist/esm2022/lib/consumers/mix-streams.service.mjs +23 -1
  100. package/dist/esm2022/lib/consumers/on-screen-changes.service.mjs +41 -1
  101. package/dist/esm2022/lib/consumers/prepopulate-user-media.service.mjs +100 -1
  102. package/dist/esm2022/lib/consumers/process-consumer-transports-audio.service.mjs +30 -1
  103. package/dist/esm2022/lib/consumers/process-consumer-transports.service.mjs +38 -1
  104. package/dist/esm2022/lib/consumers/re-port.service.mjs +49 -1
  105. package/dist/esm2022/lib/consumers/re-update-inter.service.mjs +83 -1
  106. package/dist/esm2022/lib/consumers/readjust.service.mjs +51 -1
  107. package/dist/esm2022/lib/consumers/receive-all-piped-transports.service.mjs +32 -1
  108. package/dist/esm2022/lib/consumers/receive-room-messages.service.mjs +28 -1
  109. package/dist/esm2022/lib/consumers/reorder-streams.service.mjs +59 -1
  110. package/dist/esm2022/lib/consumers/request-screen-share.service.mjs +35 -1
  111. package/dist/esm2022/lib/consumers/resume-pause-audio-streams.service.mjs +52 -1
  112. package/dist/esm2022/lib/consumers/resume-pause-streams.service.mjs +34 -1
  113. package/dist/esm2022/lib/consumers/resume-send-transport-audio.service.mjs +37 -1
  114. package/dist/esm2022/lib/consumers/signal-new-consumer-transport.service.mjs +38 -38
  115. package/dist/esm2022/lib/consumers/socket-receive-methods/join-consume-room.service.mjs +34 -1
  116. package/dist/esm2022/lib/consumers/socket-receive-methods/new-pipe-producer.service.mjs +40 -1
  117. package/dist/esm2022/lib/consumers/socket-receive-methods/producer-closed.service.mjs +28 -1
  118. package/dist/esm2022/lib/consumers/start-share-screen.service.mjs +41 -1
  119. package/dist/esm2022/lib/consumers/stop-share-screen.service.mjs +56 -1
  120. package/dist/esm2022/lib/consumers/stream-success-audio-switch.service.mjs +54 -1
  121. package/dist/esm2022/lib/consumers/stream-success-audio.service.mjs +62 -1
  122. package/dist/esm2022/lib/consumers/stream-success-screen.service.mjs +51 -1
  123. package/dist/esm2022/lib/consumers/stream-success-video.service.mjs +59 -1
  124. package/dist/esm2022/lib/consumers/switch-user-audio.service.mjs +34 -1
  125. package/dist/esm2022/lib/consumers/switch-user-video-alt.service.mjs +33 -1
  126. package/dist/esm2022/lib/consumers/switch-user-video.service.mjs +48 -1
  127. package/dist/esm2022/lib/consumers/trigger.service.mjs +39 -1
  128. package/dist/esm2022/lib/consumers/update-mini-cards-grid.service.mjs +55 -1
  129. package/dist/esm2022/lib/consumers/update-participant-audio-decibels.service.mjs +46 -1
  130. package/dist/esm2022/lib/methods/background-methods/launch-background.service.mjs +26 -1
  131. package/dist/esm2022/lib/methods/breakout-room-methods/breakout-room-updated.service.mjs +72 -1
  132. package/dist/esm2022/lib/methods/breakout-room-methods/launch-breakout-rooms.service.mjs +25 -1
  133. package/dist/esm2022/lib/methods/co-host-methods/launch-co-host.service.mjs +25 -1
  134. package/dist/esm2022/lib/methods/co-host-methods/modify-co-host-settings.service.mjs +45 -1
  135. package/dist/esm2022/lib/methods/display-settings-methods/launch-display-settings.service.mjs +23 -1
  136. package/dist/esm2022/lib/methods/display-settings-methods/modify-display-settings.service.mjs +76 -1
  137. package/dist/esm2022/lib/methods/exit-methods/confirm-exit.service.mjs +25 -1
  138. package/dist/esm2022/lib/methods/exit-methods/launch-confirm-exit.service.mjs +21 -1
  139. package/dist/esm2022/lib/methods/media-settings-methods/launch-media-settings.service.mjs +36 -1
  140. package/dist/esm2022/lib/methods/menu-methods/launch-menu-modal.service.mjs +23 -1
  141. package/dist/esm2022/lib/methods/message-methods/launch-messages.service.mjs +23 -1
  142. package/dist/esm2022/lib/methods/message-methods/send-message.service.mjs +50 -1
  143. package/dist/esm2022/lib/methods/participants-methods/launch-participants.service.mjs +25 -1
  144. package/dist/esm2022/lib/methods/participants-methods/message-participants.service.mjs +47 -1
  145. package/dist/esm2022/lib/methods/participants-methods/mute-participants.service.mjs +40 -1
  146. package/dist/esm2022/lib/methods/participants-methods/remove-participants.service.mjs +46 -1
  147. package/dist/esm2022/lib/methods/polls-methods/handle-create-poll.service.mjs +39 -1
  148. package/dist/esm2022/lib/methods/polls-methods/handle-end-poll.service.mjs +33 -1
  149. package/dist/esm2022/lib/methods/polls-methods/handle-vote-poll.service.mjs +35 -1
  150. package/dist/esm2022/lib/methods/polls-methods/launch-poll.service.mjs +21 -1
  151. package/dist/esm2022/lib/methods/polls-methods/poll-updated.service.mjs +32 -1
  152. package/dist/esm2022/lib/methods/recording-methods/check-pause-state.service.mjs +25 -1
  153. package/dist/esm2022/lib/methods/recording-methods/check-resume-state.service.mjs +23 -1
  154. package/dist/esm2022/lib/methods/recording-methods/confirm-recording.service.mjs +64 -1
  155. package/dist/esm2022/lib/methods/recording-methods/launch-recording.service.mjs +44 -1
  156. package/dist/esm2022/lib/methods/recording-methods/record-pause-timer.service.mjs +28 -1
  157. package/dist/esm2022/lib/methods/recording-methods/record-resume-timer.service.mjs +45 -1
  158. package/dist/esm2022/lib/methods/recording-methods/record-start-timer.service.mjs +46 -1
  159. package/dist/esm2022/lib/methods/recording-methods/record-update-timer.service.mjs +33 -1
  160. package/dist/esm2022/lib/methods/recording-methods/start-recording.service.mjs +51 -1
  161. package/dist/esm2022/lib/methods/recording-methods/stop-recording.service.mjs +39 -1
  162. package/dist/esm2022/lib/methods/recording-methods/update-recording.service.mjs +49 -1
  163. package/dist/esm2022/lib/methods/requests-methods/launch-requests.service.mjs +26 -1
  164. package/dist/esm2022/lib/methods/requests-methods/respond-to-requests.service.mjs +40 -1
  165. package/dist/esm2022/lib/methods/settings-methods/launch-settings.service.mjs +26 -1
  166. package/dist/esm2022/lib/methods/settings-methods/modify-settings.service.mjs +43 -1
  167. package/dist/esm2022/lib/methods/stream-methods/click-audio.service.mjs +98 -1
  168. package/dist/esm2022/lib/methods/stream-methods/click-chat.service.mjs +32 -1
  169. package/dist/esm2022/lib/methods/stream-methods/click-screen-share.service.mjs +69 -1
  170. package/dist/esm2022/lib/methods/stream-methods/click-video.service.mjs +89 -1
  171. package/dist/esm2022/lib/methods/stream-methods/switch-audio.service.mjs +48 -1
  172. package/dist/esm2022/lib/methods/stream-methods/switch-video-alt.service.mjs +51 -1
  173. package/dist/esm2022/lib/methods/stream-methods/switch-video.service.mjs +57 -1
  174. package/dist/esm2022/lib/methods/utils/format-number.service.mjs +27 -15
  175. package/dist/esm2022/lib/methods/utils/generate-random-messages.service.mjs +34 -1
  176. package/dist/esm2022/lib/methods/utils/generate-random-participants.service.mjs +28 -1
  177. package/dist/esm2022/lib/methods/utils/generate-random-polls.service.mjs +27 -1
  178. package/dist/esm2022/lib/methods/utils/generate-random-request-list.service.mjs +37 -1
  179. package/dist/esm2022/lib/methods/utils/generate-random-waiting-room-list.service.mjs +22 -1
  180. package/dist/esm2022/lib/methods/utils/get-modal-position.util.mjs +14 -4
  181. package/dist/esm2022/lib/methods/utils/get-overlay-position.util.mjs +14 -4
  182. package/dist/esm2022/lib/methods/utils/initial-values.util.mjs +13 -3
  183. package/dist/esm2022/lib/methods/utils/meeting-timer/start-meeting-progress-timer.service.mjs +38 -1
  184. package/dist/esm2022/lib/methods/utils/mini-audio-player/mini-audio-player.component.mjs +56 -1
  185. package/dist/esm2022/lib/methods/utils/producer/a-params.service.mjs +38 -1
  186. package/dist/esm2022/lib/methods/utils/producer/h-params.service.mjs +51 -1
  187. package/dist/esm2022/lib/methods/utils/producer/screen-params.service.mjs +38 -1
  188. package/dist/esm2022/lib/methods/utils/producer/v-params.service.mjs +51 -1
  189. package/dist/esm2022/lib/methods/utils/producer/video-capture-constraints.service.mjs +47 -1
  190. package/dist/esm2022/lib/methods/utils/sleep.util.mjs +10 -4
  191. package/dist/esm2022/lib/methods/utils/sound-player.service.mjs +22 -1
  192. package/dist/esm2022/lib/methods/utils/validate-alphanumeric.service.mjs +17 -1
  193. package/dist/esm2022/lib/methods/waiting-methods/launch-waiting.service.mjs +19 -1
  194. package/dist/esm2022/lib/methods/waiting-methods/respond-to-waiting.service.mjs +30 -1
  195. package/dist/esm2022/lib/methods/whiteboard-methods/capture-canvas-stream.service.mjs +30 -1
  196. package/dist/esm2022/lib/methods/whiteboard-methods/launch-configure-whiteboard.service.mjs +21 -1
  197. package/dist/esm2022/lib/producer-client/producer-client-emits/create-device-client.service.mjs +24 -1
  198. package/dist/esm2022/lib/producer-client/producer-client-emits/join-room-client.service.mjs +32 -1
  199. package/dist/esm2022/lib/producer-client/producer-client-emits/update-room-parameters-client.service.mjs +45 -1
  200. package/dist/esm2022/lib/producers/producer-emits/join-con-room.service.mjs +39 -1
  201. package/dist/esm2022/lib/producers/producer-emits/join-room.service.mjs +39 -1
  202. package/dist/esm2022/lib/producers/socket-receive-methods/all-members-rest.service.mjs +74 -1
  203. package/dist/esm2022/lib/producers/socket-receive-methods/all-members.service.mjs +72 -1
  204. package/dist/esm2022/lib/producers/socket-receive-methods/all-waiting-room-members.service.mjs +28 -1
  205. package/dist/esm2022/lib/producers/socket-receive-methods/ban-participant.service.mjs +37 -1
  206. package/dist/esm2022/lib/producers/socket-receive-methods/control-media-host.service.mjs +38 -1
  207. package/dist/esm2022/lib/producers/socket-receive-methods/disconnect-user-self.service.mjs +25 -1
  208. package/dist/esm2022/lib/producers/socket-receive-methods/disconnect.service.mjs +27 -1
  209. package/dist/esm2022/lib/producers/socket-receive-methods/get-domains.service.mjs +25 -10
  210. package/dist/esm2022/lib/producers/socket-receive-methods/host-request-response.service.mjs +32 -49
  211. package/dist/esm2022/lib/producers/socket-receive-methods/meeting-ended.service.mjs +30 -1
  212. package/dist/esm2022/lib/producers/socket-receive-methods/meeting-still-there.service.mjs +24 -1
  213. package/dist/esm2022/lib/producers/socket-receive-methods/meeting-time-remaining.service.mjs +28 -1
  214. package/dist/esm2022/lib/producers/socket-receive-methods/participant-requested.service.mjs +32 -1
  215. package/dist/esm2022/lib/producers/socket-receive-methods/person-joined.service.mjs +26 -1
  216. package/dist/esm2022/lib/producers/socket-receive-methods/producer-media-closed.service.mjs +62 -1
  217. package/dist/esm2022/lib/producers/socket-receive-methods/producer-media-paused.service.mjs +63 -1
  218. package/dist/esm2022/lib/producers/socket-receive-methods/producer-media-resumed.service.mjs +46 -1
  219. package/dist/esm2022/lib/producers/socket-receive-methods/re-initiate-recording.service.mjs +30 -1
  220. package/dist/esm2022/lib/producers/socket-receive-methods/receive-message.service.mjs +39 -1
  221. package/dist/esm2022/lib/producers/socket-receive-methods/recording-notice.service.mjs +39 -1
  222. package/dist/esm2022/lib/producers/socket-receive-methods/room-record-params.service.mjs +63 -1
  223. package/dist/esm2022/lib/producers/socket-receive-methods/screen-producer-id.service.mjs +42 -1
  224. package/dist/esm2022/lib/producers/socket-receive-methods/start-records.service.mjs +26 -1
  225. package/dist/esm2022/lib/producers/socket-receive-methods/stopped-recording.service.mjs +26 -1
  226. package/dist/esm2022/lib/producers/socket-receive-methods/time-left-recording.service.mjs +22 -1
  227. package/dist/esm2022/lib/producers/socket-receive-methods/update-consuming-domains.service.mjs +43 -1
  228. package/dist/esm2022/lib/producers/socket-receive-methods/update-media-settings.service.mjs +31 -1
  229. package/dist/esm2022/lib/producers/socket-receive-methods/updated-co-host.service.mjs +41 -1
  230. package/dist/esm2022/lib/producers/socket-receive-methods/user-waiting.service.mjs +15 -41
  231. package/dist/esm2022/lib/sockets/socket-manager.service.mjs +41 -1
  232. package/dist/fesm2022/mediasfu-angular.mjs +8192 -910
  233. package/dist/fesm2022/mediasfu-angular.mjs.map +1 -1
  234. package/dist/lib/components/background-components/background-modal/background-modal.component.d.ts +36 -0
  235. package/dist/lib/components/breakout-components/breakout-rooms-modal.component.d.ts +50 -0
  236. package/dist/lib/components/breakout-components/edit-room-modal/edit-room-modal.component.d.ts +48 -0
  237. package/dist/lib/components/co-host-components/co-host-modal/co-host-modal.component.d.ts +62 -0
  238. package/dist/lib/components/display-components/alert-component/alert.component.component.d.ts +24 -18
  239. package/dist/lib/components/display-components/audio-card/audio-card.component.d.ts +59 -0
  240. package/dist/lib/components/display-components/audio-grid/audio-grid.component.d.ts +20 -0
  241. package/dist/lib/components/display-components/card-video-display/card-video-display.component.d.ts +35 -0
  242. package/dist/lib/components/display-components/control-buttons-alt-component/control-buttons-alt-component.component.d.ts +38 -0
  243. package/dist/lib/components/display-components/control-buttons-component-touch/control-buttons-component-touch.component.d.ts +24 -40
  244. package/dist/lib/components/display-components/control-widgets/menu-participants-widget.component.d.ts +21 -0
  245. package/dist/lib/components/display-components/control-widgets/menu-record-widget.component.d.ts +22 -0
  246. package/dist/lib/components/display-components/control-widgets/menu-widget.component.d.ts +23 -0
  247. package/dist/lib/components/display-components/control-widgets/message-widget.component.d.ts +23 -0
  248. package/dist/lib/components/display-components/control-widgets/record-timer-widget.component.d.ts +15 -0
  249. package/dist/lib/components/display-components/control-widgets/screenshare-widget.component.d.ts +27 -0
  250. package/dist/lib/components/display-components/flexible-grid/flexible-grid.component.d.ts +27 -18
  251. package/dist/lib/components/display-components/flexible-video/flexible-video.component.d.ts +30 -45
  252. package/dist/lib/components/display-components/loading-modal/loading-modal.component.d.ts +19 -17
  253. package/dist/lib/components/display-components/main-aspect-component/main-aspect-component.component.d.ts +32 -24
  254. package/dist/lib/components/display-components/main-container-component/main-container-component.component.d.ts +28 -16
  255. package/dist/lib/components/display-components/main-grid-component/main-grid-component.component.d.ts +28 -14
  256. package/dist/lib/components/display-components/main-screen-component/main-screen-component.component.d.ts +43 -22
  257. package/dist/lib/components/display-components/meeting-progress-timer/meeting-progress-timer.component.d.ts +25 -30
  258. package/dist/lib/components/display-components/mini-audio/mini-audio.component.d.ts +55 -62
  259. package/dist/lib/components/display-components/mini-card/mini-card.component.d.ts +19 -23
  260. package/dist/lib/components/display-components/mini-card-audio/mini-card-audio.component.d.ts +39 -39
  261. package/dist/lib/components/display-components/other-grid-component/other-grid-component.component.d.ts +28 -13
  262. package/dist/lib/components/display-components/pagination/pagination.component.d.ts +29 -23
  263. package/dist/lib/components/display-components/sub-aspect-component/sub-aspect-component.component.d.ts +18 -24
  264. package/dist/lib/components/display-components/video-card/video-card.component.d.ts +62 -0
  265. package/dist/lib/components/display-settings-components/display-settings-modal.component.d.ts +28 -17
  266. package/dist/lib/components/event-settings-components/event-settings-modal/event-settings-modal.component.d.ts +47 -38
  267. package/dist/lib/components/exit-components/confirm-exit-modal/confirm-exit-modal.component.d.ts +35 -22
  268. package/dist/lib/components/media-settings-components/media-settings-modal/media-settings-modal.component.d.ts +35 -24
  269. package/dist/lib/components/mediasfu-components/mediasfu-broadcast.component.d.ts +49 -0
  270. package/dist/lib/components/mediasfu-components/mediasfu-chat.component.d.ts +49 -0
  271. package/dist/lib/components/mediasfu-components/mediasfu-conference.component.d.ts +47 -11
  272. package/dist/lib/components/mediasfu-components/mediasfu-generic.component.d.ts +47 -11
  273. package/dist/lib/components/mediasfu-components/mediasfu-webinar.component.d.ts +45 -11
  274. package/dist/lib/components/menu-components/custom-buttons/custom-buttons.component.d.ts +49 -51
  275. package/dist/lib/components/menu-components/meeting-id-component/meeting-id-component.component.d.ts +6 -1
  276. package/dist/lib/components/menu-components/meeting-passcode-component/meeting-passcode-component.component.d.ts +5 -0
  277. package/dist/lib/components/menu-components/menu-modal/menu-modal.component.d.ts +21 -28
  278. package/dist/lib/components/menu-components/share-buttons-component/share-buttons-component.component.d.ts +15 -13
  279. package/dist/lib/components/message-components/message-panel/message-panel.component.d.ts +24 -0
  280. package/dist/lib/components/message-components/messages-modal/messages-modal.component.d.ts +34 -0
  281. package/dist/lib/components/misc-components/confirm-here-modal/confirm-here-modal.component.d.ts +16 -33
  282. package/dist/lib/components/misc-components/pre-join-page/pre-join-page.component.d.ts +8 -0
  283. package/dist/lib/components/misc-components/share-event-modal/share-event-modal.component.d.ts +14 -0
  284. package/dist/lib/components/misc-components/welcome-page/welcome-page.component.d.ts +15 -0
  285. package/dist/lib/components/participants-components/participant-list/participant-list.component.d.ts +19 -0
  286. package/dist/lib/components/participants-components/participant-list-item/participant-list-item.component.d.ts +19 -0
  287. package/dist/lib/components/participants-components/participant-list-others/participant-list-others.component.d.ts +17 -0
  288. package/dist/lib/components/participants-components/participant-list-others-item/participant-list-others-item.component.d.ts +17 -0
  289. package/dist/lib/components/participants-components/participants-modal/participants-modal.component.d.ts +24 -0
  290. package/dist/lib/components/polls-components/poll-modal/poll-modal.component.d.ts +27 -0
  291. package/dist/lib/components/recording-components/advanced-panel-component/advanced-panel-components.component.d.ts +15 -0
  292. package/dist/lib/components/recording-components/recording-modal/recording-modal.component.d.ts +12 -0
  293. package/dist/lib/components/recording-components/standard-panel-component/standard-panel-component.component.d.ts +5 -0
  294. package/dist/lib/components/requests-components/render-request-component/render-request-component.component.d.ts +22 -0
  295. package/dist/lib/components/requests-components/requests-modal/requests-modal.component.d.ts +17 -0
  296. package/dist/lib/components/screenboard-components/screenboard/screenboard.component.d.ts +10 -0
  297. package/dist/lib/components/screenboard-components/screenboard-modal/screenboard-modal.component.d.ts +11 -0
  298. package/dist/lib/components/waiting-components/waiting-room-modal.component.d.ts +59 -0
  299. package/dist/lib/components/whiteboard-components/configure-whiteboard-modal/configure-whiteboard-modal.component.d.ts +21 -0
  300. package/dist/lib/components/whiteboard-components/whiteboard/whiteboard.component.d.ts +49 -0
  301. package/dist/lib/consumers/add-videos-grid.service.d.ts +49 -0
  302. package/dist/lib/consumers/auto-adjust.service.d.ts +26 -0
  303. package/dist/lib/consumers/calculate-rows-and-columns.service.d.ts +18 -0
  304. package/dist/lib/consumers/change-vids.service.d.ts +131 -66
  305. package/dist/lib/consumers/check-grid.service.d.ts +32 -18
  306. package/dist/lib/consumers/check-permission.service.d.ts +25 -0
  307. package/dist/lib/consumers/check-screen-share.service.d.ts +35 -0
  308. package/dist/lib/consumers/close-and-resize.service.d.ts +102 -0
  309. package/dist/lib/consumers/compare-active-names.service.d.ts +31 -0
  310. package/dist/lib/consumers/compare-screen-states.service.d.ts +35 -0
  311. package/dist/lib/consumers/connect-ips.service.d.ts +42 -0
  312. package/dist/lib/consumers/connect-recv-transport.service.d.ts +33 -0
  313. package/dist/lib/consumers/connect-send-transport-audio.service.d.ts +38 -0
  314. package/dist/lib/consumers/connect-send-transport-screen.service.d.ts +40 -0
  315. package/dist/lib/consumers/connect-send-transport-video.service.d.ts +44 -0
  316. package/dist/lib/consumers/connect-send-transport.service.d.ts +54 -0
  317. package/dist/lib/consumers/consumer-resume.service.d.ts +36 -0
  318. package/dist/lib/consumers/control-media.service.d.ts +45 -0
  319. package/dist/lib/consumers/create-send-transport.service.d.ts +46 -0
  320. package/dist/lib/consumers/disconnect-send-transport-audio.service.d.ts +50 -0
  321. package/dist/lib/consumers/disconnect-send-transport-screen.service.d.ts +39 -0
  322. package/dist/lib/consumers/disconnect-send-transport-video.service.d.ts +45 -0
  323. package/dist/lib/consumers/disp-streams.service.d.ts +92 -0
  324. package/dist/lib/consumers/generate-page-content.service.d.ts +47 -0
  325. package/dist/lib/consumers/get-estimate.service.d.ts +50 -0
  326. package/dist/lib/consumers/get-piped-producers-alt.service.d.ts +33 -0
  327. package/dist/lib/consumers/get-producers-piped.service.d.ts +33 -0
  328. package/dist/lib/consumers/get-videos.service.d.ts +33 -0
  329. package/dist/lib/consumers/mix-streams.service.d.ts +22 -0
  330. package/dist/lib/consumers/on-screen-changes.service.d.ts +40 -0
  331. package/dist/lib/consumers/prepopulate-user-media.service.d.ts +99 -0
  332. package/dist/lib/consumers/process-consumer-transports-audio.service.d.ts +29 -0
  333. package/dist/lib/consumers/process-consumer-transports.service.d.ts +37 -0
  334. package/dist/lib/consumers/re-port.service.d.ts +48 -0
  335. package/dist/lib/consumers/re-update-inter.service.d.ts +82 -0
  336. package/dist/lib/consumers/readjust.service.d.ts +50 -0
  337. package/dist/lib/consumers/receive-all-piped-transports.service.d.ts +31 -0
  338. package/dist/lib/consumers/receive-room-messages.service.d.ts +27 -0
  339. package/dist/lib/consumers/reorder-streams.service.d.ts +58 -0
  340. package/dist/lib/consumers/request-screen-share.service.d.ts +34 -0
  341. package/dist/lib/consumers/resume-pause-audio-streams.service.d.ts +51 -0
  342. package/dist/lib/consumers/resume-pause-streams.service.d.ts +33 -0
  343. package/dist/lib/consumers/resume-send-transport-audio.service.d.ts +36 -0
  344. package/dist/lib/consumers/signal-new-consumer-transport.service.d.ts +37 -37
  345. package/dist/lib/consumers/socket-receive-methods/join-consume-room.service.d.ts +33 -0
  346. package/dist/lib/consumers/socket-receive-methods/new-pipe-producer.service.d.ts +39 -0
  347. package/dist/lib/consumers/socket-receive-methods/producer-closed.service.d.ts +27 -0
  348. package/dist/lib/consumers/start-share-screen.service.d.ts +40 -0
  349. package/dist/lib/consumers/stop-share-screen.service.d.ts +55 -0
  350. package/dist/lib/consumers/stream-success-audio-switch.service.d.ts +53 -0
  351. package/dist/lib/consumers/stream-success-audio.service.d.ts +61 -0
  352. package/dist/lib/consumers/stream-success-screen.service.d.ts +50 -0
  353. package/dist/lib/consumers/stream-success-video.service.d.ts +58 -0
  354. package/dist/lib/consumers/switch-user-audio.service.d.ts +33 -0
  355. package/dist/lib/consumers/switch-user-video-alt.service.d.ts +32 -0
  356. package/dist/lib/consumers/switch-user-video.service.d.ts +47 -0
  357. package/dist/lib/consumers/trigger.service.d.ts +38 -0
  358. package/dist/lib/consumers/update-mini-cards-grid.service.d.ts +54 -0
  359. package/dist/lib/consumers/update-participant-audio-decibels.service.d.ts +45 -0
  360. package/dist/lib/methods/background-methods/launch-background.service.d.ts +25 -0
  361. package/dist/lib/methods/breakout-room-methods/breakout-room-updated.service.d.ts +71 -0
  362. package/dist/lib/methods/breakout-room-methods/launch-breakout-rooms.service.d.ts +24 -0
  363. package/dist/lib/methods/co-host-methods/launch-co-host.service.d.ts +24 -0
  364. package/dist/lib/methods/co-host-methods/modify-co-host-settings.service.d.ts +44 -0
  365. package/dist/lib/methods/display-settings-methods/launch-display-settings.service.d.ts +22 -0
  366. package/dist/lib/methods/display-settings-methods/modify-display-settings.service.d.ts +75 -0
  367. package/dist/lib/methods/exit-methods/confirm-exit.service.d.ts +24 -0
  368. package/dist/lib/methods/exit-methods/launch-confirm-exit.service.d.ts +20 -0
  369. package/dist/lib/methods/media-settings-methods/launch-media-settings.service.d.ts +35 -0
  370. package/dist/lib/methods/menu-methods/launch-menu-modal.service.d.ts +22 -0
  371. package/dist/lib/methods/message-methods/launch-messages.service.d.ts +22 -0
  372. package/dist/lib/methods/message-methods/send-message.service.d.ts +49 -0
  373. package/dist/lib/methods/participants-methods/launch-participants.service.d.ts +24 -0
  374. package/dist/lib/methods/participants-methods/message-participants.service.d.ts +46 -0
  375. package/dist/lib/methods/participants-methods/mute-participants.service.d.ts +39 -0
  376. package/dist/lib/methods/participants-methods/remove-participants.service.d.ts +45 -0
  377. package/dist/lib/methods/polls-methods/handle-create-poll.service.d.ts +38 -0
  378. package/dist/lib/methods/polls-methods/handle-end-poll.service.d.ts +32 -0
  379. package/dist/lib/methods/polls-methods/handle-vote-poll.service.d.ts +34 -0
  380. package/dist/lib/methods/polls-methods/launch-poll.service.d.ts +20 -0
  381. package/dist/lib/methods/polls-methods/poll-updated.service.d.ts +31 -0
  382. package/dist/lib/methods/recording-methods/check-pause-state.service.d.ts +24 -0
  383. package/dist/lib/methods/recording-methods/check-resume-state.service.d.ts +22 -0
  384. package/dist/lib/methods/recording-methods/confirm-recording.service.d.ts +63 -0
  385. package/dist/lib/methods/recording-methods/launch-recording.service.d.ts +43 -0
  386. package/dist/lib/methods/recording-methods/record-pause-timer.service.d.ts +27 -0
  387. package/dist/lib/methods/recording-methods/record-resume-timer.service.d.ts +44 -0
  388. package/dist/lib/methods/recording-methods/record-start-timer.service.d.ts +45 -0
  389. package/dist/lib/methods/recording-methods/record-update-timer.service.d.ts +32 -0
  390. package/dist/lib/methods/recording-methods/start-recording.service.d.ts +50 -0
  391. package/dist/lib/methods/recording-methods/stop-recording.service.d.ts +38 -0
  392. package/dist/lib/methods/recording-methods/update-recording.service.d.ts +48 -0
  393. package/dist/lib/methods/requests-methods/launch-requests.service.d.ts +25 -0
  394. package/dist/lib/methods/requests-methods/respond-to-requests.service.d.ts +39 -0
  395. package/dist/lib/methods/settings-methods/launch-settings.service.d.ts +25 -0
  396. package/dist/lib/methods/settings-methods/modify-settings.service.d.ts +42 -0
  397. package/dist/lib/methods/stream-methods/click-audio.service.d.ts +97 -0
  398. package/dist/lib/methods/stream-methods/click-chat.service.d.ts +31 -0
  399. package/dist/lib/methods/stream-methods/click-screen-share.service.d.ts +68 -0
  400. package/dist/lib/methods/stream-methods/click-video.service.d.ts +88 -0
  401. package/dist/lib/methods/stream-methods/switch-audio.service.d.ts +47 -0
  402. package/dist/lib/methods/stream-methods/switch-video-alt.service.d.ts +50 -0
  403. package/dist/lib/methods/stream-methods/switch-video.service.d.ts +56 -0
  404. package/dist/lib/methods/utils/format-number.service.d.ts +26 -14
  405. package/dist/lib/methods/utils/generate-random-messages.service.d.ts +33 -0
  406. package/dist/lib/methods/utils/generate-random-participants.service.d.ts +27 -0
  407. package/dist/lib/methods/utils/generate-random-polls.service.d.ts +26 -0
  408. package/dist/lib/methods/utils/generate-random-request-list.service.d.ts +36 -0
  409. package/dist/lib/methods/utils/generate-random-waiting-room-list.service.d.ts +21 -0
  410. package/dist/lib/methods/utils/get-modal-position.util.d.ts +13 -3
  411. package/dist/lib/methods/utils/get-overlay-position.util.d.ts +13 -3
  412. package/dist/lib/methods/utils/meeting-timer/start-meeting-progress-timer.service.d.ts +37 -0
  413. package/dist/lib/methods/utils/mini-audio-player/mini-audio-player.component.d.ts +55 -0
  414. package/dist/lib/methods/utils/producer/a-params.service.d.ts +37 -0
  415. package/dist/lib/methods/utils/producer/h-params.service.d.ts +50 -0
  416. package/dist/lib/methods/utils/producer/screen-params.service.d.ts +37 -0
  417. package/dist/lib/methods/utils/producer/v-params.service.d.ts +50 -0
  418. package/dist/lib/methods/utils/producer/video-capture-constraints.service.d.ts +46 -0
  419. package/dist/lib/methods/utils/sleep.util.d.ts +9 -3
  420. package/dist/lib/methods/utils/sound-player.service.d.ts +21 -0
  421. package/dist/lib/methods/utils/validate-alphanumeric.service.d.ts +16 -0
  422. package/dist/lib/methods/waiting-methods/launch-waiting.service.d.ts +18 -0
  423. package/dist/lib/methods/waiting-methods/respond-to-waiting.service.d.ts +29 -0
  424. package/dist/lib/methods/whiteboard-methods/capture-canvas-stream.service.d.ts +29 -0
  425. package/dist/lib/methods/whiteboard-methods/launch-configure-whiteboard.service.d.ts +20 -0
  426. package/dist/lib/producer-client/producer-client-emits/create-device-client.service.d.ts +23 -0
  427. package/dist/lib/producer-client/producer-client-emits/join-room-client.service.d.ts +31 -0
  428. package/dist/lib/producer-client/producer-client-emits/update-room-parameters-client.service.d.ts +44 -0
  429. package/dist/lib/producers/producer-emits/join-con-room.service.d.ts +38 -0
  430. package/dist/lib/producers/producer-emits/join-room.service.d.ts +38 -0
  431. package/dist/lib/producers/socket-receive-methods/all-members-rest.service.d.ts +73 -0
  432. package/dist/lib/producers/socket-receive-methods/all-members.service.d.ts +71 -0
  433. package/dist/lib/producers/socket-receive-methods/all-waiting-room-members.service.d.ts +27 -0
  434. package/dist/lib/producers/socket-receive-methods/ban-participant.service.d.ts +36 -0
  435. package/dist/lib/producers/socket-receive-methods/control-media-host.service.d.ts +37 -0
  436. package/dist/lib/producers/socket-receive-methods/disconnect-user-self.service.d.ts +24 -0
  437. package/dist/lib/producers/socket-receive-methods/disconnect.service.d.ts +26 -0
  438. package/dist/lib/producers/socket-receive-methods/get-domains.service.d.ts +24 -9
  439. package/dist/lib/producers/socket-receive-methods/host-request-response.service.d.ts +31 -48
  440. package/dist/lib/producers/socket-receive-methods/meeting-ended.service.d.ts +29 -0
  441. package/dist/lib/producers/socket-receive-methods/meeting-still-there.service.d.ts +23 -0
  442. package/dist/lib/producers/socket-receive-methods/meeting-time-remaining.service.d.ts +27 -0
  443. package/dist/lib/producers/socket-receive-methods/participant-requested.service.d.ts +31 -0
  444. package/dist/lib/producers/socket-receive-methods/person-joined.service.d.ts +25 -0
  445. package/dist/lib/producers/socket-receive-methods/producer-media-closed.service.d.ts +61 -0
  446. package/dist/lib/producers/socket-receive-methods/producer-media-paused.service.d.ts +62 -0
  447. package/dist/lib/producers/socket-receive-methods/producer-media-resumed.service.d.ts +45 -0
  448. package/dist/lib/producers/socket-receive-methods/re-initiate-recording.service.d.ts +29 -0
  449. package/dist/lib/producers/socket-receive-methods/receive-message.service.d.ts +38 -0
  450. package/dist/lib/producers/socket-receive-methods/recording-notice.service.d.ts +38 -0
  451. package/dist/lib/producers/socket-receive-methods/room-record-params.service.d.ts +62 -0
  452. package/dist/lib/producers/socket-receive-methods/screen-producer-id.service.d.ts +41 -0
  453. package/dist/lib/producers/socket-receive-methods/start-records.service.d.ts +25 -0
  454. package/dist/lib/producers/socket-receive-methods/stopped-recording.service.d.ts +25 -0
  455. package/dist/lib/producers/socket-receive-methods/time-left-recording.service.d.ts +21 -0
  456. package/dist/lib/producers/socket-receive-methods/update-consuming-domains.service.d.ts +42 -0
  457. package/dist/lib/producers/socket-receive-methods/update-media-settings.service.d.ts +30 -0
  458. package/dist/lib/producers/socket-receive-methods/updated-co-host.service.d.ts +40 -0
  459. package/dist/lib/producers/socket-receive-methods/user-waiting.service.d.ts +14 -40
  460. package/dist/lib/sockets/socket-manager.service.d.ts +40 -0
  461. package/package.json +11 -2
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 MediaSFU
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -57,6 +57,11 @@ MediaSFU's Angular SDK comes with a host of powerful features out of the box:
57
57
 
58
58
  This section will guide users through the initial setup and installation of the npm module.
59
59
 
60
+ ### Documentation Reference
61
+
62
+ For comprehensive documentation on the available methods, components, and functions, please visit [mediasfu.com](https://www.mediasfu.com/angular/). This resource provides detailed information for this guide and additional documentation.
63
+
64
+
60
65
  ## Installation
61
66
 
62
67
  Instructions on how to install the module using npm.
@@ -129,7 +134,7 @@ Instructions on how to install the module using npm.
129
134
 
130
135
  <div style="background-color:#f0f0f0; padding: 10px; border-radius: 5px;">
131
136
  <h4 style="color:#d9534f;">Important:</h4>
132
- <p style="font-size: 1.2em;">You must obtain an API key from <a href="https://www.mediasfu.com/">mediasfu.com</a> to use this package.</p>
137
+ <p style="font-size: 1.2em; color: black;">You must obtain an API key from <a href="https://www.mediasfu.com/">mediasfu.com</a> to use this package.</p>
133
138
  </div>
134
139
 
135
140
 
@@ -139,19 +144,14 @@ Instructions on how to install the module using npm.
139
144
  A basic guide on how to use the module for common tasks.
140
145
 
141
146
  This section will guide users through the initial setup and installation of the npm module.
142
-
143
- *If users are interested in the Android/iOS (mobile) versions, they can refer to the Expo React Native project that is configured to produce both web and mobile apps. The source code for this project is available on GitHub at [*MediaSFU/MediaSFU*](https://github.com/MediaSFU/MediaSFU)*.
144
-
145
- *For the community edition, users can visit the GitHub repository at [*MediaSFU/MediaSFUOpen*](https://github.com/MediaSFU/MediaSFUOpen)*.
146
-
147
- *Users can follow the instructions provided in the README of the respective GitHub repositories to set up and install the projects for both web and mobile platforms, ensuring a consistent user experience across different platforms*.
148
-
149
- *Users can follow the instructions provided here and in the README of the GitHub repository to set up and install the project for both web and mobile platforms using Expo. This allows for seamless development and deployment across multiple platforms, ensuring a consistent user experience*.
150
-
151
147
  ## Introduction
152
148
 
153
149
  MediaSFU is a 2-page application consisting of a prejoin/welcome page and the main events room page. This guide will walk you through the basic usage of the module for setting up these pages.
154
150
 
151
+ ### Documentation Reference
152
+
153
+ For comprehensive documentation on the available methods, components, and functions, please visit [mediasfu.com](https://www.mediasfu.com/angular/). This resource provides detailed information for this guide and additional documentation.
154
+
155
155
  ## Prebuilt Event Rooms
156
156
 
157
157
  MediaSFU provides prebuilt event rooms for various purposes. These rooms are rendered as full pages and can be easily imported and used in your application. Here are the available prebuilt event rooms:
@@ -1091,111 +1091,112 @@ Expands on the basic usage, covering more advanced features and scenarios.
1091
1091
 
1092
1092
  ### Intermediate Usage Guide
1093
1093
 
1094
- In the Intermediate Usage Guide, we'll explore the core components and functionalities of the MediaSFU Angular module, focusing on media display, controls, and modal interactions.
1094
+ In the Intermediate Usage Guide, we'll explore the core components and functionalities of the MediaSFU Angular module, focusing on media display, controls, and modal interactions. **Click on any listed component/method to open the full documentation.**
1095
+
1095
1096
 
1096
1097
  #### Core Components Overview
1097
1098
 
1098
1099
  The main items displayed on an event page are media components (such as video, audio, and blank cards) and control components (for pagination, navigation, etc.).
1099
1100
 
1100
- ##### Media Display Components:
1101
+ > ##### **Media Display Components**
1101
1102
 
1102
1103
  | Component Name | Description |
1103
1104
  |--------------------------|-------------------------------------------------------------------------------------------------|
1104
- | **Main Aspect Component**| Serves as a container for the primary aspect of the user interface, typically containing the main content or focus of the application. |
1105
- | **Main Screen Component**| Responsible for rendering the main screen layout of the application, providing the foundation for displaying various elements and content. |
1106
- | **Main Grid Component** | Crucial part of the user interface, organizing and displaying primary content or elements in a grid layout format. |
1107
- | **Sub Aspect Component** | Acts as a secondary container within the user interface, often housing additional elements or controls related to the main aspect. |
1108
- | **Main Container Component** | Primary container for the application's content, encapsulating all major components and providing structural organization. |
1109
- | **Other Grid Component** | Complements the Main Grid Component by offering additional grid layouts, typically used for displaying secondary or auxiliary content. |
1105
+ | **[MainAspectComponent](https://www.mediasfu.com/angular/classes/MainAspectComponent)** | Serves as a container for the primary aspect of the user interface, typically containing the main content or focus of the application. |
1106
+ | **[MainScreenComponent](https://www.mediasfu.com/angular/classes/MainScreenComponent)** | Responsible for rendering the main screen layout of the application, providing the foundation for displaying various elements and content. |
1107
+ | **[MainGridComponent](https://www.mediasfu.com/angular/classes/MainGridComponent)** | Crucial part of the user interface, organizing and displaying primary content or elements in a grid layout format. |
1108
+ | **[SubAspectComponent](https://www.mediasfu.com/angular/classes/SubAspectComponent)** | Acts as a secondary container within the user interface, often housing additional elements or controls related to the main aspect. |
1109
+ | **[MainContainerComponent](https://www.mediasfu.com/angular/classes/MainContainerComponent)** | Primary container for the application's content, encapsulating all major components and providing structural organization. |
1110
+ | **[OtherGridComponent](https://www.mediasfu.com/angular/classes/OtherGridComponent)** | Complements the Main Grid Component by offering additional grid layouts, typically used for displaying secondary or auxiliary content. |
1110
1111
 
1111
- ### Control Components:
1112
+ > ##### **Control Components**
1112
1113
 
1113
1114
  | Component Name | Description |
1114
1115
  |-------------------------------|-------------------------------------------------------------------------------------------------|
1115
- | **Control Buttons Component** | Comprises a set of buttons or controls used for navigating, interacting, or managing various aspects of the application's functionality. |
1116
- | **Control Buttons Alt Component** | Provides alternative button configurations or styles for controlling different aspects of the application. |
1117
- | **Control Buttons Component Touch** | Specialized component designed for touch-enabled devices, offering floating buttons or controls for intuitive interaction with the application's features. |
1116
+ | **[ControlButtonsComponent](https://www.mediasfu.com/angular/classes/ControlButtonsComponent)** | Comprises a set of buttons or controls used for navigating, interacting, or managing various aspects of the application's functionality. |
1117
+ | **[ControlButtonsAltComponent](https://www.mediasfu.com/angular/classes/ControlButtonsAltComponent)** | Provides alternative button configurations or styles for controlling different aspects of the application. |
1118
+ | **[ControlButtonsComponentTouch](https://www.mediasfu.com/angular/classes/ControlButtonsComponentTouch)** | Specialized component designed for touch-enabled devices, offering floating buttons or controls for intuitive interaction with the application's features. |
1119
+
1118
1120
 
1119
1121
  These components collectively contribute to the overall user interface, facilitating navigation, interaction, and content display within the application.
1120
1122
 
1121
- ##### Modal Components:
1123
+ > ##### **Modal Components**
1122
1124
 
1123
1125
  | Modal Component | Description |
1124
1126
  |-----------------|-------------|
1125
- | LoadingModal | Modal for displaying loading indicator during data fetching or processing. |
1126
- | MainAspectComponent | Component responsible for displaying the main aspect of the event page. |
1127
- | ControlButtonsComponent | Component for displaying control buttons such as pagination controls. |
1128
- | ControlButtonsAltComponent | Alternate control buttons component for specific use cases. |
1129
- | ControlButtonsComponentTouch | Touch-enabled control buttons component for mobile devices. |
1130
- | OthergridComponent | Component for displaying additional grid elements on the event page. |
1131
- | MainScreenComponent | Component for rendering the main screen content of the event. |
1132
- | MainGridComponent | Main grid component for displaying primary event content. |
1133
- | SubAspectComponent | Component for displaying secondary aspects of the event page. |
1134
- | MainContainerComponent | Main container component for the event page content. |
1135
- | AlertComponent | Modal for displaying alert messages to the user. |
1136
- | MenuModal | Modal for displaying a menu with various options. |
1137
- | RecordingModal | Modal for managing recording functionality during the event. |
1138
- | RequestsModal | Modal for handling requests from participants during the event. |
1139
- | WaitingRoomModal | Modal for managing waiting room functionality during the event. |
1140
- | DisplaySettingsModal | Modal for adjusting display settings during the event. |
1141
- | EventSettingsModal | Modal for configuring event settings. |
1142
- | CoHostModal | Modal for managing co-host functionality during the event. |
1143
- | ParticipantsModal | Modal for displaying participant information and controls. |
1144
- | MessagesModal | Modal for managing messages and chat functionality during the event. |
1145
- | MediaSettingsModal | Modal for adjusting media settings during the event. |
1146
- | ConfirmExitModal | Modal for confirming exit from the event. |
1147
- | ConfirmHereModal | Modal for confirming certain actions or selections. |
1148
- | ShareEventModal | Modal for sharing the event with others. |
1149
- | WelcomePage | Welcome page modal for the event. |
1150
- | PreJoinPage | Prejoin page modal for the event. |
1151
- | PollModal | Modal for conducting polls or surveys during the event. |
1152
- | BreakoutRoomsModal | Modal for managing breakout rooms during the event. |
1153
- | ConfigureWhiteboardModal | Modal for configuring whiteboard settings during the event. |
1154
- | BackgroundModal | Modal for managing background settings during the event. |
1155
- | ScreenboardModal | Modal for managing screen share annotations during the event. |
1127
+ | **[LoadingModal](https://www.mediasfu.com/angular/classes/LoadingModal)** | Modal for displaying loading indicator during data fetching or processing. |
1128
+ | **[MainAspectComponent](https://www.mediasfu.com/angular/classes/MainAspectComponent)** | Component responsible for displaying the main aspect of the event page. |
1129
+ | **[ControlButtonsComponent](https://www.mediasfu.com/angular/classes/ControlButtonsComponent)** | Component for displaying control buttons such as pagination controls. |
1130
+ | **[ControlButtonsAltComponent](https://www.mediasfu.com/angular/classes/ControlButtonsAltComponent)** | Alternate control buttons component for specific use cases. |
1131
+ | **[ControlButtonsComponentTouch](https://www.mediasfu.com/angular/classes/ControlButtonsComponentTouch)** | Touch-enabled control buttons component for mobile devices. |
1132
+ | **[OtherGridComponent](https://www.mediasfu.com/angular/classes/OtherGridComponent)** | Component for displaying additional grid elements on the event page. |
1133
+ | **[MainScreenComponent](https://www.mediasfu.com/angular/classes/MainScreenComponent)** | Component for rendering the main screen content of the event. |
1134
+ | **[MainGridComponent](https://www.mediasfu.com/angular/classes/MainGridComponent)** | Main grid component for displaying primary event content. |
1135
+ | **[SubAspectComponent](https://www.mediasfu.com/angular/classes/SubAspectComponent)** | Component for displaying secondary aspects of the event page. |
1136
+ | **[MainContainerComponent](https://www.mediasfu.com/angular/classes/MainContainerComponent)** | Main container component for the event page content. |
1137
+ | **[AlertComponent](https://www.mediasfu.com/angular/classes/AlertComponent)** | Modal for displaying alert messages to the user. |
1138
+ | **[MenuModal](https://www.mediasfu.com/angular/classes/MenuModal)** | Modal for displaying a menu with various options. |
1139
+ | **[RecordingModal](https://www.mediasfu.com/angular/classes/RecordingModal)** | Modal for managing recording functionality during the event. |
1140
+ | **[RequestsModal](https://www.mediasfu.com/angular/classes/RequestsModal)** | Modal for handling requests from participants during the event. |
1141
+ | **[WaitingRoomModal](https://www.mediasfu.com/angular/classes/WaitingRoomModal)** | Modal for managing waiting room functionality during the event. |
1142
+ | **[DisplaySettingsModal](https://www.mediasfu.com/angular/classes/DisplaySettingsModal)** | Modal for adjusting display settings during the event. |
1143
+ | **[EventSettingsModal](https://www.mediasfu.com/angular/classes/EventSettingsModal)** | Modal for configuring event settings. |
1144
+ | **[CoHostModal](https://www.mediasfu.com/angular/classes/CoHostModal)** | Modal for managing co-host functionality during the event. |
1145
+ | **[ParticipantsModal](https://www.mediasfu.com/angular/classes/ParticipantsModal)** | Modal for displaying participant information and controls. |
1146
+ | **[MessagesModal](https://www.mediasfu.com/angular/classes/MessagesModal)** | Modal for managing messages and chat functionality during the event. |
1147
+ | **[MediaSettingsModal](https://www.mediasfu.com/angular/classes/MediaSettingsModal)** | Modal for adjusting media settings during the event. |
1148
+ | **[ConfirmExitModal](https://www.mediasfu.com/angular/classes/ConfirmExitModal)** | Modal for confirming exit from the event. |
1149
+ | **[ConfirmHereModal](https://www.mediasfu.com/angular/classes/ConfirmHereModal)** | Modal for confirming certain actions or selections. |
1150
+ | **[ShareEventModal](https://www.mediasfu.com/angular/classes/ShareEventModal)** | Modal for sharing the event with others. |
1151
+ | **[WelcomePage](https://www.mediasfu.com/angular/classes/WelcomePage)** | Welcome page modal for the event. |
1152
+ | **[PreJoinPage](https://www.mediasfu.com/angular/classes/PreJoinPage)** | Prejoin page modal for the event. |
1153
+ | **[PollModal](https://www.mediasfu.com/angular/classes/PollModal)** | Modal for conducting polls or surveys during the event. |
1154
+ | **[BreakoutRoomsModal](https://www.mediasfu.com/angular/classes/BreakoutRoomsModal)** | Modal for managing breakout rooms during the event. |
1155
+ | **[ConfigureWhiteboardModal](https://www.mediasfu.com/angular/classes/ConfigureWhiteboardModal)** | Modal for configuring whiteboard settings during the event. |
1156
+ | **[BackgroundModal](https://www.mediasfu.com/angular/classes/BackgroundModal)** | Modal for managing background settings during the event. |
1157
+ | **[ScreenboardModal](https://www.mediasfu.com/angular/classes/ScreenboardModal)** | Modal for managing screen share annotations during the event. |
1156
1158
 
1157
1159
  #### Modal Interactions
1158
1160
 
1159
1161
  Each modal has corresponding functions to trigger its usage:
1160
1162
 
1161
- 1. `launchMenuModal`: Launches the menu modal for settings and configurations.
1162
- 2. `launchRecording`: Initiates the recording modal for recording functionalities.
1163
- 3. `startRecording`: Starts the recording process.
1164
- 4. `confirmRecording`: Confirms and finalizes the recording.
1165
- 5. `launchWaiting`: Opens the waiting room modal for managing waiting room interactions.
1166
- 6. `launchCoHost`: Opens the co-host modal for managing co-host functionalities.
1167
- 7. `launchMediaSettings`: Launches the media settings modal for adjusting media-related configurations.
1168
- 8. `launchDisplaySettings`: Opens the display settings modal for adjusting display configurations.
1169
- 9. `launchSettings`: Initiates the settings modal for general event settings and configurations.
1170
- 10. `launchRequests`: Opens the requests modal for managing user requests.
1171
- 11. `launchParticipants`: Displays the participants modal for viewing and managing event participants.
1172
- 12. `launchMessages`: Opens the messages modal for communication through chat messages.
1173
- 13. `launchConfirmExit`: Prompts users to confirm before exiting the event.
1163
+ 1. [`launchMenuModal`](https://www.mediasfu.com/angular/classes/launchMenuModal): Launches the menu modal for settings and configurations.
1164
+ 2. [`launchRecording`](https://www.mediasfu.com/angular/classes/launchRecording): Initiates the recording modal for recording functionalities.
1165
+ 3. [`startRecording`](https://www.mediasfu.com/angular/classes/startRecording): Starts the recording process.
1166
+ 4. [`confirmRecording`](https://www.mediasfu.com/angular/classes/confirmRecording): Confirms and finalizes the recording.
1167
+ 5. [`launchWaiting`](https://www.mediasfu.com/angular/classes/launchWaiting): Opens the waiting room modal for managing waiting room interactions.
1168
+ 6. [`launchCoHost`](https://www.mediasfu.com/angular/classes/launchCoHost): Opens the co-host modal for managing co-host functionalities.
1169
+ 7. [`launchMediaSettings`](https://www.mediasfu.com/angular/classes/launchMediaSettings): Launches the media settings modal for adjusting media-related configurations.
1170
+ 8. [`launchDisplaySettings`](https://www.mediasfu.com/angular/classes/launchDisplaySettings): Opens the display settings modal for adjusting display configurations.
1171
+ 9. [`launchSettings`](https://www.mediasfu.com/angular/classes/launchSettings): Initiates the settings modal for general event settings and configurations.
1172
+ 10. [`launchRequests`](https://www.mediasfu.com/angular/classes/launchRequests): Opens the requests modal for managing user requests.
1173
+ 11. [`launchParticipants`](https://www.mediasfu.com/angular/classes/launchParticipants): Displays the participants modal for viewing and managing event participants.
1174
+ 12. [`launchMessages`](https://www.mediasfu.com/angular/classes/launchMessages): Opens the messages modal for communication through chat messages.
1175
+ 13. [`launchConfirmExit`](https://www.mediasfu.com/angular/classes/launchConfirmExit): Prompts users to confirm before exiting the event.
1174
1176
 
1175
1177
  #### Media Display and Controls
1176
1178
 
1177
1179
  These components facilitate media display and control functionalities:
1178
1180
 
1179
- 1. **Pagination**: Handles pagination and page switching.
1180
- 2. **FlexibleGrid**: Renders flexible grid layouts for media display.
1181
- 3. **FlexibleVideo**: Displays videos in a flexible manner within the grid.
1182
- 4. **AudioGrid**: Renders audio components within the grid layout.
1183
- 5. **Whiteboard**: Manages whiteboard functionalities for collaborative drawing.
1184
- 6. **Screenboard**: Controls screen share annotations and interactions.
1181
+ 1. **[Pagination](https://www.mediasfu.com/angular/classes/Pagination)**: Handles pagination and page switching.
1182
+ 2. **[FlexibleGrid](https://www.mediasfu.com/angular/classes/FlexibleGrid)**: Renders flexible grid layouts for media display.
1183
+ 3. **[FlexibleVideo](https://www.mediasfu.com/angular/classes/FlexibleVideo)**: Displays videos in a flexible manner within the grid.
1184
+ 4. **[AudioGrid](https://www.mediasfu.com/angular/classes/AudioGrid)**: Renders audio components within the grid layout.
1185
+ 5. **[Whiteboard](https://www.mediasfu.com/angular/classes/Whiteboard)**: Manages whiteboard functionalities for collaborative drawing.
1186
+ 6. **[Screenboard](https://www.mediasfu.com/angular/classes/Screenboard)**: Controls screen share annotations and interactions.
1185
1187
 
1186
1188
  These components enable seamless media presentation and interaction within the event environment, providing users with a rich and immersive experience.
1187
1189
 
1188
1190
  | UI Media Component | Description |
1189
1191
  |--------------|-------------|
1190
- | MeetingProgressTimer | Component for displaying a timer indicating the progress of a meeting or event. |
1191
- | MiniAudio | Component for rendering a compact audio player with basic controls. |
1192
- | MiniCard | Component for displaying a minimized card view with essential information. |
1193
- | AudioCard | Component for displaying audio content with control elements, details, and audio decibels. |
1194
- | VideoCard | Component for displaying video content with control elements, details, and audio decibels. |
1195
- | CardVideoDisplay | Video player component for displaying embedded videos with controls and details. |
1196
- | MiniCardAudio | Component for rendering a compact card view with audio content and controls. |
1197
- | MiniAudioPlayer | Utility method for playing audio and rendering a mini audio modal when the user is not actively displayed on the page. |
1198
-
1192
+ | **[MeetingProgressTimer](https://www.mediasfu.com/angular/classes/MeetingProgressTimer)** | Component for displaying a timer indicating the progress of a meeting or event. |
1193
+ | **[MiniAudio](https://www.mediasfu.com/angular/classes/MiniAudio)** | Component for rendering a compact audio player with basic controls. |
1194
+ | **[MiniCard](https://www.mediasfu.com/angular/classes/MiniCard)** | Component for displaying a minimized card view with essential information. |
1195
+ | **[AudioCard](https://www.mediasfu.com/angular/classes/AudioCard)** | Component for displaying audio content with control elements, details, and audio decibels. |
1196
+ | **[VideoCard](https://www.mediasfu.com/angular/classes/VideoCard)** | Component for displaying video content with control elements, details, and audio decibels. |
1197
+ | **[CardVideoDisplay](https://www.mediasfu.com/angular/classes/CardVideoDisplay)** | Video player component for displaying embedded videos with controls and details. |
1198
+ | **[MiniCardAudio](https://www.mediasfu.com/angular/classes/MiniCardAudio)** | Component for rendering a compact card view with audio content and controls. |
1199
+ | **[MiniAudioPlayer](https://www.mediasfu.com/angular/classes/MiniAudioPlayer)** | Utility method for playing audio and rendering a mini audio modal when the user is not actively displayed on the page. |
1199
1200
 
1200
1201
  ---
1201
1202
  With the Intermediate Usage Guide, users can explore and leverage the core components and functionalities of the MediaSFU Angular module to enhance their event hosting and participation experiences.
@@ -1761,84 +1762,85 @@ These advanced media control functions encompass a wide range of functionalities
1761
1762
 
1762
1763
  This robust collection of functions empowers developers to tailor their applications to specific requirements, whether it involves intricate media streaming setups, real-time communication protocols, or sophisticated user interface interactions. With these tools at their disposal, developers can create rich and responsive media experiences that meet the demands of their users and applications.
1763
1764
 
1764
- Here's a tabulated list of advanced control functions along with brief explanations:
1765
+ Here's a tabulated list of advanced control functions along with brief explanations (click the function(link) for full usage guide):
1765
1766
 
1766
1767
  | Function | Explanation |
1767
1768
  |----------------------------------|---------------------------------------------------------------------------------------------------------|
1768
- | `connectSocket` | Connects to the WebSocket server. |
1769
- | `disconnectSocket` | Disconnects from the WebSocket server. |
1770
- | `joinRoomClient` | Joins a room as a client. |
1771
- | `updateRoomParametersClient` | Updates room parameters as a client. |
1772
- | `createDeviceClient` | Creates a device as a client. |
1773
- | `switchVideoAlt` | Switches video/camera streams. |
1774
- | `clickVideo` | Handles clicking on video controls. |
1775
- | `clickAudio` | Handles clicking on audio controls. |
1776
- | `clickScreenShare` | Handles clicking on screen share controls. |
1777
- | `streamSuccessVideo` | Handles successful video streaming. |
1778
- | `streamSuccessAudio` | Handles successful audio streaming. |
1779
- | `streamSuccessScreen` | Handles successful screen sharing. |
1780
- | `streamSuccessAudioSwitch` | Handles successful audio switching. |
1781
- | `checkPermission` | Checks for media access permissions. |
1782
- | `producerClosed` | Handles the closure of a producer. |
1783
- | `newPipeProducer` | Creates receive transport for a new piped producer. |
1784
- | `updateMiniCardsGrid` | Updates the mini-grids (mini cards) grid. |
1785
- | `mixStreams` | Mixes streams and prioritizes interesting ones together. |
1786
- | `dispStreams` | Displays streams (media). |
1787
- | `stopShareScreen` | Stops screen sharing. |
1788
- | `checkScreenShare` | Checks for screen sharing availability. |
1789
- | `startShareScreen` | Starts screen sharing. |
1790
- | `requestScreenShare` | Requests permission for screen sharing. |
1791
- | `reorderStreams` | Reorders streams (based on interest level). |
1792
- | `prepopulateUserMedia` | Populates user media (for main grid). |
1793
- | `getVideos` | Retrieves videos that are pending. |
1794
- | `rePort` | Handles re-porting (updates of changes in UI when recording). |
1795
- | `trigger` | Triggers actions (reports changes in UI to backend for recording). |
1796
- | `consumerResume` | Resumes consumers. |
1797
- | `connectSendTransportAudio` | Connects send transport for audio. |
1798
- | `connectSendTransportVideo` | Connects send transport for video. |
1799
- | `connectSendTransportScreen` | Connects send transport for screen sharing. |
1800
- | `processConsumerTransports` | Processes consumer transports to pause/resume based on the current active page. |
1801
- | `resumePauseStreams` | Resumes or pauses streams. |
1802
- | `readjust` | Readjusts display elements. |
1803
- | `checkGrid` | Checks the grid sizes to display. |
1804
- | `getEstimate` | Gets an estimate of grids to add. |
1805
- | `calculateRowsAndColumns` | Calculates rows and columns for the grid. |
1806
- | `addVideosGrid` | Adds videos to the grid. |
1807
- | `onScreenChanges` | Handles screen changes (orientation and resize). |
1808
- | `sleep` | Pauses execution for a specified duration. |
1809
- | `changeVids` | Changes videos. |
1810
- | `compareActiveNames` | Compares active names (for recording UI changes reporting). |
1811
- | `compareScreenStates` | Compares screen states (for recording changes in grid sizes reporting). |
1812
- | `createSendTransport` | Creates a send transport. |
1813
- | `resumeSendTransportAudio` | Resumes a send transport for audio. |
1814
- | `receiveAllPipedTransports` | Receives all piped transports. |
1815
- | `disconnectSendTransportVideo` | Disconnects send transport for video. |
1816
- | `disconnectSendTransportAudio` | Disconnects send transport for audio. |
1817
- | `disconnectSendTransportScreen` | Disconnects send transport for screen sharing. |
1818
- | `connectSendTransport` | Connects a send transport. |
1819
- | `getPipedProducersAlt` | Gets piped producers. |
1820
- | `signalNewConsumerTransport` | Signals a new consumer transport. |
1821
- | `connectRecvTransport` | Connects a receive transport. |
1822
- | `reUpdateInter` | Re-updates the interface based on audio decibels. |
1823
- | `updateParticipantAudioDecibels` | Updates participant audio decibels. |
1824
- | `closeAndResize` | Closes and resizes the media elements. |
1825
- | `autoAdjust` | Automatically adjusts display elements. |
1826
- | `switchUserVideoAlt` | Switches user video (alternate) (back/front). |
1827
- | `switchUserVideo` | Switches user video (specific video id). |
1828
- | `switchUserAudio` | Switches user audio. |
1829
- | `receiveRoomMessages` | Receives room messages. |
1830
- | `formatNumber` | Formats a number (for broadcast viewers). |
1831
- | `connectIps` | Connects IPs (connect to consuming servers)
1832
- | `startMeetingProgressTimer` | Starts the meeting progress timer. |
1833
- | `stopRecording` | Stops the recording process. |
1834
- | `pollUpdated` | Handles updated poll data. |
1835
- | `handleVotePoll` | Handles voting in a poll. |
1836
- | `handleCreatePoll` | Handles creating a poll. |
1837
- | `handleEndPoll` | Handles ending a poll. |
1838
- | `breakoutRoomUpdated` | Handles updated breakout room data. |
1839
- | `captureCanvasStream` | Captures a canvas stream. |
1840
- | `resumePauseAudioStreams` | Resumes or pauses audio streams. |
1841
- |`processConsumerTransportsAudio` | Processes consumer transports for audio. |
1769
+ | [`connectSocket`](https://www.mediasfu.com/angular/classes/connectSocket) | Connects to the WebSocket server. |
1770
+ | [`disconnectSocket`](https://www.mediasfu.com/angular/classes/disconnectSocket) | Disconnects from the WebSocket server. |
1771
+ | [`joinRoomClient`](https://www.mediasfu.com/angular/classes/joinRoomClient) | Joins a room as a client. |
1772
+ | [`updateRoomParametersClient`](https://www.mediasfu.com/angular/classes/updateRoomParametersClient) | Updates room parameters as a client. |
1773
+ | [`createDeviceClient`](https://www.mediasfu.com/angular/classes/createDeviceClient) | Creates a device as a client. |
1774
+ | [`switchVideoAlt`](https://www.mediasfu.com/angular/classes/switchVideoAlt) | Switches video/camera streams. |
1775
+ | [`clickVideo`](https://www.mediasfu.com/angular/classes/clickVideo) | Handles clicking on video controls. |
1776
+ | [`clickAudio`](https://www.mediasfu.com/angular/classes/clickAudio) | Handles clicking on audio controls. |
1777
+ | [`clickScreenShare`](https://www.mediasfu.com/angular/classes/clickScreenShare) | Handles clicking on screen share controls. |
1778
+ | [`streamSuccessVideo`](https://www.mediasfu.com/angular/classes/streamSuccessVideo) | Handles successful video streaming. |
1779
+ | [`streamSuccessAudio`](https://www.mediasfu.com/angular/classes/streamSuccessAudio) | Handles successful audio streaming. |
1780
+ | [`streamSuccessScreen`](https://www.mediasfu.com/angular/classes/streamSuccessScreen) | Handles successful screen sharing. |
1781
+ | [`streamSuccessAudioSwitch`](https://www.mediasfu.com/angular/classes/streamSuccessAudioSwitch) | Handles successful audio switching. |
1782
+ | [`checkPermission`](https://www.mediasfu.com/angular/classes/checkPermission) | Checks for media access permissions. |
1783
+ | [`producerClosed`](https://www.mediasfu.com/angular/classes/producerClosed) | Handles the closure of a producer. |
1784
+ | [`newPipeProducer`](https://www.mediasfu.com/angular/classes/newPipeProducer) | Creates receive transport for a new piped producer. |
1785
+ | [`updateMiniCardsGrid`](https://www.mediasfu.com/angular/classes/updateMiniCardsGrid) | Updates the mini-grids (mini cards) grid. |
1786
+ | [`mixStreams`](https://www.mediasfu.com/angular/classes/mixStreams) | Mixes streams and prioritizes interesting ones together. |
1787
+ | [`dispStreams`](https://www.mediasfu.com/angular/classes/dispStreams) | Displays streams (media). |
1788
+ | [`stopShareScreen`](https://www.mediasfu.com/angular/classes/stopShareScreen) | Stops screen sharing. |
1789
+ | [`checkScreenShare`](https://www.mediasfu.com/angular/classes/checkScreenShare) | Checks for screen sharing availability. |
1790
+ | [`startShareScreen`](https://www.mediasfu.com/angular/classes/startShareScreen) | Starts screen sharing. |
1791
+ | [`requestScreenShare`](https://www.mediasfu.com/angular/classes/requestScreenShare) | Requests permission for screen sharing. |
1792
+ | [`reorderStreams`](https://www.mediasfu.com/angular/classes/reorderStreams) | Reorders streams (based on interest level). |
1793
+ | [`prepopulateUserMedia`](https://www.mediasfu.com/angular/classes/prepopulateUserMedia) | Populates user media (for main grid). |
1794
+ | [`getVideos`](https://www.mediasfu.com/angular/classes/getVideos) | Retrieves videos that are pending. |
1795
+ | [`rePort`](https://www.mediasfu.com/angular/classes/rePort) | Handles re-porting (updates of changes in UI when recording). |
1796
+ | [`trigger`](https://www.mediasfu.com/angular/classes/trigger) | Triggers actions (reports changes in UI to backend for recording). |
1797
+ | [`consumerResume`](https://www.mediasfu.com/angular/classes/consumerResume) | Resumes consumers. |
1798
+ | [`connectSendTransportAudio`](https://www.mediasfu.com/angular/classes/connectSendTransportAudio) | Connects send transport for audio. |
1799
+ | [`connectSendTransportVideo`](https://www.mediasfu.com/angular/classes/connectSendTransportVideo) | Connects send transport for video. |
1800
+ | [`connectSendTransportScreen`](https://www.mediasfu.com/angular/classes/connectSendTransportScreen) | Connects send transport for screen sharing. |
1801
+ | [`processConsumerTransports`](https://www.mediasfu.com/angular/classes/processConsumerTransports) | Processes consumer transports to pause/resume based on the current active page. |
1802
+ | [`resumePauseStreams`](https://www.mediasfu.com/angular/classes/resumePauseStreams) | Resumes or pauses streams. |
1803
+ | [`readjust`](https://www.mediasfu.com/angular/classes/readjust) | Readjusts display elements. |
1804
+ | [`checkGrid`](https://www.mediasfu.com/angular/classes/checkGrid) | Checks the grid sizes to display. |
1805
+ | [`getEstimate`](https://www.mediasfu.com/angular/classes/getEstimate) | Gets an estimate of grids to add. |
1806
+ | [`calculateRowsAndColumns`](https://www.mediasfu.com/angular/classes/calculateRowsAndColumns) | Calculates rows and columns for the grid. |
1807
+ | [`addVideosGrid`](https://www.mediasfu.com/angular/classes/addVideosGrid) | Adds videos to the grid. |
1808
+ | [`onScreenChanges`](https://www.mediasfu.com/angular/classes/onScreenChanges) | Handles screen changes (orientation and resize). |
1809
+ | [`sleep`](https://www.mediasfu.com/angular/classes/sleep) | Pauses execution for a specified duration. |
1810
+ | [`changeVids`](https://www.mediasfu.com/angular/classes/changeVids) | Changes videos. |
1811
+ | [`compareActiveNames`](https://www.mediasfu.com/angular/classes/compareActiveNames) | Compares active names (for recording UI changes reporting). |
1812
+ | [`compareScreenStates`](https://www.mediasfu.com/angular/classes/compareScreenStates) | Compares screen states (for recording changes in grid sizes reporting). |
1813
+ | [`createSendTransport`](https://www.mediasfu.com/angular/classes/createSendTransport) | Creates a send transport. |
1814
+ | [`resumeSendTransportAudio`](https://www.mediasfu.com/angular/classes/resumeSendTransportAudio) | Resumes a send transport for audio. |
1815
+ | [`receiveAllPipedTransports`](https://www.mediasfu.com/angular/classes/receiveAllPipedTransports) | Receives all piped transports. |
1816
+ | [`disconnectSendTransportVideo`](https://www.mediasfu.com/angular/classes/disconnectSendTransportVideo) | Disconnects send transport for video. |
1817
+ | [`disconnectSendTransportAudio`](https://www.mediasfu.com/angular/classes/disconnectSendTransportAudio) | Disconnects send transport for audio. |
1818
+ | [`disconnectSendTransportScreen`](https://www.mediasfu.com/angular/classes/disconnectSendTransportScreen) | Disconnects send transport for screen sharing. |
1819
+ | [`connectSendTransport`](https://www.mediasfu.com/angular/classes/connectSendTransport) | Connects a send transport. |
1820
+ | [`getPipedProducersAlt`](https://www.mediasfu.com/angular/classes/getPipedProducersAlt) | Gets piped producers. |
1821
+ | [`signalNewConsumerTransport`](https://www.mediasfu.com/angular/classes/signalNewConsumerTransport) | Signals a new consumer transport. |
1822
+ | [`connectRecvTransport`](https://www.mediasfu.com/angular/classes/connectRecvTransport) | Connects a receive transport. |
1823
+ | [`reUpdateInter`](https://www.mediasfu.com/angular/classes/reUpdateInter) | Re-updates the interface based on audio decibels. |
1824
+ | [`updateParticipantAudioDecibels`](https://www.mediasfu.com/angular/classes/updateParticipantAudioDecibels) | Updates participant audio decibels. |
1825
+ | [`closeAndResize`](https://www.mediasfu.com/angular/classes/closeAndResize) | Closes and resizes the media elements. |
1826
+ | [`autoAdjust`](https://www.mediasfu.com/angular/classes/autoAdjust) | Automatically adjusts display elements. |
1827
+ | [`switchUserVideoAlt`](https://www.mediasfu.com/angular/classes/switchUserVideoAlt) | Switches user video (alternate) (back/front). |
1828
+ | [`switchUserVideo`](https://www.mediasfu.com/angular/classes/switchUserVideo) | Switches user video (specific video id). |
1829
+ | [`switchUserAudio`](https://www.mediasfu.com/angular/classes/switchUserAudio) | Switches user audio. |
1830
+ | [`receiveRoomMessages`](https://www.mediasfu.com/angular/classes/receiveRoomMessages) | Receives room messages. |
1831
+ | [`formatNumber`](https://www.mediasfu.com/angular/classes/formatNumber) | Formats a number (for broadcast viewers). |
1832
+ | [`connectIps`](https://www.mediasfu.com/angular/classes/connectIps) | Connects IPs (connect to consuming servers) |
1833
+ | [`startMeetingProgressTimer`](https://www.mediasfu.com/angular/classes/startMeetingProgressTimer) | Starts the meeting progress timer. |
1834
+ | [`stopRecording`](https://www.mediasfu.com/angular/classes/stopRecording) | Stops the recording process. |
1835
+ | [`pollUpdated`](https://www.mediasfu.com/angular/classes/pollUpdated) | Handles updated poll data. |
1836
+ | [`handleVotePoll`](https://www.mediasfu.com/angular/classes/handleVotePoll) | Handles voting in a poll. |
1837
+ | [`handleCreatePoll`](https://www.mediasfu.com/angular/classes/handleCreatePoll) | Handles creating a poll. |
1838
+ | [`handleEndPoll`](https://www.mediasfu.com/angular/classes/handleEndPoll) | Handles ending a poll. |
1839
+ | [`breakoutRoomUpdated`](https://www.mediasfu.com/angular/classes/breakoutRoomUpdated) | Handles updated breakout room data. |
1840
+ | [`captureCanvasStream`](https://www.mediasfu.com/angular/classes/captureCanvasStream) | Captures a canvas stream. |
1841
+ | [`resumePauseAudioStreams`](https://www.mediasfu.com/angular/classes/resumePauseAudioStreams) | Resumes or pauses audio streams. |
1842
+ | [`processConsumerTransportsAudio`](https://www.mediasfu.com/angular/classes/processConsumerTransportsAudio) | Processes consumer transports for audio. |
1843
+
1842
1844
 
1843
1845
  ### Room Socket Events
1844
1846
 
@@ -1848,41 +1850,41 @@ In the context of a room's real-time communication, various events occur, such a
1848
1850
 
1849
1851
  | Function | Explanation |
1850
1852
  |-------------------------------|---------------------------------------------------------------------------------------------------------|
1851
- | `userWaiting` | Triggered when a user is waiting. |
1852
- | `personJoined` | Triggered when a person joins the room. |
1853
- | `allWaitingRoomMembers` | Triggered when information about all waiting room members is received. |
1854
- | `roomRecordParams` | Triggered when room recording parameters are received. |
1855
- | `banParticipant` | Triggered when a participant is banned. |
1856
- | `updatedCoHost` | Triggered when the co-host information is updated. |
1857
- | `participantRequested` | Triggered when a participant requests access. |
1858
- | `screenProducerId` | Triggered when the screen producer ID is received. |
1859
- | `updateMediaSettings` | Triggered when media settings are updated. |
1860
- | `producerMediaPaused` | Triggered when producer media is paused. |
1861
- | `producerMediaResumed` | Triggered when producer media is resumed. |
1862
- | `producerMediaClosed` | Triggered when producer media is closed. |
1863
- | `controlMediaHost` | Triggered when media control is hosted. |
1864
- | `meetingEnded` | Triggered when the meeting ends. |
1865
- | `disconnectUserSelf` | Triggered when a user disconnects. |
1866
- | `receiveMessage` | Triggered when a message is received. |
1867
- | `meetingTimeRemaining` | Triggered when meeting time remaining is received. |
1868
- | `meetingStillThere` | Triggered when the meeting is still active. |
1869
- | `startRecords` | Triggered when recording starts. |
1870
- | `reInitiateRecording` | Triggered when recording needs to be re-initiated. |
1871
- | `getDomains` | Triggered when domains are received. |
1872
- | `updateConsumingDomains` | Triggered when consuming domains are updated. |
1873
- | `recordingNotice` | Triggered when a recording notice is received. |
1874
- | `timeLeftRecording` | Triggered when time left for recording is received. |
1875
- | `stoppedRecording` | Triggered when recording stops. |
1876
- | `hostRequestResponse` | Triggered when the host request response is received. |
1877
- | `allMembers` | Triggered when information about all members is received. |
1878
- | `allMembersRest` | Triggered when information about all members is received (rest of the members). |
1879
- | `disconnect` | Triggered when a disconnect event occurs. |
1880
- | `pollUpdated` | Triggered when a poll is updated. |
1881
- | `breakoutRoomUpdated` | Triggered when a breakout room is updated.
1882
- | `whiteboardUpdated` | Handles updated whiteboard data.
1883
- | `whiteboardAction` | Handles whiteboard actions. | |
1884
-
1885
- #### Sample Usage:
1853
+ | [`userWaiting`](https://www.mediasfu.com/angular/classes/userWaiting) | Triggered when a user is waiting. |
1854
+ | [`personJoined`](https://www.mediasfu.com/angular/classes/personJoined) | Triggered when a person joins the room. |
1855
+ | [`allWaitingRoomMembers`](https://www.mediasfu.com/angular/classes/allWaitingRoomMembers) | Triggered when information about all waiting room members is received. |
1856
+ | [`roomRecordParams`](https://www.mediasfu.com/angular/classes/roomRecordParams) | Triggered when room recording parameters are received. |
1857
+ | [`banParticipant`](https://www.mediasfu.com/angular/classes/banParticipant) | Triggered when a participant is banned. |
1858
+ | [`updatedCoHost`](https://www.mediasfu.com/angular/classes/updatedCoHost) | Triggered when the co-host information is updated. |
1859
+ | [`participantRequested`](https://www.mediasfu.com/angular/classes/participantRequested) | Triggered when a participant requests access. |
1860
+ | [`screenProducerId`](https://www.mediasfu.com/angular/classes/screenProducerId) | Triggered when the screen producer ID is received. |
1861
+ | [`updateMediaSettings`](https://www.mediasfu.com/angular/classes/updateMediaSettings) | Triggered when media settings are updated. |
1862
+ | [`producerMediaPaused`](https://www.mediasfu.com/angular/classes/producerMediaPaused) | Triggered when producer media is paused. |
1863
+ | [`producerMediaResumed`](https://www.mediasfu.com/angular/classes/producerMediaResumed) | Triggered when producer media is resumed. |
1864
+ | [`producerMediaClosed`](https://www.mediasfu.com/angular/classes/producerMediaClosed) | Triggered when producer media is closed. |
1865
+ | [`controlMediaHost`](https://www.mediasfu.com/angular/classes/controlMediaHost) | Triggered when media control is hosted. |
1866
+ | [`meetingEnded`](https://www.mediasfu.com/angular/classes/meetingEnded) | Triggered when the meeting ends. |
1867
+ | [`disconnectUserSelf`](https://www.mediasfu.com/angular/classes/disconnectUserSelf) | Triggered when a user disconnects. |
1868
+ | [`receiveMessage`](https://www.mediasfu.com/angular/classes/receiveMessage) | Triggered when a message is received. |
1869
+ | [`meetingTimeRemaining`](https://www.mediasfu.com/angular/classes/meetingTimeRemaining) | Triggered when meeting time remaining is received. |
1870
+ | [`meetingStillThere`](https://www.mediasfu.com/angular/classes/meetingStillThere) | Triggered when the meeting is still active. |
1871
+ | [`startRecords`](https://www.mediasfu.com/angular/classes/startRecords) | Triggered when recording starts. |
1872
+ | [`reInitiateRecording`](https://www.mediasfu.com/angular/classes/reInitiateRecording) | Triggered when recording needs to be re-initiated. |
1873
+ | [`getDomains`](https://www.mediasfu.com/angular/classes/getDomains) | Triggered when domains are received. |
1874
+ | [`updateConsumingDomains`](https://www.mediasfu.com/angular/classes/updateConsumingDomains) | Triggered when consuming domains are updated. |
1875
+ | [`recordingNotice`](https://www.mediasfu.com/angular/classes/recordingNotice) | Triggered when a recording notice is received. |
1876
+ | [`timeLeftRecording`](https://www.mediasfu.com/angular/classes/timeLeftRecording) | Triggered when time left for recording is received. |
1877
+ | [`stoppedRecording`](https://www.mediasfu.com/angular/classes/stoppedRecording) | Triggered when recording stops. |
1878
+ | [`hostRequestResponse`](https://www.mediasfu.com/angular/classes/hostRequestResponse) | Triggered when the host request response is received. |
1879
+ | [`allMembers`](https://www.mediasfu.com/angular/classes/allMembers) | Triggered when information about all members is received. |
1880
+ | [`allMembersRest`](https://www.mediasfu.com/angular/classes/allMembersRest) | Triggered when information about all members is received (rest of the members). |
1881
+ | [`disconnect`](https://www.mediasfu.com/angular/classes/disconnect) | Triggered when a disconnect event occurs. |
1882
+ | [`pollUpdated`](https://www.mediasfu.com/angular/classes/pollUpdated) | Triggered when a poll is updated. |
1883
+ | [`breakoutRoomUpdated`](https://www.mediasfu.com/angular/classes/breakoutRoomUpdated) | Triggered when a breakout room is updated.
1884
+ | [`whiteboardUpdated`](https://www.mediasfu.com/angular/classes/whiteboardUpdated) | Handles updated whiteboard data.
1885
+ | [`whiteboardAction`](https://www.mediasfu.com/angular/classes/whiteboardAction) | Handles whiteboard actions. |
1886
+
1887
+ #### Sample Usage
1886
1888
 
1887
1889
  ```javascript
1888
1890
  // Example usage of provided socket event handling functions