Skip to content

Commit

Permalink
fix: Populate track's spatialAudio property (shaka-project#4291)
Browse files Browse the repository at this point in the history
Fixes issue shaka-project#4290 where `spatialAudio` flag is not being set on variant tracks.

Co-authored-by: Dan Sparacio <daniel.sparacio@cbsinteractive.com>
  • Loading branch information
littlespex and dsparacio committed Jun 13, 2022
1 parent 314a987 commit 713f461
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util/stream_utils.js
Expand Up @@ -1015,6 +1015,7 @@ shaka.util.StreamUtils = class {
track.channelsCount = audio.channelsCount;
track.audioSamplingRate = audio.audioSamplingRate;
track.audioBandwidth = audio.bandwidth || null;
track.spatialAudio = audio.spatialAudio;
track.label = audio.label;
track.audioRoles = audio.roles;
}
Expand Down

0 comments on commit 713f461

Please sign in to comment.