Results 21 - 40 of 82


The MediaKeys interface of EncryptedMediaExtensions API the represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback.
API Audio EncryptedMediaExtensions Interface Media MediaKeys NeedsExample Reference Référence Video


The MediaKeySystemConfiguration.distinctiveIdentifier read-only property indicates whether a persistent distinctive identifier is required.
API distinctiveIdentifier EncryptedMediaExtensions Media MediaKeySystemConfiguration NeedsExample Property Reference Video


The MediaKeySystemConfiguration.persistentState read-only property indicates whether the ability to persist state is required.
API EncryptedMediaExtensions Media MediaKeySystemConfiguration NeedsExample persistentState Property Reference Video


The MediaKeySystemConfiguration.videoCapabilities read-only property returns an array of supported video type and capability pairs.
API EncryptedMediaExtensions initDataTypes Media MediaKeySystemConfiguration NeedsExample Property Reference Video


The activeSourceBuffers read-only property of the MediaSource interface returns a SourceBufferList object containing a subset of the SourceBuffer objects contained within SourceBuffers — the list of objects providing the selected video track,  enabled audio tracks, and shown/hidden text tracks.
activeSourceBuffers API Audio Experimental MediaSource MediaSourceExtensions MSE Property Reference Video

Taking still photos with WebRTC

This article shows how to use WebRTC to access the camera on a computer or mobile phone with WebRTC support and take a photo with it. Try this sample, then read on to learn how it works.
Advanced API Example Sample code Video webcam WebRTC


The MediaStreamTrack interface represents a single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well.
API audio Audio Experimental Interface Media Media Capture and Streams API Media Streams API MediaStreamTrack Reference video Video WebRTC


The MediaTrackSettings dictionary is used to return the current values configured for each of a MediaStreamTrack's settings. These values will adhere as closely as possible to any constraints previously set using applyConstraints(), and will adhere to the default constraints for any properties whose constraints haven't been changed, or whose customized constraints couldn't be matched.
API Audio audio Constraints Dictionary Interface Media Media Capture and Streams API Media Streams API MediaTrackSettings Reference Video video


The seekable read-only property of the HTMLMediaElement returns a TimeRanges object that contains the time ranges that the user is able to seek to, if any.
API Audio Extensions HTMLMediaElement Media MSE Property Reference seekable source Source Video


The MediaKeySystemAccess.createMediaKeys() method returns a Promise that resolves to a new MediaKeys object.
API audio Audio createMediaKeys EncryptedMediaExtensions Media MediaKeySystemAccess Method NeedsExample Reference Video


The MediaKeySystemAccess.getConfiguration() method returns a MediaKeySystemConfiguration object with the supported combination of configuration options.
API Audio audio EncryptedMediaExtensions getConfiguration Media MediaKeySystemAccess Method NeedsExample Reference Video


The MediaKeySystemConfiguration.initDataTypes read-only property returns a list of supported initialization data type names. An initialization data type is a string indicating the format of the initialization data.
API Audio audio EncryptedMediaExtensions initDataTypes Media MediaKeySystemConfiguration NeedsExample Property Reference Video


The MediaRecorder.ondataavailable event handler (part of the MediaRecorder API) handles the dataavailable event, allowing you to run code in response to Blob data being made available for use.
API Audio Media Capture Media Recorder API MediaRecorder ondataavailable Property Reference Video