Merge "Update ExoPlayerDemo.apk" into tm-dev am: e1c107bd8f am: 202363e65d
Original change: https://googleplex-android-review.googlesource.com/c/platform/vendor/widevine/+/17359730 Change-Id: Ia7d7af078ed2f9b0ae1bae23d38335c81cc0302b
This commit is contained in:
Binary file not shown.
@@ -4,20 +4,37 @@ To install, side load ExoPlayerDemo.apk app to your device:
|
|||||||
|
|
||||||
adb install ExoPlayerDemo.apk
|
adb install ExoPlayerDemo.apk
|
||||||
|
|
||||||
To run, launch ExoPlayer, then choose the clip to play. The
|
To run, launch ExoPlayer, then choose the clip to play.
|
||||||
Widevine-encrypted DASH CENC assets are in the "WIDEVINE DASH GTS"
|
The Widevine-encrypted DASH CENC assets are in the "WIDEVINE DASH (policy tests)"
|
||||||
section.
|
section.
|
||||||
|
|
||||||
These assets test various configurations of the Key Control Block (KCB)
|
These assets test various configurations of the Key Control Block (KCB)
|
||||||
with various protections and expirations:
|
with various protections and expirations:
|
||||||
|
|
||||||
WV: HDCP not specified (KCB: Observe_HDCP=false)
|
Security Level Checks:
|
||||||
WV: HDCP not required (KCB: Observe_HDCP=true && HDCP=not required && DataPath=normal)
|
SW secure crypto (SW crypto required)
|
||||||
WV: HDCP required (KCB: Observe_HDCP=true && HDCP=required && DataPath=normal)
|
SW secure decode (SW crypto and decode required)
|
||||||
WV: Secure video path required (KCB: Observe_HDCP=true && HDCP=not required && DataPath=secure)
|
HW secure crypto (HW crypto required)
|
||||||
WV: HDCP + secure video path required (KCB: Observe_HDCP=true && HDCP=required && DataPath=secure)
|
HW secure decode (HW crypto and decode required)
|
||||||
WV: 30s license duration (KCB: test timer expiration)
|
HW secure all (HW secure video path required (L1))
|
||||||
WV: Secure VP9 (Requires a secure VP9 decoder. Only shows on devices that support VP9 content.)
|
|
||||||
|
License Timer Policy:
|
||||||
|
30s license (timer stops at 30 seconds, playback should stop)
|
||||||
|
|
||||||
|
HDCP Policies
|
||||||
|
HDCP not required (KCB: Observe_HDCP=true && HDCP=not required && DataPath=normal)
|
||||||
|
HDCP 1.0 required (KCB: Observe_HDCP=true && HDCP=required && DataPath=normal)
|
||||||
|
HDCP 2.0 required (Requires HDCP 2.0+ to play)
|
||||||
|
HDCP 2.1 required (Requires HDCP 2.1+ to play)
|
||||||
|
HDCP 2.2 required (Requires HDCP 2.2+ to play)
|
||||||
|
HDCP no digital output (Output to connected devices not allowed)
|
||||||
|
|
||||||
|
There are also Widevine-encrypted DASH CENC assets for various container
|
||||||
|
formats as well.
|
||||||
|
Widevine DASH (MP4, H264): Contains cenc and cbcs encryption samples
|
||||||
|
Widevine DASH (WebM, VP9): Contains full-sample and sub-sample cenc
|
||||||
|
samples
|
||||||
|
Widevine DASH (MP4, H265): Contains cenc samples only
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|
||||||
@@ -31,10 +48,6 @@ Notes:
|
|||||||
will do seamless resolution switching. If the decoder doesn't claim this then you'll still get the
|
will do seamless resolution switching. If the decoder doesn't claim this then you'll still get the
|
||||||
old nearly-seamless-switch (codec release/re-acquire) behavior.
|
old nearly-seamless-switch (codec release/re-acquire) behavior.
|
||||||
|
|
||||||
- If your device is running KLP or later, the player will attempt to hook into the
|
- The player will attempt to hook into the
|
||||||
AudioTrack.getTimestamp API to do A/V sync. It will fall back to a legacy approach if
|
AudioTrack.getTimestamp API to do A/V sync. It will fall back to a legacy approach if
|
||||||
the API isn't available.
|
the API isn't available.
|
||||||
|
|
||||||
- Exoplayer will retrieve a new license when playing "WV: 30s license duration",
|
|
||||||
after the license duration has expired. Integrators should verify by means
|
|
||||||
other than visual inspection that license duration is being enforced.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user