Media Items
object MediaItems
Creates instances of MediaItem or MediaItem.Builder configured for easy use with MuxPlayer`.
Functions
Link copied to clipboard
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
Link copied to clipboard
fun fromMuxPlaybackId(playbackId: String, maxResolution: PlaybackResolution? = null, minResolution: PlaybackResolution? = null, renditionOrder: RenditionOrder? = null, domain: String? = MUX_VIDEO_DEFAULT_DOMAIN, playbackToken: String? = null): MediaItem
Creates a new MediaItem that points to a given Mux Playback ID.