Card Video Display Options
data class CardVideoDisplayOptions(val videoStream: MediaStream?, val remoteProducerId: String = "", val eventType: String = "", val forceFullDisplay: Boolean = false, val customStyle: Map<String, Any> = emptyMap(), val backgroundColor: Int = 0xFF2C678F.toInt(), val doMirror: Boolean = false, val displayLabel: String = "", val showControls: Boolean = false, val showInfo: Boolean = true, val controlsPosition: String = "topLeft", val infoPosition: String = "topRight", val participant: Participant? = null, val onAudioToggle: (Participant) -> Unit? = null, val onVideoToggle: (Participant) -> Unit? = null, val audioDecibels: List<AudioDecibels> = emptyList(), val barColor: Int = 0xFFE82E2E.toInt())
CardVideoDisplay - Displays a video stream within a card.
Renders video stream with optional mirroring, aspect ratio control, and overlay controls for audio/video toggling.
Constructors
Link copied to clipboard
constructor(videoStream: MediaStream?, remoteProducerId: String = "", eventType: String = "", forceFullDisplay: Boolean = false, customStyle: Map<String, Any> = emptyMap(), backgroundColor: Int = 0xFF2C678F.toInt(), doMirror: Boolean = false, displayLabel: String = "", showControls: Boolean = false, showInfo: Boolean = true, controlsPosition: String = "topLeft", infoPosition: String = "topRight", participant: Participant? = null, onAudioToggle: (Participant) -> Unit? = null, onVideoToggle: (Participant) -> Unit? = null, audioDecibels: List<AudioDecibels> = emptyList(), barColor: Int = 0xFFE82E2E.toInt())
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard