com.bitmovin.player.api.videofeed

Package com.bitmovin.player.api.videofeed

com.bitmovin.player.api.videofeed

Types

NameSummary
VideoFeedBufferPolicy@ExperimentalBitmovinApi
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.
VideoFeedItem@ExperimentalBitmovinApi
data class VideoFeedItem(val id: String, val sourceConfig: SourceConfig, val analyticsConfig: AnalyticsSourceConfig = defaultAnalyticsConfig(id, sourceConfig))
Describes an item managed by VideoFeedPlayerController.
VideoFeedItemState@ExperimentalBitmovinApi
data class VideoFeedItemState(val item: VideoFeedItem, val player: Player?, val isCurrent: Boolean, val status: VideoFeedItemStatus, val error: ErrorEvent? = null)
Current controller state for a VideoFeedItem.
VideoFeedItemStatus@ExperimentalBitmovinApi
enum VideoFeedItemStatus : Enum<VideoFeedItemStatus>
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.
VideoFeedPlayerController@ExperimentalBitmovinApi
class VideoFeedPlayerController
Controls a pool of players for video feed playback.