Package-level declarations
Types
Options for checking limits and making requests.
Parameters for checking limits and making requests.
Represents the error response from creating or joining a room.
Aggregates the result from attempting to create or join a room. Mirrors the Flutter SDK where the payload may be either a success response, an error response, or null when the request fails early.
Signature for functions that create or join a MediaSFU room.
Options for creating a room on MediaSFU.
Options for creating a room on MediaSFU.
Represents the options for creating a ResponseJoinRoom.
Options for the formatNumber function.
Type definition for the formatNumber function.
Options for generating random messages.
Type definition for the random message generator function.
Options for generating a random list of participants.
Type definition for the participant generator function.
Options for generating random polls.
Type definition for the poll generator function.
Options for generating a random request list.
Type definition for the request list generator function.
Type definition for the waiting room list generator function.
Type definition for the getMediaDevicesList function.
Type definition for get modal position function.
Options for configuring the overlay position.
Type definition for get overlay position function.
Options for the getParticipantMedia function.
Parameters interface for getParticipantMedia.
Type definition for the getParticipantMedia function.
Initial values for the MediaSFU SDK state.
Options for joining a room on MediaSFU.
Platform-agnostic interface for audio playback. Platform-specific implementations should be provided via expect/actual.
Options for the sleep function, containing the sleep duration in milliseconds.
Type definition for sleep function.
A sound player that plays audio from a given URL.
Options for the SoundPlayer, encapsulating the sound URL.
Type definition for sound player function.
Options for the alphanumeric validation, containing the string to validate.
Type definition for alphanumeric validation function.
Functions
Checks for rate limits and establishes a socket connection if permissible.
Resolves the loosely typed payload into the correct REST helper call. This mirrors the behaviour of the Flutter SDK by accepting dynamic maps and normalising the values before delegating to createRoomOnMediaSfu or joinRoomOnMediaSfu.
Creates a ResponseJoinRoom object from a ResponseJoinLocalRoom object.
Sends a request to create a new room on MediaSFU.
Formats a given number into a human-readable string representation with suffixes (K, M, B).
Generates random direct and group messages for the provided options.
Generates a list of random participants for a meeting based on the provided options.
Generates a list of random polls for testing and demo scenarios.
Generates random request entries for the provided participant list.
Generates a deterministic waiting room list for demo scenarios.
Retrieves a filtered list of media devices based on the specified kind.
Returns the position of a modal based on the specified options.
Returns the overlay position based on the specified options.
Retrieves the media stream of a participant by ID or name.
Sends a request to join an existing room on MediaSFU.
Suspends the execution of the current coroutine for the specified options.ms milliseconds.
Validates if the provided string in options contains only alphanumeric characters.