producers library
Functions
-
allMembers(
AllMembersOptions options) → Future< void> - Manages all members and updates the UI.
-
allMembersRest(
AllMembersRestOptions options) → Future< void> - Main function to handle participant updates, settings, and server connections in the room.
-
allWaitingRoomMembers(
AllWaitingRoomMembersOptions options) → Future< void> - Updates the waiting room participants list and the total count of waiting room participants.
-
banParticipant(
BanParticipantOptions options) → Future< void> - Bans a participant by removing them from the active and display names lists, updating the participants list, and reordering the streams if necessary.
-
controlMediaHost(
ControlMediaHostOptions options) → Future< void> - Controls media actions based on the specified ControlMediaHostOptions.
-
disconnect(
DisconnectOptions options) → void - Disconnects the user from the session, updating the necessary state and triggering alerts if needed.
-
disconnectUserSelf(
DisconnectUserSelfOptions options) → Future< void> - Disconnects the user from the specified room and bans them.
-
getDomains(
GetDomainsOptions options) → Future< void> - Connects to specified domains, processes IPs, and handles domain-related connections.
-
hostRequestResponse(
HostRequestResponseOptions options) → Future< void> -
meetingEnded(
{required MeetingEndedOptions options}) → Future< void> - Handles the end of a meeting by showing an alert and performing a redirect if necessary.
-
meetingStillThere(
{required MeetingStillThereOptions options}) → Future< void> - Updates the visibility of the "still there?" modal in a meeting.
-
meetingTimeRemaining(
{required MeetingTimeRemainingOptions options}) → Future< void> - Updates the meeting time remaining and shows an alert if the event type is not 'chat'.
-
participantRequested(
ParticipantRequestedOptions options) → void - Handles the participant request to join the event.
-
personJoined(
PersonJoinedOptions options) → void - Function that handles a person joining an event.
-
producerMediaClosed(
ProducerMediaClosedOptions options) → Future< void> - Handles the closure of a media producer's stream or screenshare.
-
producerMediaPaused(
ProducerMediaPausedOptions options) → Future< void> - Pauses the media for a producer based on specified parameters.
-
producerMediaResumed(
ProducerMediaResumedOptions options) → Future< void> - Resumes media for a specified participant in a meeting.
-
receiveMessage(
ReceiveMessageOptions options) → Future< void> - Processes an incoming message and updates the message list and badge display based on specified rules. Filters out messages from banned participants and categorizes messages into group and direct. Displays a badge for new messages if certain conditions are met.
-
recordingNotice(
RecordingNoticeOptions options) → Future< void> - Handles recording state changes and updates recording settings accordingly.
-
reInitiateRecording(
ReInitiateRecordingOptions options) → Future< void> - Re-initiates the recording for a specified room and member.
-
roomRecordParams(
RoomRecordParamsOptions options) → void -
Updates various recording parameters based on the provided
recordParams
. -
screenProducerId(
ScreenProducerIdOptions options) → void - Manages and updates screen sharing based on the producer ID.
-
startRecords(
StartRecordsOptions options) → Future< void> - Starts recording for a specified room.
-
stoppedRecording(
StoppedRecordingOptions options) → Future< void> - Displays an alert message when the recording has stopped, indicating the reason.
-
timeLeftRecording(
TimeLeftRecordingOptions options) → void - Displays an alert message indicating the remaining time left for recording.
-
updateConsumingDomains(
UpdateConsumingDomainsOptions options) → void - Updates consuming domains based on the provided options.
-
updatedCoHost(
UpdatedCoHostOptions options) → void - Updates co-host information and responsibilities based on provided options.
-
updateMediaSettings(
UpdateMediaSettingsOptions options) → void - Updates media settings by calling the respective update functions for each setting type.
-
userWaiting(
UserWaitingOptions options) → void - Handles the event when a user joins the waiting room.