Search code examples
javaandroidframeworksandroid-mediaplayerdrm

which function should i use for reaching Android Crypto plugin?


i have an android question.

enter image description here

this image is DRM framework path

in java layer, which function should i use for reaching Android Crypto plugin?

what is starting function in java layer??


Solution

  • This is the multimedia - handling API layer for Android:

    https://developer.android.com/reference/android/media/MediaDrm.html

    Examples here:

    http://www.programcreek.com/java-api-examples/index.php?api=android.media.MediaDrm

    More information:

    How to instantiate a MediaDrm object

    Decrypting widevine DRM protected video in android using MediaDrm