Skip to content

Commit

Permalink
fix: remove KEY_SYSTEM_OBTAIN_ACCESS_ERROR error detail
Browse files Browse the repository at this point in the history
  • Loading branch information
huanpu2023 committed Oct 25, 2024
1 parent abce6c8 commit 5c7f1a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/controller/eme-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,6 @@ class EMEController extends Logger implements ComponentAPI {
this.log(
`Failed to obtain access to key-system "${keySystem}": ${error}`,
);
this.hls?.trigger(Events.ERROR, {
type: ErrorTypes.KEY_SYSTEM_ERROR,
details: ErrorDetails.KEY_SYSTEM_OBTAIN_ACCESS_ERROR,
error,
fatal: false,
});
});
return keySystemAccess.then((mediaKeySystemAccess) => {
this.log(
Expand Down
1 change: 0 additions & 1 deletion src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export enum ErrorDetails {
KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR = 'keySystemDestroyMediaKeysError',
KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR = 'keySystemDestroyCloseSessionError',
KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR = 'keySystemDestroyRemoveSessionError',
KEY_SYSTEM_OBTAIN_ACCESS_ERROR = 'keySystemObtainAccessError',
// Identifier for a manifest load error - data: { url : faulty URL, response : { code: error code, text: error text }}
MANIFEST_LOAD_ERROR = 'manifestLoadError',
// Identifier for a manifest load timeout - data: { url : faulty URL, response : { code: error code, text: error text }}
Expand Down

0 comments on commit 5c7f1a8

Please # to comment.