Portrait

@Serializable
@SerialName(value = "portrait")
data class Portrait(val variant: PortraitVariant? = null, val maxCamStreams: Int? = null) : StreamingLayout

A mobile-friendly layout -- the video will show up to two participants in a vertical layout.

Constructors

Link copied to clipboard
constructor(variant: PortraitVariant? = null, maxCamStreams: Int? = null)

Properties

Link copied to clipboard
val maxCamStreams: Int? = null

Specifies how many cameras to include in the grid.

Link copied to clipboard

Specifies how to lay out the participants.