VideoFeedPlayerConfig

com.bitmovin.player.api.videofeed

VideoFeedPlayerConfig

@ExperimentalBitmovinApi

data class VideoFeedPlayerConfig(val playerConfig: PlayerConfig = defaultPlayerConfig(), val analyticsConfig: AnalyticsPlayerConfig = AnalyticsPlayerConfig.Enabled(), val bufferPolicy: VideoFeedBufferPolicy = VideoFeedBufferPolicy(), val maxPlayers: Int = 6, val fastSwipeThresholdMs: Long = 2000)

Configures the players managed by VideoFeedPlayerController.

Constructors

VideoFeedPlayerConfigconstructor(playerConfig: PlayerConfig = defaultPlayerConfig(), analyticsConfig: AnalyticsPlayerConfig = AnalyticsPlayerConfig.Enabled(), bufferPolicy: VideoFeedBufferPolicy = VideoFeedBufferPolicy(), maxPlayers: Int = 6, fastSwipeThresholdMs: Long = 2000)

Types

NameSummary
Builderclass Builder

Properties

NameSummary
analyticsConfigval analyticsConfig: AnalyticsPlayerConfig
bufferPolicyval bufferPolicy: VideoFeedBufferPolicy
fastSwipeThresholdMsval fastSwipeThresholdMs: Long
Consecutive selections within this duration enter fast-swipe mode and reduce buffer targets by VideoFeedBufferPolicy.fastSwipeFactor.
maxPlayersval maxPlayers: Int
Maximum number of pooled players. Must be between 1 and 20.
playerConfigval playerConfig: PlayerConfig