Package-level declarations
Types
Link copied to clipboard
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.
Link copied to clipboard
data class VideoFeedItem(val id: String, val sourceConfig: SourceConfig, val analyticsConfig: AnalyticsSourceConfig = defaultAnalyticsConfig(id, sourceConfig))
Describes an item managed by VideoFeedPlayerController.
Link copied to clipboard
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.
Link copied to clipboard
Link copied to clipboard
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.
Link copied to clipboard
Controls a pool of players for video feed playback.