Liking cljdoc? Tell your friends :D

media.MediaKeys

The MediaKeys interface of EncryptedMediaExtensions API represents set of keys that an associated html.HTMLMediaElement can use decryption of media data during playback.

The MediaKeys interface of EncryptedMediaExtensions API represents
set of keys that an associated `html.HTMLMediaElement` can use
decryption of media data during playback.
raw docstring

create-sessioncljs

(create-session this & args)

Method.

The MediaKeys.createSession() method returns a new media.MediaKeySession which represents a context for message exchange with a content module (CDM).

​var mediaKeySessionObject = MediaKeys.createSession([MediaKeySessionType]);

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/createSession

Method.

The MediaKeys.createSession() method returns a new `media.MediaKeySession`
which represents a context for message exchange with a content
module (CDM).

`​var mediaKeySessionObject = MediaKeys.createSession([MediaKeySessionType]);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/createSession`
sourceraw docstring

set-server-certificatecljs

(set-server-certificate this & args)

Method.

The MediaKeys.setServerCertificate() method a web.Promise to server certificate to be used to encrypt messages to the license

MediaKeys.setServerCertificate([MediaKeySessionType]).then(function() { ... });

See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/setServerCertificate

Method.

The MediaKeys.setServerCertificate() method a `web.Promise` to
server certificate to be used to encrypt messages to the license

`MediaKeys.setServerCertificate([MediaKeySessionType]).then(function() { ... });`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaKeys/setServerCertificate`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close