Skip to main content

Variable: DEFAULT_REMOTE_VOLUME_CONTROL

const DEFAULT_REMOTE_VOLUME_CONTROL: RemoteVolumeControl = 'absolute';

Defined in: packages/media-session/src/validate.ts:409

What a remote backend is assumed able to do with its volume.

absolute because every network audio target worth naming (Cast, UPnP/DLNA, Sonos) takes a level, and because it is the only value that lights up both the hardware keys and the system volume dialog's slider. A backend that can only be nudged says relative; one that cannot be driven at all says fixed, which deliberately leaves the keys dead rather than pretending.