Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-99589

Android 12 - MediaDrm updates

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Extras: Android, Multimedia
    • 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:

      1. Create a MediaDrm.
      2. Open a session to obtain a session id.
      3. Create a MediaCrypto using the session id.
      4. 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.

      Attachments

        Activity

          People

            qtandroidteam Qt Android Team
            samuelmira Samuel Mira
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: