Skip to content

Keep the same DRM Session for live zapping #8523

@Xlcghs

Description

@Xlcghs

Hi,

I ask you following the issue #7286

Use case

User switch between protected content: content A -> content B -> content A

Target

I want to reuse the content's DRM session when the user switch between content A -> content B -> content A for the purpose of optimizing the start-up time of the PlayBack

ExoPlayer Version

2.12 (with the DRMSessionKeepAlive mechanism enabled by default)

Result found:

I put the contents A and B in a playlist to use a single ExoPlayer instance for the playback, I noticed that the DRM License is requested at each switch between contents.
In addition, at the time of the switch, the decoder is disabled which causes a first DRM release (Session keept Alive) and later a release of sampleQue which
causes a total release of the DRM session from which the DRM session kept alive is completely released.

So, Even with the DRMSessionKeepAlive mechanism, is the customization of DRMSessionManager essential to reuse the DRM session ? If so, should you put the DRM session in the cache to reuse it later?

Alternatively, do you think of a similar evolution in the next versions of ExoPlayer?

Best Regards,

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions