StreamingLayout

@Serializable
sealed class StreamingLayout

Types

Link copied to clipboard
@Serializable
object ActiveParticipant : StreamingLayout

Show a large view for the current speaker, and place up to 9 other participants to the right in a vertical grid (ordered by how recently they last spoke).

Link copied to clipboard
@Serializable
object AudioOnly : StreamingLayout

Only records audio. Video will not be a part of the recording.

Link copied to clipboard
@Serializable
data class Custom(compositionId: String, compositionParams: Map<String, CompositionParamValue>?, sessionAssets: Map<String, String>?) : StreamingLayout

Allows for custom layouts. More details can be found in the Daily public docs.

Link copied to clipboard
@Serializable
data class Default(maxCamStreams: Int?) : StreamingLayout

The default grid layout, which renders participants in a grid (or, in a vertical grid to the right, if a screen share is enabled).

Link copied to clipboard
@Serializable
data class Portrait(variant: PortraitVariant?, maxCamStreams: Int?) : StreamingLayout

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

Link copied to clipboard
@Serializable
data class SingleParticipant(participant: ParticipantId) : StreamingLayout

Only show a single participant in the stream.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard