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.
- package/LICENSE +21 -0
- package/README.md +194 -192
- package/dist/README.md +194 -192
- package/dist/esm2022/lib/components/background-components/background-modal/background-modal.component.mjs +37 -1
- package/dist/esm2022/lib/components/breakout-components/breakout-rooms-modal.component.mjs +51 -1
- package/dist/esm2022/lib/components/breakout-components/edit-room-modal/edit-room-modal.component.mjs +49 -1
- package/dist/esm2022/lib/components/co-host-components/co-host-modal/co-host-modal.component.mjs +1 -2
- package/dist/esm2022/lib/components/display-components/alert-component/alert.component.component.mjs +25 -19
- package/dist/esm2022/lib/components/display-components/audio-card/audio-card.component.mjs +60 -1
- package/dist/esm2022/lib/components/display-components/audio-grid/audio-grid.component.mjs +21 -1
- package/dist/esm2022/lib/components/display-components/card-video-display/card-video-display.component.mjs +36 -1
- package/dist/esm2022/lib/components/display-components/control-buttons-alt-component/control-buttons-alt-component.component.mjs +39 -1
- package/dist/esm2022/lib/components/display-components/control-buttons-component-touch/control-buttons-component-touch.component.mjs +25 -41
- package/dist/esm2022/lib/components/display-components/control-widgets/menu-participants-widget.component.mjs +22 -1
- package/dist/esm2022/lib/components/display-components/control-widgets/menu-record-widget.component.mjs +23 -1
- package/dist/esm2022/lib/components/display-components/control-widgets/menu-widget.component.mjs +24 -1
- package/dist/esm2022/lib/components/display-components/control-widgets/message-widget.component.mjs +24 -1
- package/dist/esm2022/lib/components/display-components/control-widgets/record-timer-widget.component.mjs +16 -1
- package/dist/esm2022/lib/components/display-components/control-widgets/screenshare-widget.component.mjs +28 -1
- package/dist/esm2022/lib/components/display-components/flexible-grid/flexible-grid.component.mjs +28 -19
- package/dist/esm2022/lib/components/display-components/flexible-video/flexible-video.component.mjs +31 -46
- package/dist/esm2022/lib/components/display-components/loading-modal/loading-modal.component.mjs +20 -18
- package/dist/esm2022/lib/components/display-components/main-aspect-component/main-aspect-component.component.mjs +33 -25
- package/dist/esm2022/lib/components/display-components/main-container-component/main-container-component.component.mjs +29 -17
- package/dist/esm2022/lib/components/display-components/main-grid-component/main-grid-component.component.mjs +29 -15
- package/dist/esm2022/lib/components/display-components/main-screen-component/main-screen-component.component.mjs +44 -23
- package/dist/esm2022/lib/components/display-components/meeting-progress-timer/meeting-progress-timer.component.mjs +26 -31
- package/dist/esm2022/lib/components/display-components/mini-audio/mini-audio.component.mjs +52 -59
- package/dist/esm2022/lib/components/display-components/mini-card/mini-card.component.mjs +20 -24
- package/dist/esm2022/lib/components/display-components/mini-card-audio/mini-card-audio.component.mjs +40 -40
- package/dist/esm2022/lib/components/display-components/other-grid-component/other-grid-component.component.mjs +29 -14
- package/dist/esm2022/lib/components/display-components/pagination/pagination.component.mjs +30 -24
- package/dist/esm2022/lib/components/display-components/sub-aspect-component/sub-aspect-component.component.mjs +19 -25
- package/dist/esm2022/lib/components/display-components/video-card/video-card.component.mjs +63 -1
- package/dist/esm2022/lib/components/display-settings-components/display-settings-modal.component.mjs +29 -18
- package/dist/esm2022/lib/components/event-settings-components/event-settings-modal/event-settings-modal.component.mjs +48 -39
- package/dist/esm2022/lib/components/exit-components/confirm-exit-modal/confirm-exit-modal.component.mjs +36 -23
- package/dist/esm2022/lib/components/media-settings-components/media-settings-modal/media-settings-modal.component.mjs +36 -25
- package/dist/esm2022/lib/components/mediasfu-components/mediasfu-broadcast.component.mjs +54 -3
- package/dist/esm2022/lib/components/mediasfu-components/mediasfu-chat.component.mjs +54 -3
- package/dist/esm2022/lib/components/mediasfu-components/mediasfu-conference.component.mjs +52 -3
- package/dist/esm2022/lib/components/mediasfu-components/mediasfu-generic.component.mjs +52 -3
- package/dist/esm2022/lib/components/mediasfu-components/mediasfu-webinar.component.mjs +50 -3
- package/dist/esm2022/lib/components/menu-components/custom-buttons/custom-buttons.component.mjs +50 -52
- package/dist/esm2022/lib/components/menu-components/meeting-id-component/meeting-id-component.component.mjs +7 -2
- package/dist/esm2022/lib/components/menu-components/meeting-passcode-component/meeting-passcode-component.component.mjs +6 -1
- package/dist/esm2022/lib/components/menu-components/menu-modal/menu-modal.component.mjs +22 -29
- package/dist/esm2022/lib/components/menu-components/share-buttons-component/share-buttons-component.component.mjs +16 -14
- package/dist/esm2022/lib/components/message-components/message-panel/message-panel.component.mjs +25 -1
- package/dist/esm2022/lib/components/message-components/messages-modal/messages-modal.component.mjs +35 -1
- package/dist/esm2022/lib/components/misc-components/confirm-here-modal/confirm-here-modal.component.mjs +17 -34
- package/dist/esm2022/lib/components/misc-components/pre-join-page/pre-join-page.component.mjs +9 -1
- package/dist/esm2022/lib/components/misc-components/share-event-modal/share-event-modal.component.mjs +15 -1
- package/dist/esm2022/lib/components/misc-components/welcome-page/welcome-page.component.mjs +16 -1
- package/dist/esm2022/lib/components/participants-components/participant-list/participant-list.component.mjs +20 -1
- package/dist/esm2022/lib/components/participants-components/participant-list-item/participant-list-item.component.mjs +20 -1
- package/dist/esm2022/lib/components/participants-components/participant-list-others/participant-list-others.component.mjs +18 -1
- package/dist/esm2022/lib/components/participants-components/participant-list-others-item/participant-list-others-item.component.mjs +18 -1
- package/dist/esm2022/lib/components/participants-components/participants-modal/participants-modal.component.mjs +25 -1
- package/dist/esm2022/lib/components/polls-components/poll-modal/poll-modal.component.mjs +28 -1
- package/dist/esm2022/lib/components/recording-components/advanced-panel-component/advanced-panel-components.component.mjs +16 -1
- package/dist/esm2022/lib/components/recording-components/recording-modal/recording-modal.component.mjs +13 -1
- package/dist/esm2022/lib/components/recording-components/standard-panel-component/standard-panel-component.component.mjs +6 -1
- package/dist/esm2022/lib/components/requests-components/render-request-component/render-request-component.component.mjs +23 -1
- package/dist/esm2022/lib/components/requests-components/requests-modal/requests-modal.component.mjs +18 -1
- package/dist/esm2022/lib/components/screenboard-components/screenboard/screenboard.component.mjs +11 -1
- package/dist/esm2022/lib/components/screenboard-components/screenboard-modal/screenboard-modal.component.mjs +12 -1
- package/dist/esm2022/lib/components/waiting-components/waiting-room-modal.component.mjs +60 -1
- package/dist/esm2022/lib/components/whiteboard-components/configure-whiteboard-modal/configure-whiteboard-modal.component.mjs +22 -1
- package/dist/esm2022/lib/components/whiteboard-components/whiteboard/whiteboard.component.mjs +50 -1
- package/dist/esm2022/lib/consumers/add-videos-grid.service.mjs +50 -1
- package/dist/esm2022/lib/consumers/auto-adjust.service.mjs +27 -1
- package/dist/esm2022/lib/consumers/calculate-rows-and-columns.service.mjs +19 -1
- package/dist/esm2022/lib/consumers/change-vids.service.mjs +132 -67
- package/dist/esm2022/lib/consumers/check-grid.service.mjs +33 -19
- package/dist/esm2022/lib/consumers/check-permission.service.mjs +26 -1
- package/dist/esm2022/lib/consumers/check-screen-share.service.mjs +36 -1
- package/dist/esm2022/lib/consumers/close-and-resize.service.mjs +103 -1
- package/dist/esm2022/lib/consumers/compare-active-names.service.mjs +32 -1
- package/dist/esm2022/lib/consumers/compare-screen-states.service.mjs +36 -1
- package/dist/esm2022/lib/consumers/connect-ips.service.mjs +43 -1
- package/dist/esm2022/lib/consumers/connect-recv-transport.service.mjs +34 -1
- package/dist/esm2022/lib/consumers/connect-send-transport-audio.service.mjs +39 -1
- package/dist/esm2022/lib/consumers/connect-send-transport-screen.service.mjs +41 -1
- package/dist/esm2022/lib/consumers/connect-send-transport-video.service.mjs +45 -1
- package/dist/esm2022/lib/consumers/connect-send-transport.service.mjs +55 -1
- package/dist/esm2022/lib/consumers/consumer-resume.service.mjs +37 -1
- package/dist/esm2022/lib/consumers/control-media.service.mjs +46 -1
- package/dist/esm2022/lib/consumers/create-send-transport.service.mjs +47 -1
- package/dist/esm2022/lib/consumers/disconnect-send-transport-audio.service.mjs +51 -1
- package/dist/esm2022/lib/consumers/disconnect-send-transport-screen.service.mjs +40 -1
- package/dist/esm2022/lib/consumers/disconnect-send-transport-video.service.mjs +46 -1
- package/dist/esm2022/lib/consumers/disp-streams.service.mjs +93 -1
- package/dist/esm2022/lib/consumers/generate-page-content.service.mjs +48 -1
- package/dist/esm2022/lib/consumers/get-estimate.service.mjs +51 -1
- package/dist/esm2022/lib/consumers/get-piped-producers-alt.service.mjs +34 -1
- package/dist/esm2022/lib/consumers/get-producers-piped.service.mjs +34 -1
- package/dist/esm2022/lib/consumers/get-videos.service.mjs +34 -1
- package/dist/esm2022/lib/consumers/mix-streams.service.mjs +23 -1
- package/dist/esm2022/lib/consumers/on-screen-changes.service.mjs +41 -1
- package/dist/esm2022/lib/consumers/prepopulate-user-media.service.mjs +100 -1
- package/dist/esm2022/lib/consumers/process-consumer-transports-audio.service.mjs +30 -1
- package/dist/esm2022/lib/consumers/process-consumer-transports.service.mjs +38 -1
- package/dist/esm2022/lib/consumers/re-port.service.mjs +49 -1
- package/dist/esm2022/lib/consumers/re-update-inter.service.mjs +83 -1
- package/dist/esm2022/lib/consumers/readjust.service.mjs +51 -1
- package/dist/esm2022/lib/consumers/receive-all-piped-transports.service.mjs +32 -1
- package/dist/esm2022/lib/consumers/receive-room-messages.service.mjs +28 -1
- package/dist/esm2022/lib/consumers/reorder-streams.service.mjs +59 -1
- package/dist/esm2022/lib/consumers/request-screen-share.service.mjs +35 -1
- package/dist/esm2022/lib/consumers/resume-pause-audio-streams.service.mjs +52 -1
- package/dist/esm2022/lib/consumers/resume-pause-streams.service.mjs +34 -1
- package/dist/esm2022/lib/consumers/resume-send-transport-audio.service.mjs +37 -1
- package/dist/esm2022/lib/consumers/signal-new-consumer-transport.service.mjs +38 -38
- package/dist/esm2022/lib/consumers/socket-receive-methods/join-consume-room.service.mjs +34 -1
- package/dist/esm2022/lib/consumers/socket-receive-methods/new-pipe-producer.service.mjs +40 -1
- package/dist/esm2022/lib/consumers/socket-receive-methods/producer-closed.service.mjs +28 -1
- package/dist/esm2022/lib/consumers/start-share-screen.service.mjs +41 -1
- package/dist/esm2022/lib/consumers/stop-share-screen.service.mjs +56 -1
- package/dist/esm2022/lib/consumers/stream-success-audio-switch.service.mjs +54 -1
- package/dist/esm2022/lib/consumers/stream-success-audio.service.mjs +62 -1
- package/dist/esm2022/lib/consumers/stream-success-screen.service.mjs +51 -1
- package/dist/esm2022/lib/consumers/stream-success-video.service.mjs +59 -1
- package/dist/esm2022/lib/consumers/switch-user-audio.service.mjs +34 -1
- package/dist/esm2022/lib/consumers/switch-user-video-alt.service.mjs +33 -1
- package/dist/esm2022/lib/consumers/switch-user-video.service.mjs +48 -1
- package/dist/esm2022/lib/consumers/trigger.service.mjs +39 -1
- package/dist/esm2022/lib/consumers/update-mini-cards-grid.service.mjs +55 -1
- package/dist/esm2022/lib/consumers/update-participant-audio-decibels.service.mjs +46 -1
- package/dist/esm2022/lib/methods/background-methods/launch-background.service.mjs +26 -1
- package/dist/esm2022/lib/methods/breakout-room-methods/breakout-room-updated.service.mjs +72 -1
- package/dist/esm2022/lib/methods/breakout-room-methods/launch-breakout-rooms.service.mjs +25 -1
- package/dist/esm2022/lib/methods/co-host-methods/launch-co-host.service.mjs +25 -1
- package/dist/esm2022/lib/methods/co-host-methods/modify-co-host-settings.service.mjs +45 -1
- package/dist/esm2022/lib/methods/display-settings-methods/launch-display-settings.service.mjs +23 -1
- package/dist/esm2022/lib/methods/display-settings-methods/modify-display-settings.service.mjs +76 -1
- package/dist/esm2022/lib/methods/exit-methods/confirm-exit.service.mjs +25 -1
- package/dist/esm2022/lib/methods/exit-methods/launch-confirm-exit.service.mjs +21 -1
- package/dist/esm2022/lib/methods/media-settings-methods/launch-media-settings.service.mjs +36 -1
- package/dist/esm2022/lib/methods/menu-methods/launch-menu-modal.service.mjs +23 -1
- package/dist/esm2022/lib/methods/message-methods/launch-messages.service.mjs +23 -1
- package/dist/esm2022/lib/methods/message-methods/send-message.service.mjs +50 -1
- package/dist/esm2022/lib/methods/participants-methods/launch-participants.service.mjs +25 -1
- package/dist/esm2022/lib/methods/participants-methods/message-participants.service.mjs +47 -1
- package/dist/esm2022/lib/methods/participants-methods/mute-participants.service.mjs +40 -1
- package/dist/esm2022/lib/methods/participants-methods/remove-participants.service.mjs +46 -1
- package/dist/esm2022/lib/methods/polls-methods/handle-create-poll.service.mjs +39 -1
- package/dist/esm2022/lib/methods/polls-methods/handle-end-poll.service.mjs +33 -1
- package/dist/esm2022/lib/methods/polls-methods/handle-vote-poll.service.mjs +35 -1
- package/dist/esm2022/lib/methods/polls-methods/launch-poll.service.mjs +21 -1
- package/dist/esm2022/lib/methods/polls-methods/poll-updated.service.mjs +32 -1
- package/dist/esm2022/lib/methods/recording-methods/check-pause-state.service.mjs +25 -1
- package/dist/esm2022/lib/methods/recording-methods/check-resume-state.service.mjs +23 -1
- package/dist/esm2022/lib/methods/recording-methods/confirm-recording.service.mjs +64 -1
- package/dist/esm2022/lib/methods/recording-methods/launch-recording.service.mjs +44 -1
- package/dist/esm2022/lib/methods/recording-methods/record-pause-timer.service.mjs +28 -1
- package/dist/esm2022/lib/methods/recording-methods/record-resume-timer.service.mjs +45 -1
- package/dist/esm2022/lib/methods/recording-methods/record-start-timer.service.mjs +46 -1
- package/dist/esm2022/lib/methods/recording-methods/record-update-timer.service.mjs +33 -1
- package/dist/esm2022/lib/methods/recording-methods/start-recording.service.mjs +51 -1
- package/dist/esm2022/lib/methods/recording-methods/stop-recording.service.mjs +39 -1
- package/dist/esm2022/lib/methods/recording-methods/update-recording.service.mjs +49 -1
- package/dist/esm2022/lib/methods/requests-methods/launch-requests.service.mjs +26 -1
- package/dist/esm2022/lib/methods/requests-methods/respond-to-requests.service.mjs +40 -1
- package/dist/esm2022/lib/methods/settings-methods/launch-settings.service.mjs +26 -1
- package/dist/esm2022/lib/methods/settings-methods/modify-settings.service.mjs +43 -1
- package/dist/esm2022/lib/methods/stream-methods/click-audio.service.mjs +98 -1
- package/dist/esm2022/lib/methods/stream-methods/click-chat.service.mjs +32 -1
- package/dist/esm2022/lib/methods/stream-methods/click-screen-share.service.mjs +69 -1
- package/dist/esm2022/lib/methods/stream-methods/click-video.service.mjs +89 -1
- package/dist/esm2022/lib/methods/stream-methods/switch-audio.service.mjs +48 -1
- package/dist/esm2022/lib/methods/stream-methods/switch-video-alt.service.mjs +51 -1
- package/dist/esm2022/lib/methods/stream-methods/switch-video.service.mjs +57 -1
- package/dist/esm2022/lib/methods/utils/format-number.service.mjs +27 -15
- package/dist/esm2022/lib/methods/utils/generate-random-messages.service.mjs +34 -1
- package/dist/esm2022/lib/methods/utils/generate-random-participants.service.mjs +28 -1
- package/dist/esm2022/lib/methods/utils/generate-random-polls.service.mjs +27 -1
- package/dist/esm2022/lib/methods/utils/generate-random-request-list.service.mjs +37 -1
- package/dist/esm2022/lib/methods/utils/generate-random-waiting-room-list.service.mjs +22 -1
- package/dist/esm2022/lib/methods/utils/get-modal-position.util.mjs +14 -4
- package/dist/esm2022/lib/methods/utils/get-overlay-position.util.mjs +14 -4
- package/dist/esm2022/lib/methods/utils/initial-values.util.mjs +13 -3
- package/dist/esm2022/lib/methods/utils/meeting-timer/start-meeting-progress-timer.service.mjs +38 -1
- package/dist/esm2022/lib/methods/utils/mini-audio-player/mini-audio-player.component.mjs +56 -1
- package/dist/esm2022/lib/methods/utils/producer/a-params.service.mjs +38 -1
- package/dist/esm2022/lib/methods/utils/producer/h-params.service.mjs +51 -1
- package/dist/esm2022/lib/methods/utils/producer/screen-params.service.mjs +38 -1
- package/dist/esm2022/lib/methods/utils/producer/v-params.service.mjs +51 -1
- package/dist/esm2022/lib/methods/utils/producer/video-capture-constraints.service.mjs +47 -1
- package/dist/esm2022/lib/methods/utils/sleep.util.mjs +10 -4
- package/dist/esm2022/lib/methods/utils/sound-player.service.mjs +22 -1
- package/dist/esm2022/lib/methods/utils/validate-alphanumeric.service.mjs +17 -1
- package/dist/esm2022/lib/methods/waiting-methods/launch-waiting.service.mjs +19 -1
- package/dist/esm2022/lib/methods/waiting-methods/respond-to-waiting.service.mjs +30 -1
- package/dist/esm2022/lib/methods/whiteboard-methods/capture-canvas-stream.service.mjs +30 -1
- package/dist/esm2022/lib/methods/whiteboard-methods/launch-configure-whiteboard.service.mjs +21 -1
- package/dist/esm2022/lib/producer-client/producer-client-emits/create-device-client.service.mjs +24 -1
- package/dist/esm2022/lib/producer-client/producer-client-emits/join-room-client.service.mjs +32 -1
- package/dist/esm2022/lib/producer-client/producer-client-emits/update-room-parameters-client.service.mjs +45 -1
- package/dist/esm2022/lib/producers/producer-emits/join-con-room.service.mjs +39 -1
- package/dist/esm2022/lib/producers/producer-emits/join-room.service.mjs +39 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/all-members-rest.service.mjs +74 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/all-members.service.mjs +72 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/all-waiting-room-members.service.mjs +28 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/ban-participant.service.mjs +37 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/control-media-host.service.mjs +38 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/disconnect-user-self.service.mjs +25 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/disconnect.service.mjs +27 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/get-domains.service.mjs +25 -10
- package/dist/esm2022/lib/producers/socket-receive-methods/host-request-response.service.mjs +32 -49
- package/dist/esm2022/lib/producers/socket-receive-methods/meeting-ended.service.mjs +30 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/meeting-still-there.service.mjs +24 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/meeting-time-remaining.service.mjs +28 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/participant-requested.service.mjs +32 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/person-joined.service.mjs +26 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/producer-media-closed.service.mjs +62 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/producer-media-paused.service.mjs +63 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/producer-media-resumed.service.mjs +46 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/re-initiate-recording.service.mjs +30 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/receive-message.service.mjs +39 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/recording-notice.service.mjs +39 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/room-record-params.service.mjs +63 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/screen-producer-id.service.mjs +42 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/start-records.service.mjs +26 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/stopped-recording.service.mjs +26 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/time-left-recording.service.mjs +22 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/update-consuming-domains.service.mjs +43 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/update-media-settings.service.mjs +31 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/updated-co-host.service.mjs +41 -1
- package/dist/esm2022/lib/producers/socket-receive-methods/user-waiting.service.mjs +15 -41
- package/dist/esm2022/lib/sockets/socket-manager.service.mjs +41 -1
- package/dist/fesm2022/mediasfu-angular.mjs +8192 -910
- package/dist/fesm2022/mediasfu-angular.mjs.map +1 -1
- package/dist/lib/components/background-components/background-modal/background-modal.component.d.ts +36 -0
- package/dist/lib/components/breakout-components/breakout-rooms-modal.component.d.ts +50 -0
- package/dist/lib/components/breakout-components/edit-room-modal/edit-room-modal.component.d.ts +48 -0
- package/dist/lib/components/co-host-components/co-host-modal/co-host-modal.component.d.ts +62 -0
- package/dist/lib/components/display-components/alert-component/alert.component.component.d.ts +24 -18
- package/dist/lib/components/display-components/audio-card/audio-card.component.d.ts +59 -0
- package/dist/lib/components/display-components/audio-grid/audio-grid.component.d.ts +20 -0
- package/dist/lib/components/display-components/card-video-display/card-video-display.component.d.ts +35 -0
- package/dist/lib/components/display-components/control-buttons-alt-component/control-buttons-alt-component.component.d.ts +38 -0
- package/dist/lib/components/display-components/control-buttons-component-touch/control-buttons-component-touch.component.d.ts +24 -40
- package/dist/lib/components/display-components/control-widgets/menu-participants-widget.component.d.ts +21 -0
- package/dist/lib/components/display-components/control-widgets/menu-record-widget.component.d.ts +22 -0
- package/dist/lib/components/display-components/control-widgets/menu-widget.component.d.ts +23 -0
- package/dist/lib/components/display-components/control-widgets/message-widget.component.d.ts +23 -0
- package/dist/lib/components/display-components/control-widgets/record-timer-widget.component.d.ts +15 -0
- package/dist/lib/components/display-components/control-widgets/screenshare-widget.component.d.ts +27 -0
- package/dist/lib/components/display-components/flexible-grid/flexible-grid.component.d.ts +27 -18
- package/dist/lib/components/display-components/flexible-video/flexible-video.component.d.ts +30 -45
- package/dist/lib/components/display-components/loading-modal/loading-modal.component.d.ts +19 -17
- package/dist/lib/components/display-components/main-aspect-component/main-aspect-component.component.d.ts +32 -24
- package/dist/lib/components/display-components/main-container-component/main-container-component.component.d.ts +28 -16
- package/dist/lib/components/display-components/main-grid-component/main-grid-component.component.d.ts +28 -14
- package/dist/lib/components/display-components/main-screen-component/main-screen-component.component.d.ts +43 -22
- package/dist/lib/components/display-components/meeting-progress-timer/meeting-progress-timer.component.d.ts +25 -30
- package/dist/lib/components/display-components/mini-audio/mini-audio.component.d.ts +55 -62
- package/dist/lib/components/display-components/mini-card/mini-card.component.d.ts +19 -23
- package/dist/lib/components/display-components/mini-card-audio/mini-card-audio.component.d.ts +39 -39
- package/dist/lib/components/display-components/other-grid-component/other-grid-component.component.d.ts +28 -13
- package/dist/lib/components/display-components/pagination/pagination.component.d.ts +29 -23
- package/dist/lib/components/display-components/sub-aspect-component/sub-aspect-component.component.d.ts +18 -24
- package/dist/lib/components/display-components/video-card/video-card.component.d.ts +62 -0
- package/dist/lib/components/display-settings-components/display-settings-modal.component.d.ts +28 -17
- package/dist/lib/components/event-settings-components/event-settings-modal/event-settings-modal.component.d.ts +47 -38
- package/dist/lib/components/exit-components/confirm-exit-modal/confirm-exit-modal.component.d.ts +35 -22
- package/dist/lib/components/media-settings-components/media-settings-modal/media-settings-modal.component.d.ts +35 -24
- package/dist/lib/components/mediasfu-components/mediasfu-broadcast.component.d.ts +49 -0
- package/dist/lib/components/mediasfu-components/mediasfu-chat.component.d.ts +49 -0
- package/dist/lib/components/mediasfu-components/mediasfu-conference.component.d.ts +47 -11
- package/dist/lib/components/mediasfu-components/mediasfu-generic.component.d.ts +47 -11
- package/dist/lib/components/mediasfu-components/mediasfu-webinar.component.d.ts +45 -11
- package/dist/lib/components/menu-components/custom-buttons/custom-buttons.component.d.ts +49 -51
- package/dist/lib/components/menu-components/meeting-id-component/meeting-id-component.component.d.ts +6 -1
- package/dist/lib/components/menu-components/meeting-passcode-component/meeting-passcode-component.component.d.ts +5 -0
- package/dist/lib/components/menu-components/menu-modal/menu-modal.component.d.ts +21 -28
- package/dist/lib/components/menu-components/share-buttons-component/share-buttons-component.component.d.ts +15 -13
- package/dist/lib/components/message-components/message-panel/message-panel.component.d.ts +24 -0
- package/dist/lib/components/message-components/messages-modal/messages-modal.component.d.ts +34 -0
- package/dist/lib/components/misc-components/confirm-here-modal/confirm-here-modal.component.d.ts +16 -33
- package/dist/lib/components/misc-components/pre-join-page/pre-join-page.component.d.ts +8 -0
- package/dist/lib/components/misc-components/share-event-modal/share-event-modal.component.d.ts +14 -0
- package/dist/lib/components/misc-components/welcome-page/welcome-page.component.d.ts +15 -0
- package/dist/lib/components/participants-components/participant-list/participant-list.component.d.ts +19 -0
- package/dist/lib/components/participants-components/participant-list-item/participant-list-item.component.d.ts +19 -0
- package/dist/lib/components/participants-components/participant-list-others/participant-list-others.component.d.ts +17 -0
- package/dist/lib/components/participants-components/participant-list-others-item/participant-list-others-item.component.d.ts +17 -0
- package/dist/lib/components/participants-components/participants-modal/participants-modal.component.d.ts +24 -0
- package/dist/lib/components/polls-components/poll-modal/poll-modal.component.d.ts +27 -0
- package/dist/lib/components/recording-components/advanced-panel-component/advanced-panel-components.component.d.ts +15 -0
- package/dist/lib/components/recording-components/recording-modal/recording-modal.component.d.ts +12 -0
- package/dist/lib/components/recording-components/standard-panel-component/standard-panel-component.component.d.ts +5 -0
- package/dist/lib/components/requests-components/render-request-component/render-request-component.component.d.ts +22 -0
- package/dist/lib/components/requests-components/requests-modal/requests-modal.component.d.ts +17 -0
- package/dist/lib/components/screenboard-components/screenboard/screenboard.component.d.ts +10 -0
- package/dist/lib/components/screenboard-components/screenboard-modal/screenboard-modal.component.d.ts +11 -0
- package/dist/lib/components/waiting-components/waiting-room-modal.component.d.ts +59 -0
- package/dist/lib/components/whiteboard-components/configure-whiteboard-modal/configure-whiteboard-modal.component.d.ts +21 -0
- package/dist/lib/components/whiteboard-components/whiteboard/whiteboard.component.d.ts +49 -0
- package/dist/lib/consumers/add-videos-grid.service.d.ts +49 -0
- package/dist/lib/consumers/auto-adjust.service.d.ts +26 -0
- package/dist/lib/consumers/calculate-rows-and-columns.service.d.ts +18 -0
- package/dist/lib/consumers/change-vids.service.d.ts +131 -66
- package/dist/lib/consumers/check-grid.service.d.ts +32 -18
- package/dist/lib/consumers/check-permission.service.d.ts +25 -0
- package/dist/lib/consumers/check-screen-share.service.d.ts +35 -0
- package/dist/lib/consumers/close-and-resize.service.d.ts +102 -0
- package/dist/lib/consumers/compare-active-names.service.d.ts +31 -0
- package/dist/lib/consumers/compare-screen-states.service.d.ts +35 -0
- package/dist/lib/consumers/connect-ips.service.d.ts +42 -0
- package/dist/lib/consumers/connect-recv-transport.service.d.ts +33 -0
- package/dist/lib/consumers/connect-send-transport-audio.service.d.ts +38 -0
- package/dist/lib/consumers/connect-send-transport-screen.service.d.ts +40 -0
- package/dist/lib/consumers/connect-send-transport-video.service.d.ts +44 -0
- package/dist/lib/consumers/connect-send-transport.service.d.ts +54 -0
- package/dist/lib/consumers/consumer-resume.service.d.ts +36 -0
- package/dist/lib/consumers/control-media.service.d.ts +45 -0
- package/dist/lib/consumers/create-send-transport.service.d.ts +46 -0
- package/dist/lib/consumers/disconnect-send-transport-audio.service.d.ts +50 -0
- package/dist/lib/consumers/disconnect-send-transport-screen.service.d.ts +39 -0
- package/dist/lib/consumers/disconnect-send-transport-video.service.d.ts +45 -0
- package/dist/lib/consumers/disp-streams.service.d.ts +92 -0
- package/dist/lib/consumers/generate-page-content.service.d.ts +47 -0
- package/dist/lib/consumers/get-estimate.service.d.ts +50 -0
- package/dist/lib/consumers/get-piped-producers-alt.service.d.ts +33 -0
- package/dist/lib/consumers/get-producers-piped.service.d.ts +33 -0
- package/dist/lib/consumers/get-videos.service.d.ts +33 -0
- package/dist/lib/consumers/mix-streams.service.d.ts +22 -0
- package/dist/lib/consumers/on-screen-changes.service.d.ts +40 -0
- package/dist/lib/consumers/prepopulate-user-media.service.d.ts +99 -0
- package/dist/lib/consumers/process-consumer-transports-audio.service.d.ts +29 -0
- package/dist/lib/consumers/process-consumer-transports.service.d.ts +37 -0
- package/dist/lib/consumers/re-port.service.d.ts +48 -0
- package/dist/lib/consumers/re-update-inter.service.d.ts +82 -0
- package/dist/lib/consumers/readjust.service.d.ts +50 -0
- package/dist/lib/consumers/receive-all-piped-transports.service.d.ts +31 -0
- package/dist/lib/consumers/receive-room-messages.service.d.ts +27 -0
- package/dist/lib/consumers/reorder-streams.service.d.ts +58 -0
- package/dist/lib/consumers/request-screen-share.service.d.ts +34 -0
- package/dist/lib/consumers/resume-pause-audio-streams.service.d.ts +51 -0
- package/dist/lib/consumers/resume-pause-streams.service.d.ts +33 -0
- package/dist/lib/consumers/resume-send-transport-audio.service.d.ts +36 -0
- package/dist/lib/consumers/signal-new-consumer-transport.service.d.ts +37 -37
- package/dist/lib/consumers/socket-receive-methods/join-consume-room.service.d.ts +33 -0
- package/dist/lib/consumers/socket-receive-methods/new-pipe-producer.service.d.ts +39 -0
- package/dist/lib/consumers/socket-receive-methods/producer-closed.service.d.ts +27 -0
- package/dist/lib/consumers/start-share-screen.service.d.ts +40 -0
- package/dist/lib/consumers/stop-share-screen.service.d.ts +55 -0
- package/dist/lib/consumers/stream-success-audio-switch.service.d.ts +53 -0
- package/dist/lib/consumers/stream-success-audio.service.d.ts +61 -0
- package/dist/lib/consumers/stream-success-screen.service.d.ts +50 -0
- package/dist/lib/consumers/stream-success-video.service.d.ts +58 -0
- package/dist/lib/consumers/switch-user-audio.service.d.ts +33 -0
- package/dist/lib/consumers/switch-user-video-alt.service.d.ts +32 -0
- package/dist/lib/consumers/switch-user-video.service.d.ts +47 -0
- package/dist/lib/consumers/trigger.service.d.ts +38 -0
- package/dist/lib/consumers/update-mini-cards-grid.service.d.ts +54 -0
- package/dist/lib/consumers/update-participant-audio-decibels.service.d.ts +45 -0
- package/dist/lib/methods/background-methods/launch-background.service.d.ts +25 -0
- package/dist/lib/methods/breakout-room-methods/breakout-room-updated.service.d.ts +71 -0
- package/dist/lib/methods/breakout-room-methods/launch-breakout-rooms.service.d.ts +24 -0
- package/dist/lib/methods/co-host-methods/launch-co-host.service.d.ts +24 -0
- package/dist/lib/methods/co-host-methods/modify-co-host-settings.service.d.ts +44 -0
- package/dist/lib/methods/display-settings-methods/launch-display-settings.service.d.ts +22 -0
- package/dist/lib/methods/display-settings-methods/modify-display-settings.service.d.ts +75 -0
- package/dist/lib/methods/exit-methods/confirm-exit.service.d.ts +24 -0
- package/dist/lib/methods/exit-methods/launch-confirm-exit.service.d.ts +20 -0
- package/dist/lib/methods/media-settings-methods/launch-media-settings.service.d.ts +35 -0
- package/dist/lib/methods/menu-methods/launch-menu-modal.service.d.ts +22 -0
- package/dist/lib/methods/message-methods/launch-messages.service.d.ts +22 -0
- package/dist/lib/methods/message-methods/send-message.service.d.ts +49 -0
- package/dist/lib/methods/participants-methods/launch-participants.service.d.ts +24 -0
- package/dist/lib/methods/participants-methods/message-participants.service.d.ts +46 -0
- package/dist/lib/methods/participants-methods/mute-participants.service.d.ts +39 -0
- package/dist/lib/methods/participants-methods/remove-participants.service.d.ts +45 -0
- package/dist/lib/methods/polls-methods/handle-create-poll.service.d.ts +38 -0
- package/dist/lib/methods/polls-methods/handle-end-poll.service.d.ts +32 -0
- package/dist/lib/methods/polls-methods/handle-vote-poll.service.d.ts +34 -0
- package/dist/lib/methods/polls-methods/launch-poll.service.d.ts +20 -0
- package/dist/lib/methods/polls-methods/poll-updated.service.d.ts +31 -0
- package/dist/lib/methods/recording-methods/check-pause-state.service.d.ts +24 -0
- package/dist/lib/methods/recording-methods/check-resume-state.service.d.ts +22 -0
- package/dist/lib/methods/recording-methods/confirm-recording.service.d.ts +63 -0
- package/dist/lib/methods/recording-methods/launch-recording.service.d.ts +43 -0
- package/dist/lib/methods/recording-methods/record-pause-timer.service.d.ts +27 -0
- package/dist/lib/methods/recording-methods/record-resume-timer.service.d.ts +44 -0
- package/dist/lib/methods/recording-methods/record-start-timer.service.d.ts +45 -0
- package/dist/lib/methods/recording-methods/record-update-timer.service.d.ts +32 -0
- package/dist/lib/methods/recording-methods/start-recording.service.d.ts +50 -0
- package/dist/lib/methods/recording-methods/stop-recording.service.d.ts +38 -0
- package/dist/lib/methods/recording-methods/update-recording.service.d.ts +48 -0
- package/dist/lib/methods/requests-methods/launch-requests.service.d.ts +25 -0
- package/dist/lib/methods/requests-methods/respond-to-requests.service.d.ts +39 -0
- package/dist/lib/methods/settings-methods/launch-settings.service.d.ts +25 -0
- package/dist/lib/methods/settings-methods/modify-settings.service.d.ts +42 -0
- package/dist/lib/methods/stream-methods/click-audio.service.d.ts +97 -0
- package/dist/lib/methods/stream-methods/click-chat.service.d.ts +31 -0
- package/dist/lib/methods/stream-methods/click-screen-share.service.d.ts +68 -0
- package/dist/lib/methods/stream-methods/click-video.service.d.ts +88 -0
- package/dist/lib/methods/stream-methods/switch-audio.service.d.ts +47 -0
- package/dist/lib/methods/stream-methods/switch-video-alt.service.d.ts +50 -0
- package/dist/lib/methods/stream-methods/switch-video.service.d.ts +56 -0
- package/dist/lib/methods/utils/format-number.service.d.ts +26 -14
- package/dist/lib/methods/utils/generate-random-messages.service.d.ts +33 -0
- package/dist/lib/methods/utils/generate-random-participants.service.d.ts +27 -0
- package/dist/lib/methods/utils/generate-random-polls.service.d.ts +26 -0
- package/dist/lib/methods/utils/generate-random-request-list.service.d.ts +36 -0
- package/dist/lib/methods/utils/generate-random-waiting-room-list.service.d.ts +21 -0
- package/dist/lib/methods/utils/get-modal-position.util.d.ts +13 -3
- package/dist/lib/methods/utils/get-overlay-position.util.d.ts +13 -3
- package/dist/lib/methods/utils/meeting-timer/start-meeting-progress-timer.service.d.ts +37 -0
- package/dist/lib/methods/utils/mini-audio-player/mini-audio-player.component.d.ts +55 -0
- package/dist/lib/methods/utils/producer/a-params.service.d.ts +37 -0
- package/dist/lib/methods/utils/producer/h-params.service.d.ts +50 -0
- package/dist/lib/methods/utils/producer/screen-params.service.d.ts +37 -0
- package/dist/lib/methods/utils/producer/v-params.service.d.ts +50 -0
- package/dist/lib/methods/utils/producer/video-capture-constraints.service.d.ts +46 -0
- package/dist/lib/methods/utils/sleep.util.d.ts +9 -3
- package/dist/lib/methods/utils/sound-player.service.d.ts +21 -0
- package/dist/lib/methods/utils/validate-alphanumeric.service.d.ts +16 -0
- package/dist/lib/methods/waiting-methods/launch-waiting.service.d.ts +18 -0
- package/dist/lib/methods/waiting-methods/respond-to-waiting.service.d.ts +29 -0
- package/dist/lib/methods/whiteboard-methods/capture-canvas-stream.service.d.ts +29 -0
- package/dist/lib/methods/whiteboard-methods/launch-configure-whiteboard.service.d.ts +20 -0
- package/dist/lib/producer-client/producer-client-emits/create-device-client.service.d.ts +23 -0
- package/dist/lib/producer-client/producer-client-emits/join-room-client.service.d.ts +31 -0
- package/dist/lib/producer-client/producer-client-emits/update-room-parameters-client.service.d.ts +44 -0
- package/dist/lib/producers/producer-emits/join-con-room.service.d.ts +38 -0
- package/dist/lib/producers/producer-emits/join-room.service.d.ts +38 -0
- package/dist/lib/producers/socket-receive-methods/all-members-rest.service.d.ts +73 -0
- package/dist/lib/producers/socket-receive-methods/all-members.service.d.ts +71 -0
- package/dist/lib/producers/socket-receive-methods/all-waiting-room-members.service.d.ts +27 -0
- package/dist/lib/producers/socket-receive-methods/ban-participant.service.d.ts +36 -0
- package/dist/lib/producers/socket-receive-methods/control-media-host.service.d.ts +37 -0
- package/dist/lib/producers/socket-receive-methods/disconnect-user-self.service.d.ts +24 -0
- package/dist/lib/producers/socket-receive-methods/disconnect.service.d.ts +26 -0
- package/dist/lib/producers/socket-receive-methods/get-domains.service.d.ts +24 -9
- package/dist/lib/producers/socket-receive-methods/host-request-response.service.d.ts +31 -48
- package/dist/lib/producers/socket-receive-methods/meeting-ended.service.d.ts +29 -0
- package/dist/lib/producers/socket-receive-methods/meeting-still-there.service.d.ts +23 -0
- package/dist/lib/producers/socket-receive-methods/meeting-time-remaining.service.d.ts +27 -0
- package/dist/lib/producers/socket-receive-methods/participant-requested.service.d.ts +31 -0
- package/dist/lib/producers/socket-receive-methods/person-joined.service.d.ts +25 -0
- package/dist/lib/producers/socket-receive-methods/producer-media-closed.service.d.ts +61 -0
- package/dist/lib/producers/socket-receive-methods/producer-media-paused.service.d.ts +62 -0
- package/dist/lib/producers/socket-receive-methods/producer-media-resumed.service.d.ts +45 -0
- package/dist/lib/producers/socket-receive-methods/re-initiate-recording.service.d.ts +29 -0
- package/dist/lib/producers/socket-receive-methods/receive-message.service.d.ts +38 -0
- package/dist/lib/producers/socket-receive-methods/recording-notice.service.d.ts +38 -0
- package/dist/lib/producers/socket-receive-methods/room-record-params.service.d.ts +62 -0
- package/dist/lib/producers/socket-receive-methods/screen-producer-id.service.d.ts +41 -0
- package/dist/lib/producers/socket-receive-methods/start-records.service.d.ts +25 -0
- package/dist/lib/producers/socket-receive-methods/stopped-recording.service.d.ts +25 -0
- package/dist/lib/producers/socket-receive-methods/time-left-recording.service.d.ts +21 -0
- package/dist/lib/producers/socket-receive-methods/update-consuming-domains.service.d.ts +42 -0
- package/dist/lib/producers/socket-receive-methods/update-media-settings.service.d.ts +30 -0
- package/dist/lib/producers/socket-receive-methods/updated-co-host.service.d.ts +40 -0
- package/dist/lib/producers/socket-receive-methods/user-waiting.service.d.ts +14 -40
- package/dist/lib/sockets/socket-manager.service.d.ts +40 -0
- package/package.json +11 -2
package/dist/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
|
-
| **
|
|
1105
|
-
| **
|
|
1106
|
-
| **
|
|
1107
|
-
| **
|
|
1108
|
-
| **
|
|
1109
|
-
| **
|
|
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
|
-
|
|
1112
|
+
> ##### **Control Components**
|
|
1112
1113
|
|
|
1113
1114
|
| Component Name | Description |
|
|
1114
1115
|
|-------------------------------|-------------------------------------------------------------------------------------------------|
|
|
1115
|
-
| **
|
|
1116
|
-
| **
|
|
1117
|
-
| **
|
|
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
|
-
|
|
|
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
|
|
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
|
|
1162
|
-
2. `launchRecording
|
|
1163
|
-
3. `startRecording
|
|
1164
|
-
4. `confirmRecording
|
|
1165
|
-
5. `launchWaiting
|
|
1166
|
-
6. `launchCoHost
|
|
1167
|
-
7. `launchMediaSettings
|
|
1168
|
-
8. `launchDisplaySettings
|
|
1169
|
-
9. `launchSettings
|
|
1170
|
-
10. `launchRequests
|
|
1171
|
-
11. `launchParticipants
|
|
1172
|
-
12. `launchMessages
|
|
1173
|
-
13. `launchConfirmExit
|
|
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`
|
|
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`
|
|
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`
|
|
1838
|
-
| `breakoutRoomUpdated` | Handles updated breakout room data. |
|
|
1839
|
-
| `captureCanvasStream` | Captures a canvas stream. |
|
|
1840
|
-
| `resumePauseAudioStreams` | Resumes or pauses audio streams. |
|
|
1841
|
-
|
|
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`
|
|
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
|