Details
-
User Story
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
Description
Overview:
New API methods make it simpler to determine whether a secure decoder component is required.
Example:
In order to determine whether a secure decoder component is required with the current MediaDrm APIs, you must follow these steps:
- Create a MediaDrm.
- Open a session to obtain a session id.
- Create a MediaCrypto using the session id.
- Call MediaCrypto.requiresSecureDecoderComponent(mimeType).
With the new methods requiresSecureDecoder(@NonNull String mime) and requiresSecureDecoder(@NonNull String mime, @SecurityLevel int level) you can determine this as soon as you create a MediaDrm
Proposed Action:
Update current implementation.