Package-level declarations

Types

Link copied to clipboard

Factory class that helps in creating StreamConcurrencyService and StreamConcurrencyManager instances.

Link copied to clipboard

Information about the library such as version and name.

Link copied to clipboard

Manager that manages playback session's stream concurrency.

Link copied to clipboard

Provides Stream Concurrency Microservice client access protocol (API).

Properties

Link copied to clipboard
var coroutineScope: CoroutineScope?

Functions

Link copied to clipboard
fun ComposablePlayer.configureHeartBeatTask(streamConcurrencyService: StreamConcurrencyService, platformClient: PlatformClient, streamConcurrencySyncIntervalMs: Long = DEFAULT_STREAM_SYNC_INTERVAL_MILLIS)

ComposablePlayer extension function that periodically updates stream's status to Stream Concurrency Microservice.

Link copied to clipboard
fun ComposablePlayer.configurePreLoadTask(streamConcurrencyService: StreamConcurrencyService, platformClient: PlatformClient)

ComposablePlayer extension function that puts a stream instance. If the Stream Concurrency Microservice call returns StreamConcurrencyError.MAX_LIMIT_REACHED error the player aborts.

Link copied to clipboard

ComposablePlayer extension function that either inserts or deletes a stream instance based on player's playback state.

Link copied to clipboard
fun ComposablePlayer.configureStreamConcurrencyTasks(streamConcurrencyService: StreamConcurrencyService, platformClient: PlatformClient, streamConcurrencySyncIntervalMs: Long = DEFAULT_STREAM_SYNC_INTERVAL_MILLIS)

ComposablePlayer extension function that aggregates all steps related to executing Stream Concurrency Microservice call.