google / google/ExoPlayer

Support CDM-Protected TS segments in HLS

Open
#4,021 9 comments 0 reactions 1 assignee Assigned to @tianyif View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### Issue description
I'm testing an HLS manifest with MPEG TS segments encrypted with CBCS with Widevine DRM.
On Android 8 and 8.1, Exoplayer playback stalls when it tries to play an encrypted MPEG TS segment.

The same manifest plays on Apple devices using Fairplay.
The same video repackaged to use HLS Fragmented MP4 plays successfully.
According to the Supported Formats documentation, HLS MPEG TS and CBCS should be supported in Android 24+.

### Reproduction steps
Play provided test content using the demo player for at least 10 seconds (The first encrypted segment occurs at 10 seconds)

### Link to test content
Link to TS and FMP4 manifests provided in email.

### Version of ExoPlayer being used
Exoplayer 2.7.0

### Device(s) and version(s) of Android being used
Tested with Pixel XL (Android 8.0) and Pixel (Android 8.1)

### A full bug report captured from the device
Bug report for Pixel XL provided in email.

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.