ClosedCaptionsConfig
data class ClosedCaptionsConfig( val captionsAutoDismissTime: Long = DEFAULT_CAPTIONS_AUTO_DISMISS_TIME_MS, val autoDismissCaptions: Boolean = true, val maxCaptions: Int = 3)
Configuration for managing closed captions in the ClosedCaptionManager.
Parameters
captionsAutoDismissTime
The duration (in milliseconds) after which captions will be automatically removed. Set to DEFAULT_CAPTIONS_AUTO_DISMISS_TIME_MS by default.
autoDismissCaptions
Determines whether closed captions should be automatically dismissed after a delay. If set to false
, captions will remain visible indefinitely.
maxCaptions
The maximum number of closed captions to retain in the ClosedCaptionManager.closedCaptions flow. Must be greater than or equal to io.getstream.video.android.compose.ui.components.closedcaptions.ClosedCaptionsThemeConfig.maxVisibleCaptions to ensure the UI has sufficient data to render.