We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53ad454 commit fd3e948Copy full SHA for fd3e948
chrome/player/players/mp4/MP4Player.mjs
@@ -83,9 +83,9 @@ export default class MP4Player extends EventEmitter {
83
if (this.currentAudioTrack !== null) {
84
const audioTrack = this.metaData.audioTracks[this.currentAudioTrack];
85
if (audioTrack) {
86
- const fixedCodec = audioTrack.codec;
+ let fixedCodec = audioTrack.codec;
87
if (fixedCodec === 'Opus') {
88
- fixedCode = 'opus';
+ fixedCodec = 'opus';
89
}
90
const audioCodec = 'audio/mp4; codecs=\"' + fixedCodec + '\"';
91
this.audioSourceBuffer = new SourceBufferWrapper(this.mediaSource, audioCodec);
0 commit comments