update

inline suspend fun MediaKeySession.update(response: BufferSource)(source)

The update() method of the MediaKeySession interface loads messages and licenses to the CDM, and then returns a Promise.

MDN Reference