CreateMediaSFURoomOptions

@Serializable
data class CreateMediaSFURoomOptions(val action: String, val duration: Int, val capacity: Int, val userName: String, val scheduledDate: Long? = null, val secureCode: String? = null, val eventType: String? = null, val roomName: String? = null, val adminPasscode: String? = null, val islevel: String? = null, val recordOnly: Boolean? = false, val safeRoom: Boolean? = false, val autoStartSafeRoom: Boolean? = false, val safeRoomAction: String? = "kick", val dataBuffer: Boolean? = false, val bufferType: String? = "all")

Options for creating a room on MediaSFU.

Constructors

Link copied to clipboard
constructor(action: String, duration: Int, capacity: Int, userName: String, scheduledDate: Long? = null, secureCode: String? = null, eventType: String? = null, roomName: String? = null, adminPasscode: String? = null, islevel: String? = null, recordOnly: Boolean? = false, safeRoom: Boolean? = false, autoStartSafeRoom: Boolean? = false, safeRoomAction: String? = "kick", dataBuffer: Boolean? = false, bufferType: String? = "all")

Properties

Link copied to clipboard

The action to perform ('create')

Link copied to clipboard
val adminPasscode: String? = null
Link copied to clipboard

Automatically start the safe room feature (optional)

Link copied to clipboard

Type of buffer data (optional)

Link copied to clipboard

The maximum capacity of the room

Link copied to clipboard
val dataBuffer: Boolean? = false

Whether to return data buffer (optional)

Link copied to clipboard

The duration of the room in minutes

Link copied to clipboard
val eventType: String? = null

The type of event (optional)

Link copied to clipboard
val islevel: String? = null
Link copied to clipboard
val recordOnly: Boolean? = false

Whether the room is for media production only (optional)

Link copied to clipboard
val roomName: String? = null
Link copied to clipboard
val safeRoom: Boolean? = false

Whether the room is a safe room (optional)

Link copied to clipboard

Action for the safe room (optional)

Link copied to clipboard
val scheduledDate: Long? = null

Unix timestamp (in milliseconds) for the scheduled date (optional)

Link copied to clipboard
val secureCode: String? = null

Secure code for the room host (optional)

Link copied to clipboard

The username of the room creator