[DESCRIPTION]
主要介绍mtk支持的DRM Widevine Level; WV与DRM feature option的开关;play movies play videos popups couldn't fetch license (error 43)

[SOLUTION]

一、DRM 基本信息:

1. MTK DRM support Level:

OMA DRM V1.0
Widevine L3.

2. OMA DRM support MIME format:

a. DRM content MIME:

application/vnd.oma.drm.content ---- .dcf
application/vnd.oma.drm.message ---- .dm

b. 权限文件的MIME:

application/vnd.oma.drm.rights+wbxml ---- .drc
application/vnd.oma.drm.rights+xml ----- .dr

c. MTK支持的非DRM protected的Image/Audio/Video格式,DRM就支持此media格式。DRM只是做了权限控制而已,DRM能支持的media格式就是Decoder能支持的格式。

3. OMA DRM support types:

Default support ForwardLock, Combined Delivery, Seperate Delivery,
ForwardLock_SeperateDelivery Total 4 types.

二、WV与OMA的feature option

Please follow the description section 2.3 below:

1 Introduction

Currently on JB SW packages, we've got 2 DRM features supported: OMA DRM v1.0 and Widevine DRM Level 3. By default these 2 DRM features are enabled.
This document describes how to disable these 2 features separately, or both.

2 Steps

2.1 Disable Widevine DRM Level 3 but keep OMA DRM v1.0 enabled
>> Define "MTK_WVDRM_SUPPORT=no" in your source file:
[alps/mediatek/config/$project/ProjectConfig.mk]
This overrides the default value.
>> Fully remake your software codebase.

2.2 Disable both Widevine DRM Level 3 and OMA DRM v1.0
>> Define "MTK_WVDRM_SUPPORT=no" and "MTK_DRM_APP=no" in your source file:
[alps/mediatek/config/$project/ProjectConfig.mk]
This overrides the default value.
>> Fully remake your software codebase.

2.3 Disable OMA DRM v1.0 but keep Widevine DRM Level 3 enabled
>> Define "MTK_DRM_APP=no" in your source file:
[alps/mediatek/config/$project/ProjectConfig.mk]
This overrides the default value.

>> Find the source file:
[alps/packages/providers/DrmProvider/src/com/android/providers/drm/BootCompletedReceiver.java]
In the overridden method "public void onReceive(...)", you shall find an "if (FeatureOption.MTK_DRM_APP) {...}" judgment part. Remove the "if" judgment so that those code can be executed at boot-up time.

>> You also need to make sure some utility libraries are installed on
device.
Find the source file:
[alps/build/target/product/common.mk]
You shall then find the following part:
--------------------------------------------------------------------------
--
ifeq ($(strip $(MTK_DRM_APP)),yes)
PRODUCT_PACKAGES += \
libdrmmtkplugin \
drm_chmod \
libdcfdecoderjni
endif
--------------------------------------------------------------------------
--
Modify it as below to make sure "libdrmmtkplugin" & "libdrmmtkutil.so" is installed on device when "MTK_DRM_APP" is disabled.
--------------------------------------------------------------------------
--
PRODUCT_PACKAGES += libdrmmtkplugin
ifeq ($(strip $(MTK_DRM_APP)),yes)
PRODUCT_PACKAGES += \
drm_chmod \
libdcfdecoderjni
endif
--------------------------------------------------------------------------
--
>> Fully remake your software codebase.

三、打开FL_ONLY的方法

You'll need to add "PRODUCT_PROPERTY_OVERRIDES" definition in order to set system property which enables "Forward-lock-only".
For example, you may modify the file: alps/build/target/product/common.mk And add the following, which add the system property
[drm.forwardlock.only], and set its value:
ifeq ($(strip $(MTK_DRM_APP)),yes)
PRODUCT_PROPERTY_OVERRIDES += \
drm.forwardlock.only=true
endif
Then it will disable the support for CD/SD of OMA DRM v1.0 feature.

四、OMA drm 测试网址

http://202.108.92.230

五、DRM专利问题

OMA不涉及到什么权限专利的问题, widevine见下面一点。

六、Widevine白名单问题

Widevine如果是要播google play store上的视频,需要加入google白名单,与google签协议。
log中有couldn't fetch license (error 43)的字样,表示是此问题。

以下引用Google早前答复的内容:

“...the devices must be offcially approved in order to be whitelisted and,therefore, be able to access the production WV contents. ...(one of the OEM) is our partner and they are not supposed to have Google Play in the first place. Please let them know they cannot use Google Play without license.”

文章转自×××论坛,原文链接:http://bbs.×××/thread-53861-1-1.html

转载于:https://blog.51cto.com/132588761/1976836

MTK DRM常见问题介绍相关推荐

  1. 极品飞车ol服务器维护,《极品飞车OL》配件升级常见问题介绍

    今天九游和大家讲解<极品飞车OL>配件升级常见问题介绍 极品飞车OL游戏中,玩家们是需要不断使用配件加强自己的车辆来提升能力值.那么关于配件升级玩家们整体的有什么问题呢?下面小编也为大家带 ...

  2. DRM架构介绍(一)

    1. DRM简介(Direct Rendering Manager) 传统linux显示设备驱动开发时,通常使用FB驱动架构,随着显卡性能升级:显示覆盖(菜单层级).GPU加速.硬件光标,传统FB架构 ...

  3. MTK平台thermal介绍

    MTK平台thermal介绍:

  4. 怀旧服转服显示请选择其他服务器,魔兽世界怀旧服角色转移服务常见问题介绍_角色转移服务常见问题解答-游戏窝...

    <魔兽世界怀旧服>开启角色转服之后,由于魔兽世界怀旧服的初始人数过于庞大,官方决定在指定的服务器内开启角色转移服务,可以让玩家的角色转移到其他服务器,点击下文了解角色转服的常见问题解答哦! ...

  5. 视频编解码器常见问题介绍

    视频编解码器,是指一个能够对数字视频进行压缩或者解压缩的程序或者设备.通常这种压缩属于有损数据压缩.历史上,视频信号是以模拟形式存储在磁带上的.那么,我们在使用视频编解码器的过程中遇到的一些常见问题有 ...

  6. 深入讲解DRM架构介绍(一)

    1. DRM简介(Direct Rendering Manager) 传统linux显示设备驱动开发时,通常使用FB驱动架构,随着显卡性能升级:显示覆盖(菜单层级).GPU加速.硬件光标,传统FB架构 ...

  7. MT7628 wifi模块,MTK路由器芯片介绍

    MT7628处理器: MT7628nn/mt7628an 系列产品是新一代2T2R 802.11n Wi-Fi AP / 路由器 (系统单芯片). MT7628可提升射频效能表现.减低功耗,并将整体物 ...

  8. 超市收银系统无法连接服务器,超市收银系统常见问题介绍与回答

    现在有不少的超市收银系统,如何选购一款合适自己的超市收银系统呢?下面我们用问答的形式来告诉大家. 超市POS收银软件知识入门问答首要介绍介绍了什么是收银软件.收银软件的效果功用以及超市pos收银台的相 ...

  9. 【能力提升】SQL Server常见问题介绍及快速解决建议

    前言 本文旨在帮助SQL Server数据库的使用人员了解常见的问题,及快速解决这些问题.这些问题是数据库的常规管理问题,对于很多对数据库没有深入了解的朋友提供一个大概的常见问题框架. 下面一些问题是 ...

最新文章

  1. 关于安卓你不知道的6件事
  2. 鸿蒙系统搁置,华为:我们将坚定的支持安卓生态,鸿蒙系统没有明确上市时间...
  3. Mybatis工作流程及其原理与解析
  4. 颠覆农业思维-国际农民丰收节贸易会·万祥军:大粮食概念
  5. 显式无参数构造函数与默认构造函数
  6. 完整的Web应用程序Tomcat JSF Primefaces JPA Hibernate –第1部分
  7. ubuntu的home目录下,Desktop等目录消失不见
  8. 小谈EasyUI中的tree用法
  9. mysql数据库写入数据的语法_mysql数据库插入数据语法
  10. 介绍个好点的,JAVA技术群
  11. python数据可视化的包怎么安装_数据可视化包 - matplotlib
  12. 刷paper利器!不想打开PDF,这个插件自动帮你转到介绍页
  13. SASS-HRM-Day04
  14. OC load 和 initialize 方法
  15. 全国省市县sql(完整版)
  16. 包容普通的父亲和母亲
  17. 春风十里不如Node中的一股清流
  18. javascript Date属性(月份英语)
  19. CIFS协议入门指南:快速部署文件共享服务器
  20. openGL之API学习(一二九)specular gloss diffuse

热门文章

  1. LeetCode刷题(28)
  2. 声卡loopback有什么用_声卡购买须知,别买来又退整麻烦事的
  3. 安装插件报错:error: Microsoft Visual C++ 14.0 is required...
  4. rm: cannot remove `.user.ini‘: Operation not permitted异常该如何解决?
  5. 2 华为云闪付_教你区分信用卡刷卡、挥卡、插卡、云闪付等支付方式!
  6. linux挂载磁盘组,11G ASM磁盘组不能自动MOUNT处理
  7. Dropping Balls UVA - 679(二叉树的遍历)
  8. Docker开启和关闭容器自启动
  9. JDK8新特性(十四)之日期时间API
  10. Elastic-Job