Skip to content

[DRM] Ignore 'encrypted' event

Created by: jeremco

Hi

This PR ignores 'encrypted' event in case the key system has already been selected and pssh already processed.

This avoids to call requestKeySystemAccess each time an init segment is pushed in sourcebuffer (each time bitrate is changed) This may lead to a crash of CDM.

This can be the cause of issue #2159 (closed)

Jeremie

Merge request reports