Package-level declarations

Types

Link copied to clipboard

Collects generic data and events regarding ad playback.

Link copied to clipboard

PlayerBinding for a generic Media3 Player. It reports basic quality information, view timeline events, network and media metadata.

Link copied to clipboard
class MuxStatsSdkMedia3<P : Player> @JvmOverloads constructor(context: Context, envKey: String, customerData: CustomerData, player: P, playerView: View? = null, customOptions: CustomOptions? = null, playerBinding: MuxPlayerAdapter.PlayerBinding<P>) : MuxDataSdk<P, View>

TODO: doc out of date Monitors a generic Player with Mux Data, reporting data about the View to the environment specified by the env key.

Functions

Link copied to clipboard
fun MuxStateCollector.handleExoPlaybackState(@Player.State playbackState: Int, playWhenReady: Boolean)

Handles a change of basic ExoPlayer state

Link copied to clipboard
Link copied to clipboard

Handles changes to playWhenReady.

Link copied to clipboard

Handles an ExoPlayer position discontinuity

Link copied to clipboard

Returns true if any media track in the given Tracks object had a video MIME type

Link copied to clipboard
fun <R> Tracks.Group.mapFormats(block: (Format) -> R): List<R>

Maps the formats of the tracks in a Tracks.Group to some other type

Link copied to clipboard

Asynchronously watch player playback position, collecting periodic updates out-of-band from the normal callback flow.