Skip to content

Support CDM-Protected TS segments in HLS #4021

@jhughes

Description

@jhughes

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions