receive All Piped Transports Impl
suspend fun receiveAllPipedTransportsImpl(nsock: SocketManager, community: Boolean = false, roomName: String, member: String, getPipedProducersAlt: suspend (GetPipedProducersAltOptions) -> Unit)
Receives all piped transports for a specific room and member by requesting piped producers at different levels.
This function sends a createReceiveAllTransportsPiped event to the server, which checks if piped producers exist for the given room and member. If producers are found, it calls the getPipedProducersAlt function to retrieve piped transports for levels 0, 1, and 2.
Parameters
options
The options containing socket, community flag, and parameters
Example:
receiveAllPipedTransportsImpl(
nsock = socket,
community = true,
roomName = "roomA",
member = "userB",
getPipedProducersAlt = { opts ->
// Handle getting piped producers
}
)Content copied to clipboard