com.bitmovin.player.api.videofeed
VideoFeedBufferPolicy
data class VideoFeedBufferPolicy(val currentForwardSeconds: Double = 30.0, val currentBackwardSeconds: Double = 4.0, val forwardSeconds: List<Double> = listOf(8.0, 5.0, 3.0, 2.0, 2.0, 1.5, 1.5, 1.0), val previousForwardSeconds: List<Double> = listOf(4.0, 2.0), val fastSwipeFactor: Double = 0.5)
Configures role-based buffer targets for pooled video-feed players. Initial buffering, startup, and restart thresholds are configured through VideoFeedPlayerConfig.playerConfig.
Constructors
Types
| Name | Summary |
|---|---|
| Builder | class Builder |
Properties
| Name | Summary |
|---|---|
| currentBackwardSeconds | val currentBackwardSeconds: Double |
| currentForwardSeconds | val currentForwardSeconds: Double |
| fastSwipeFactor | val fastSwipeFactor: Double Multiplier applied to buffer targets while fast-swipe mode is active. |
| forwardSeconds | val forwardSeconds: List<Double> |
| previousForwardSeconds | val previousForwardSeconds: List<Double> |