close method
Closes the media key session and release any resources associated with it.
Important This method is not supported in Internet Explorer 11 on Windows 7.
Syntax
var close = MediaKeySession.close();Parameters
This method has no parameters.
Return value
Type: Promise<void>
Returns a promise. The promise is resolved when the session is closed.
Standards information
Remarks
As of Microsoft Edge, this method's return type has changed to Promise<void>. For more information on EME implementation updates in Microsoft Edge, see Encrypted Media Extensions updates.
See also
Show: