connect Send Transport
Connects send transport for audio, video, or screen based on the specified option.
This function manages media stream connections, allowing flexible configuration for different types of media transmission (audio, video, screen) based on the option provided.
Workflow:
Audio Transport: If
optionis 'audio', connects the audio streamVideo Transport: If
optionis 'video', connects the video streamScreen Transport: If
optionis 'screen', decides which stream to connect based on whiteboard and screen sharing stateAll Transports: If
optionis 'all', initiates connections for both audio and video
Parameters
options
The options containing connection type and parameters
Example:
val options = ConnectSendTransportOptions(
option = "all",
targetOption = "all",
parameters = myConnectSendTransportParameters
)
connectSendTransport(options)Content copied to clipboard