ReferenceMenu
useQualityOptions
Hook to build video quality menu options from the player rendition state
Import
useQualityOptions returns the current quality value, the available options, and a setValue callback for wiring quality selection into a menu. It returns null when the quality feature is not configured.
The first option is always Auto; selecting it returns control to adaptive bitrate selection. Each QualityOption has a value, a translated label, a disabled flag, and optional tier and badge fields (e.g. 4K, HD) for richer labels. Pass formatRendition to customize the visible rendition labels.
See QualityRadioGroup for the component-level pattern, and Menu for a complete settings menu example.