MediaKeySessionClosedReason Enum

Why a key session was closed (https://w3c.github.io/encrypted-media/#dom-mediakeysessionclosedreason).

public enum MediaKeySessionClosedReason

Fields

NameValueDescription
InternalError0An unrecoverable error of the CDM.
ClosedByApplication1The application called MediaKeySession.Close.
ReleaseAcknowledged2The CDM received the acknowledgement of the record of license destruction.
HardwareContextReset3The hardware context of the CDM was reset.
ResourceEvicted4The session was closed to reclaim resources.