com.bitmovin.player.api.videofeed
VideoFeedPlayerConfig
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
| VideoFeedPlayerConfig | constructor(playerConfig: PlayerConfig = defaultPlayerConfig(), analyticsConfig: AnalyticsPlayerConfig = AnalyticsPlayerConfig.Enabled(), bufferPolicy: VideoFeedBufferPolicy = VideoFeedBufferPolicy(), maxPlayers: Int = 6, fastSwipeThresholdMs: Long = 2000) |
Types
| Name | Summary |
|---|---|
| Builder | class Builder |
Properties
| Name | Summary |
|---|---|
| analyticsConfig | val analyticsConfig: AnalyticsPlayerConfig |
| bufferPolicy | val bufferPolicy: VideoFeedBufferPolicy |
| fastSwipeThresholdMs | val fastSwipeThresholdMs: Long Consecutive selections within this duration enter fast-swipe mode and reduce buffer targets by VideoFeedBufferPolicy.fastSwipeFactor. |
| maxPlayers | val maxPlayers: Int Maximum number of pooled players. Must be between 1 and 20. |
| playerConfig | val playerConfig: PlayerConfig |