google / google/ExoPlayer

Playback of Video Crashes on Selected Android Phones

Open
#9,871 3 comments 1 reaction 1 assignee Claimed by @fredgc View on GitHub
bug: in platform drm
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### Overview
1. the below (and similar) content CRASHES w/ NO playback on the Android device
2. HOWEVER other WV encrypted VOD play OK on the same device
3. the same content in `#1` play OK on other Android devices e.g `Huawei LYA-L29`
4. We isolated the crash in `#1` to be due to the Video by
a. removing the audio in the manifest and noticing VIDEO-ONLY crashed
b. removing the video in the manifest and noticed AUDIO-ONLY PLAYED

Appreciate any insights on how to workaround / resolve this issue please. Details below.

### Steps to reproduce the issue
-------------------------

1. Launch the `ExoPlayer` app with the following `media.exolist.json` config
```
[
{
"name": "Spark-Debugging",
"samples": [
{
"name": "Working VOD",
"uri": "https://spark.akamaized.net/dash/live/2014391/spark/4a2e24fc-289e-4e56-b8ac-54a8c926f172/clip_1001_master.mpd",
"drm_scheme": "widevine",
"drm_license_uri": "https://widevine.license.istreamplanet.com/widevine/api/license/0f6160eb-bbd3-4c70-8e4d-0d485e7cb055",
"drm_key_request_properties": {"X-ISP-TOKEN":"--TOKEN-REDACTED--"}
},
{
"name": "Crashing VOD",
"uri": "https://sparksports-vod.akamaized.net/spark/203/120c8388-a3f2-44a8-80ee-066a633534d9/dash/001/120c8388-a3f2-44a8-80ee-066a633534d9_trickplay.mpd",
"drm_scheme": "widevine",
"drm_license_uri": "https://widevine.license.istreamplanet.com/widevine/api/license/0f6160eb-bbd3-4c70-8e4d-0d485e7cb055",
"drm_key_request_properties": {"X-ISP-TOKEN":"--TOKEN-REDACTED--"}
}
]
}
]
```

2. Playback of the `Crashing VOD` crashes `Exoplayer`

### ADB Output
-------------------------

[oppo-expoplayer-crash.log](https://github.com/google/ExoPlayer/files/7893660/oppo-expoplayer-crash.log)

### DRM config properties
-------------------------

See `media.exolist.json` config in `Steps to Reproduce > #1`

### Misc
-------------------------

- ExoPlayer version number:
```
// ExoPlayer version and version code.
releaseVersion = '2.16.1'
releaseVersionCode = 2016001
```

- Android version/device/DRM info
![android-version-device-info](https://user-images.githubusercontent.com/19811134/150053900-992faae6-3e28-452c-811e-6927b7df341d.jpg)
![android-drm-info](https://user-images.githubusercontent.com/19811134/150053912-49543372-c890-40dd-972c-efdefcfcc431.jpg)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.