Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.35 KB

File metadata and controls

16 lines (11 loc) · 1.35 KB

MediaCapabilitiesInfo

Namespace: SpawnDev.SpawnJS.JSObjects
Source: JSObjects/MediaCapabilitiesInfo.cs
MDN Reference: MediaCapabilitiesInfo on MDN

The MediaCapabilitiesInfo interface of the Media Capabilities API is returned when MediaCapabilities.decodingInfo() or MediaCapabilities.encodingInfo() is called. It contains information about whether the media configuration is supported, and if so, whether decoding/encoding will be smooth and power efficient. https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo

Properties

Property Type Access Description
MediaCapabilitiesInfo class get/set The MediaCapabilitiesInfo interface of the Media Capabilities API is returned when MediaCapabilities.decodingInfo() or MediaCapabilities.encodingInfo() is called. It contains information about whether the media configuration is supported, and if so, whether decoding/encoding will be smooth and power efficient. https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabilitiesInfo
Smooth bool get/set true if playback of the media will be smooth (of high quality). Otherwise it is false.
PowerEfficient bool get true if playback of the media will be power efficient. Otherwise, it is false.