Package-level declarations
Types
Parameters required by addVideosGrid to keep UI state in sync with the engine.
Context passed to custom audio card builders.
Represents audio decibel information for a participant.
Exception thrown when auto adjust fails.
Options for adjusting layout ratios based on active participants and event context.
Exception thrown when calculating rows and columns fails.
Options for calculating the number of rows and columns in a grid layout.
Options for changing video streams.
Parameters used for changing video streams based on various conditions.
Options for checking the grid configuration.
Exception thrown when checking permission fails.
Options for the checkScreenShare function.
Options for the closeAndResize function.
Parameters for the closeAndResize function.
Options for the compareActiveNames function.
Parameters required for comparing active names.
Options for comparing screen states.
Parameters for comparing screen states.
Component size configuration.
Exception thrown when connecting to IPs fails.
Options for connecting IPs and managing socket connections.
Parameters interface for connecting IPs and managing socket connections.
Result of connecting to remote IPs.
Exception thrown when connecting to local IPs fails.
Options for connecting local IPs and managing socket connections.
Parameters interface for connecting local IPs and managing socket connections.
Options for connecting the receiving transport.
Parameters for connecting the receiving transport.
Exception thrown when connecting audio send transport fails.
Options for connecting audio send transports.
Parameters interface for connecting audio send transports.
Options for connecting send transport.
Exception thrown when connecting screen send transport fails.
Options for connecting screen send transports.
Parameters interface for connecting screen send transports.
Exception thrown when connecting video send transport fails.
Options for connecting video send transports.
Parameters interface for connecting video send transports.
Configuration options for the consumerResume function.
Parameters for handling the resumption of audio and video streams in a media session.
Consumer transport info for managing receive transports.
Options for controlling media in a room.
Exception thrown when creating send transport fails.
Options for creating WebRTC send transports.
Contract describing the mutable parameters required to create WebRTC send transports.
Exception thrown when audio send transport disconnection fails.
Options for disconnecting audio send transport.
Parameters interface for disconnecting audio send transport.
Exception thrown when screen send transport disconnection fails.
Options for disconnecting screen send transport.
Parameters interface for disconnecting screen send transport.
Exception thrown when video send transport disconnection fails.
Options for disconnecting video send transport.
Parameters interface for disconnecting video send transport.
Options for displaying streams.
Options for generating page content.
Parameters used for generating page content for a specific user interface page.
Options for the getEstimate function.
Parameters interface for calculating grid estimates
Options for retrieving piped producers (alternative version).
Parameters for getting piped producers (alternative version).
Options for retrieving piped producers.
Parameters for getting piped producers.
Exception thrown when getting videos fails.
Options for retrieving and processing video streams.
Options for joining a consume room.
Options for new producer event (local connections).
Options for producer closed event (local connections).
Context passed to custom mini-card builders.
Exception thrown when mixing streams fails.
Options for mixing video and audio streams with participants.
Options for handling new pipe producer events.
Options for handling screen changes.
Parameters for handling screen changes.
Configuration options for the prepopulateUserMedia function.
Parameters for the prepopulateUserMedia function.
Options for processing consumer transports audio.
Parameters for processing consumer transports audio.
Exception thrown when an error occurs during processing of consumer transports.
Options for processing consumer transports.
Parameters interface for processing consumer transports.
Options for handling producer closed events.
Options for the readjust function.
Parameters for readjusting the layout.
Options for receiving all piped transports.
Parameters for receiving all piped transports.
Options for receiving room messages.
Exception thrown when reordering streams fails.
Options for reordering streams.
Parameters interface for reordering streams.
Options for the rePort function.
Parameters for re-porting screen states and active names.
Parameters for switching user video device (alternative implementation).
Callback type for requesting screen capture permission. Returns a Map containing "resultCode" (Int) and "data" (platform Intent) on success, or null if permission was denied or not available.
Options for requesting screen sharing.
Parameters required for requesting screen sharing.
Options for resuming/pausing audio streams.
Parameters for resuming/pausing audio streams based on breakout rooms.
Exception thrown when resume/pause streams fails.
Options for resuming and pausing streams.
Parameters interface for resuming and pausing streams.
Options for resuming send transport audio.
Parameters for resuming send transport audio.
Options for resuming send transport video.
Parameters for resuming send transport video.
Options for re-updating interactions.
Parameters for re-updating interactions and stream layouts.
Represents the state of a screen/participant.
Shared state required by both create/connect transport flows.
Custom exception for signal new consumer transport operations.
Options for getting videos in SignalNewConsumerTransport.
Options for signaling a new consumer transport.
Parameters required for signaling a new consumer transport. Includes consumer resume functionality for post-consume flow.
Options for reordering streams in SignalNewConsumerTransport.
Exception thrown when starting screen sharing fails.
Options for starting screen sharing.
Parameters interface for starting screen sharing.
Options for stream success audio.
Parameters for stream success audio handling.
Options for stream success audio switch.
Parameters for stream success audio switch handling.
Options for stream success screen handling.
Parameters for stream success screen handling.
Options for stream success video.
Parameters for stream success video handling.
Options for switching user audio device.
Parameters for switching user audio device.
Options for switching user video device (alternative method).
Options for switching user video device.
Parameters for switching user video device.
Exception thrown when trigger fails.
Options for triggering screen updates.
Parameters interface for trigger functionality.
Grid recalculation payload used when syncing with the Compose display layer.
Options for updating the audio decibels of a participant.
Type definition for updating participant audio decibels.
Context passed to custom video card builders.
Functions
Adds participants to the video grid layout with 100% parity to the React and Flutter SDKs.
Mirrors the React autoAdjust heuristic with 100% parity. Returns two integers whose sum is 12 representing the split between the primary and secondary grids.
Changes the video streams on the screen based on the provided options and parameters.
Checks the grid configuration and calculates various parameters based on the number of rows, columns, and active elements.
Checks the permission based on the provided settings.
Checks and manages screen sharing status, initiating or stopping screen share actions based on conditions.
Manages the closing and resizing of streams within a media session, adapting the layout and updating participant and stream information as needed.
Compares the current activeNames list with the prevActiveNames list and triggers an action if there are any differences.
Compares the current screenStates list with the prevScreenStates list and triggers actions if there are differences.
Connects to multiple remote IPs to manage socket connections for media consumption.
Connects to a local socket and manages socket events for media consumption.
Connects the local send transport for audio by producing audio data.
Connects the local send transport for screen sharing by producing screen data.
Connects the local send transport for video by producing video data.
Establishes a connection for the receiving transport to consume media from a remote producer and resumes the consumer stream.
Connects send transport for audio, video, or screen based on the specified option.
Connects the send transport for audio by producing audio data and updating the local audio producer and transport.
Connects the send transport for screen sharing by producing screen data and updating the local screen producer and transport.
Connects the send transport for video by producing video data and updating the local video producer and transport.
Handles the resumption of a media stream (either audio or video) by managing the socket connections, updating the UI, and reordering streams as necessary.
Controls media for a participant in a room by sending a controlMedia event to the server.
Creates a WebRTC send transport for media transmission.
Default implementation for handling new producer events (local connections). This is a placeholder that should be replaced with actual implementation.
Default implementation for handling producer closed events (local connections). This is a placeholder that should be replaced with actual implementation.
Default implementation for receiving all piped transports. This is a placeholder that should be replaced with actual implementation.
Disconnects the local send transport for audio by pausing the local audio producer and notifying the server.
Disconnects the local send transport for screen sharing by closing the local screen producer and notifying the server.
Disconnects the local send transport for video by closing the local video producer and notifying the server.
Disconnects the send transport for audio by pausing the audio producer and notifying the server.
Disconnects the send transport for screen sharing by closing the screen producer and notifying the server.
Disconnects the send transport for video by closing the video producer and notifying the server.
Displays streams in the UI based on the provided options using parity logic.
Generates the content for a specific page based on the provided options.
Calculates the optimal grid layout dimensions based on the number of participants and various display parameters.
Retrieves piped producers and signals new consumer transport for each retrieved producer.
Retrieves piped producers and signals new consumer transport for each retrieved producer.
Processes and updates video streams by filtering out the admin's video stream.
Checks if a socket has a listener registered for the given event.
Mixes video and audio streams and participants based on specified parameters.
Handles screen changes and adjusts the display settings based on event type and screen sharing status.
Populates the main media grid state based on the media activity of the participant.
Processes consumer transports to pause or resume video streams based on provided stream lists.
Adjusts the audio state of consumer transports based on provided streams.
Adjusts the layout parameters based on the current state, participant count, and event type.
Receives all piped transports for a specific room and member by requesting piped producers at different levels.
Retrieves messages from a specified room using a socket connection.
Reorders video streams based on the provided parameters and options.
Re-ports the screen states and active names for the main screen in a conference or event session.
Internal implementation of requestScreenShare with parameters inline. This is a simplified version that will be replaced with full implementation.
Resumes the local send transport for audio by resuming the local audio producer.
Resumes the local send transport for video by resuming the local video producer if available.
Resumes or pauses audio streams for participants based on breakout room status and event type.
Resumes or pauses video streams based on active participants and display names.
Resumes the send transport for audio and updates the UI and audio producer state accordingly.
Resumes the video send transport and updates related UI state.
Updates the layout or content of the media streams based on user activity, screen share, or conference settings.
Signals a new consumer transport to start consuming media from a producer.
Starts the screen sharing process.
Stops the screen sharing process and updates various states and UI elements accordingly.
Manages the setup and successful transition of audio streaming.
Manages switching to a new audio stream, updating the audio producer, local streams, and UI state as necessary.
Manages the setup and successful transition of video streaming.
Switches the user's audio input to the specified device.
Toggles or switches the video stream based on user preferences and permission checks.
Switches video input devices by facing mode (front/back camera).
Triggers screen updates and layout adjustments based on active participants. Emits "updateScreenClient" to notify the backend/server about the current layout.
Updates the microphone audio level periodically.
Internal implementation of updateMiniCardsGrid. This function calculates and updates the grid dimensions for mini cards display.
Updates the audio decibels for a participant.