gpt4 book ai didi

android - protected (DRM) 内容的 MediaProjection API

转载 作者:行者123 更新时间:2023-11-30 00:43:38 26 4
gpt4 key购买 nike

我正在尝试查找有关与受 DRM 保护的内容和 MediaProjection API 的兼容性的信息。

具体来说,我想知道我是否可以从 Netflix 或其他实现 DRM 保护的应用程序录制视频?

最佳答案

简单的回答是否定的,这并不奇怪。

来自谷歌文档(加粗):

Screen capturing and sharing Android 5.0 lets you add screen capturing and screen sharing capabilities to your app with the new android.media.projection APIs. This functionality is useful, for example, if you want to enable screen sharing in a video conferencing app.

The new createVirtualDisplay() method allows your app to capture the contents of the main screen (the default display) into a Surface object, which your app can then send across the network. The API only allows capturing non-secure screen content, and not system audio. To begin screen capturing, your app must first request the user’s permission by launching a screen capture dialog using an Intent obtained through the createScreenCaptureIntent() method.

这是链接:https://developer.android.com/about/versions/android-5.0.html#ScreenCapture

在这种情况下,“安全”是指受 DRM 保护。

关于android - protected (DRM) 内容的 MediaProjection API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42158782/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com