Questions tagged [android-drm]

DRM framework for Android platform.

Android DRM framework offers an abstract, unified API that simplifies the management of rights-protected content. The API hides the complexity of DRM operations and allows a consistent operation mode for both rights-protected and unprotected content across a variety of DRM schemes. For device manufacturers, content owners, and Internet digital media providers the DRM framework’s plugin architecture provides a means of adding support for a specific DRM scheme to the Android system.

36 questions
1
vote
0 answers

How to prevent apps that use internal sound recording from recording app sounds?

with android +10,Apps or android built-in recorder, can record internal sound. So how to prevent that. As they not use microphone I can not detect that other apps use microphone.
Mahmoud Mabrok
  • 1,362
  • 16
  • 24
1
vote
0 answers

Exoplayer shows blank screen when DRM session manager set to media source

I am trying to play DASH video stream, I am using Pallycon service to manage keys. The below code works fine when drmSessionManager set to the ExoPlayerFactory.newSimpleInstance (deprecated) instance, but When I set drmSessionManager seperately for…
Naroju
  • 2,637
  • 4
  • 25
  • 44
1
vote
1 answer

How to handle multikey DRM with MediaDrm

Android MediaDrm documentation only has a sequence diagram for the simplest use case. It does not say how a DASH stream with multiple consecutive encryption key should work. (for example, first 10s are encrypted with keyA and the next 20s with…
Martin
  • 3,960
  • 7
  • 43
  • 43
1
vote
1 answer

changing default FLAG_SECURE toast message in Android Kotlin

I have used the following code in my android app, to prevent the user from taking screenshots, or screen recording: if(android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB) { …
1
vote
1 answer

How to download ClearKey Encrypted Video in ExoPlayer 2

I am having a .MPD file which is encrypted via ClearKey DRM scheme. I am able to play this file in Exoplayer2 with internet connectivity. Exoplayer2 is using LocalMediaDrmCallback for licensing the .MPD file Now, i am trying to download this video…
Kushal
  • 795
  • 1
  • 5
  • 23
1
vote
1 answer

Can't get available DrmEngines android

I'm using DrmManagerClient to get available DRMengines like this: DrmManagerClient mDrmManager = new DrmManagerClient(context); String[] engines = mDrmManager.getAvailableDrmEngines(); With some devices like huawei or honor,…
David Lara
  • 11
  • 1
1
vote
1 answer

Unable to open device node from userspace in android

In android, I am getting issues in opening the device node(dev/dri/card0) from hwcomposer working in userspace. I am trying to opening the device like: fd_ = open("/dev/dri/card0", O_RDWR); if (fd_ < 0) { ALOGE("Failed to open dri- %s",…
1
vote
0 answers

How to use android DRM framework in application

I am developing an android application based on DRM.I have searched alot but did not get any sample/example that explain how to implement DRM in our application. So please share some example/sample code that explain implementation of DRM framework.
Android dev
  • 273
  • 2
  • 5
  • 23
1
vote
1 answer

DrmManagerClient works on local files, but not on files in a server

I am trying to implement DRM in my application. But I am facing a problem. canHandle() always returns false. And DrmManagerClient.getOriginalMimeType(Uri); always returns null for http links. But for files in the storage, everything is working…
Lazy Ninja
  • 22,342
  • 9
  • 83
  • 103
0
votes
0 answers

Why modifying the device tree in uboot will cause subsequent access to the device tree to fail?

when i use gd->fdt_blob and fdt_status_okay() to modyfy fdt in uboot, may case rockchip display driver can not found props in subnode of '/display-subsystem/route' here what i do in uboot, and i will call lt8911_fixup_dts() before display driver…
huling
  • 9
  • 1
0
votes
0 answers

Android & Kotlin - Exoplayer for DRM Enabled DASH Stream Returns 415 Response Code

I've implemented ExoPlayer to my application and I can stream from my DASH link if it is not DRM enabled. I'm using this code in my activity: import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import…
Wicaledon
  • 710
  • 1
  • 11
  • 26
0
votes
0 answers

Android Unique Identifiers

I have an android app written in Java. I am trying to find a way to identify a single device with a unique identifier which would be great if it remained the same even after a factory reset. I want to only allow one account on a particular…
0
votes
1 answer

Getting 400 error response code when executing a provisioning request (https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create

I'm implementing DRM for my app but the request for getting a provisioning certificate is not working. This is an example of the generated url (POST)…
aloj
  • 3,194
  • 7
  • 27
  • 38
0
votes
1 answer

SimpleExoPlayer in android not allowing to seek previous part of video

The DRM live content length is know to us from the our api call. And that is 60 minutes. We are using SimpleExoPlayer to play this DRM content. Code snippet to prepare player is below. player?.playWhenReady =…
Raghu Mudem
  • 6,793
  • 13
  • 48
  • 69
0
votes
2 answers

Unable to play DRM Video with React Native Video DRM Fork in Android

I am trying to play any DRM stream using the React Native DRM Fork. Unfortunately when I using the following code snippet in Android, I get the following error: - code snippet: -