Skip to content

Commit

Permalink
Fix: FairPlay playback (shaka-project#3531)
Browse files Browse the repository at this point in the history
Fix the URI in onInitializeSrcEqualsDrm_ .
  • Loading branch information
Álvaro Velad Galván authored Jul 15, 2021
1 parent 291c93e commit 3995000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -2003,7 +2003,7 @@ shaka.Player = class extends shaka.util.FakeEventTarget {

this.drmEngine_.configure(this.config_.drm);

const uri = has.uri || '';
const uri = wants.uri || '';
const extension = shaka.media.ManifestParser.getExtension(uri);
let mimeType = shaka.Player.SRC_EQUAL_EXTENSIONS_TO_MIME_TYPES_[extension];
if (mimeType == 'application/x-mpegurl' && shaka.util.Platform.isApple()) {
Expand Down

0 comments on commit 3995000

Please sign in to comment.