ClosedCaptionDeduplicationConfig

data class ClosedCaptionDeduplicationConfig(    val duplicateCleanupFrequencyMs: Long = DEFAULT_DUPLICATE_CAPTIONS_AUTO_CLEANUP_TIME_MS,     val autoRemoveDuplicateCaptions: Boolean = true,     val captionSplitFactor: Int = 2)

Configuration for managing deduplication of captions in the ClosedCaptionManager.

Parameters

duplicateCleanupFrequencyMs

The duration (in milliseconds) after which ClosedCaptionManager.seenKeys will be automatically removed. Set to DEFAULT_DUPLICATE_CAPTIONS_AUTO_CLEANUP_TIME_MS by default.

autoRemoveDuplicateCaptions

Determines whether client sdk should be deduplicate closed captions or not

captionSplitFactor

Factor to determine how many items to clean (e.g., 2 means clean half)

Constructors

Link copied to clipboard
constructor(    duplicateCleanupFrequencyMs: Long = DEFAULT_DUPLICATE_CAPTIONS_AUTO_CLEANUP_TIME_MS,     autoRemoveDuplicateCaptions: Boolean = true,     captionSplitFactor: Int = 2)

Properties

Link copied to clipboard
Link copied to clipboard