Skip to content

Commit

Permalink
fix: small nit fix and warning about getting key system accessw
Browse files Browse the repository at this point in the history
  • Loading branch information
wseymour15 committed Jan 17, 2025
1 parent 9a0b8ab commit b61236f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/playback/src/lib/eme/eme-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ export class EmeManager implements IEmeManager {
// TODO: Create an event for request media key system
this.logger_.debug();

mediaKeySystemAccess = await navigator.requestMediaKeySystemAccess(keySystem, [keySystemConfig]);
const mediaKeySystemAccess = await navigator.requestMediaKeySystemAccess(keySystem, [keySystemConfig]);
return mediaKeySystemAccess;
} catch (error) {
// Error: could not get system acces for keySystem with keySystemConfig
// Warn about a failed request, but loop should continue.
}
}

Expand Down

0 comments on commit b61236f

Please sign in to comment.