builderFromMuxPlaybackId

fun builderFromMuxPlaybackId(playbackId: String, maxResolution: PlaybackResolution? = null, minResolution: PlaybackResolution? = null, renditionOrder: RenditionOrder? = null, domain: String = MUX_VIDEO_DEFAULT_DOMAIN, playbackToken: String? = null): MediaItem.Builder

Creates a new MediaItem.Builder that points to a given Mux Playback ID. You can add additional configuration to the MediaItem before you build it

Parameters

playbackId

A playback ID for a Mux Asset

domain

Optional custom domain for Mux Video. The default is MUX_VIDEO_DEFAULT_DOMAIN

See also