Package com.google.android.exoplayer2
Class MediaItem.DrmConfiguration
- java.lang.Object
-
- com.google.android.exoplayer2.MediaItem.DrmConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description booleanforceDefaultLicenseUriWhether to force use oflicenseUrieven if the media specifies its own DRM license server URI.UrilicenseUriOptional default DRM license serverUri.booleanmultiSessionWhether the DRM configuration is multi session enabled.booleanplayClearContentWithoutKeyWhether clear samples within protected content should be played when keys for the encrypted part of the content have yet to be loaded.Map<String,String>requestHeadersThe headers to attach to the request to the DRM license server.List<Integer>sessionForClearTypesThe types of clear tracks for which to use a DRM session.UUIDuuidThe UUID of the protection scheme.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)byte[]getKeySetId()Returns the key set ID of the offline license.inthashCode()
-
-
-
Field Detail
-
uuid
public final UUID uuid
The UUID of the protection scheme.
-
licenseUri
@Nullable public final Uri licenseUri
Optional default DRM license serverUri. Ifnullthen the DRM license server must be specified by the media.
-
requestHeaders
public final Map<String,String> requestHeaders
The headers to attach to the request to the DRM license server.
-
multiSession
public final boolean multiSession
Whether the DRM configuration is multi session enabled.
-
playClearContentWithoutKey
public final boolean playClearContentWithoutKey
Whether clear samples within protected content should be played when keys for the encrypted part of the content have yet to be loaded.
-
forceDefaultLicenseUri
public final boolean forceDefaultLicenseUri
Whether to force use oflicenseUrieven if the media specifies its own DRM license server URI.
-
-