MediaKeySession: update()-Methode
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.
Sicherer Kontext: Diese Funktion ist nur in sicheren Kontexten (HTTPS) in einigen oder allen unterstützenden Browsern verfügbar.
Die update()
-Methode des MediaKeySession
-Interfaces lädt Nachrichten und Lizenzen in das CDM und gibt dann ein Promise
zurück.
Syntax
update(response)
Parameter
response
-
Eine Instanz, die entweder ein
ArrayBuffer
, einTypedArray
oder einDataView
ist.
Rückgabewert
Ein Promise
das zu undefined
aufgelöst wird.
Spezifikationen
Specification |
---|
Encrypted Media Extensions # dom-mediakeysession-update |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
update |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support