StreamLayoutSettings

data class StreamLayoutSettings(val isGroupCall: Boolean = false, val defaultCameraIsBack: Boolean = false)

StreamLayoutSettings defines the settings that influence the behavior of a stream layout.

This data class holds various configuration options that can affect how streams are displayed and managed within a layout.

Constructors

Link copied to clipboard
constructor(isGroupCall: Boolean = false, defaultCameraIsBack: Boolean = false)

Properties

Link copied to clipboard

Indicates whether the default camera should be the back-facing camera. This setting can be used to determine the initial camera selection of the local user. Defaults to false, meaning the front-facing camera is the default.

Link copied to clipboard
val isGroupCall: Boolean = false

Indicates whether the stream layout is being used in a group call scenario. This setting might affect how streams are prioritized or displayed, as group calls often have different layout requirements than one-on-one calls. Defaults to false.