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
Link copied to clipboard
constructor(playerConfig: PlayerConfig = defaultPlayerConfig(), analyticsConfig: AnalyticsPlayerConfig = AnalyticsPlayerConfig.Enabled(), bufferPolicy: VideoFeedBufferPolicy = VideoFeedBufferPolicy(), maxPlayers: Int = 6, fastSwipeThresholdMs: Long = 2000)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Consecutive selections within this duration enter fast-swipe mode and reduce buffer targets by VideoFeedBufferPolicy.fastSwipeFactor.
Link copied to clipboard
Maximum number of pooled players. Must be between 1 and 20.
Link copied to clipboard