from Mux Playback Id
Creates a new MediaItem that points to a given Mux Playback ID.
Controlling resolution
You can use the maxResolution and minResolution parameters to control the possible video resolutions that Mux Player can stream. You can use these parameters to control your overall playback experience and platform usage. Lower resolution generally means smoother playback experience and lower costs, higher resolution generally means nicer-looking videos that may take longer to start or stall on unfavorable networks.
Custom domains
If you are using Mux Video custom domains, you can configure your MediaItem with your custom domain using the domain parameter
Parameters
A playback ID for a Mux Asset
The maximum resolution that should be requested over the network
The minimum resolution that should be requested over the network
RenditionOrder.Descending to emphasize quality, RenditionOrder.Ascending to emphasize performance
Optional custom domain for Mux Video. The default is MUX_VIDEO_DEFAULT_DOMAIN
Playback token for secure playback