受保护 (DRM) 内容上的 MediaProjection API
MediaProjection API on protected (DRM) content
我正在尝试查找有关与受 DRM 保护的内容和 MediaProjection API 的兼容性的信息。
具体来说,我想知道我是否可以从 Netflix 或其他实施 DRM 保护的应用程序录制视频?
简单的回答是否定的,这并不奇怪。
来自 google 文档(加粗):
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.
这里是link:https://developer.android.com/about/versions/android-5.0.html#ScreenCapture
在此上下文中,'secure' 表示受 DRM 保护。
我正在尝试查找有关与受 DRM 保护的内容和 MediaProjection API 的兼容性的信息。
具体来说,我想知道我是否可以从 Netflix 或其他实施 DRM 保护的应用程序录制视频?
简单的回答是否定的,这并不奇怪。
来自 google 文档(加粗):
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.
这里是link:https://developer.android.com/about/versions/android-5.0.html#ScreenCapture
在此上下文中,'secure' 表示受 DRM 保护。