Skip to content

Commit

Permalink
corrección: Disparar correctamente el error MIN_HDCP_VERSION_NOT_MATCH (
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Mar 1, 2023
1 parent 50d0645 commit 2ae5a99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/media/drm_engine.js
Expand Up @@ -940,6 +940,9 @@ shaka.media.DrmEngine = class {
}
this.destroyer_.ensureNotDestroyed();
} catch (e) {
if (e instanceof shaka.util.Error) {
throw e;
}
throw new shaka.util.Error(
shaka.util.Error.Severity.CRITICAL,
shaka.util.Error.Category.DRM,
Expand Down

0 comments on commit 2ae5a99

Please sign in to comment.