Open Bug 1339362 Opened 7 years ago Updated 2 years ago

Add channel layout information when decoding metadata

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

People

(Reporter: chunmin, Assigned: chunmin)

References

(Blocks 1 open bug)

Details

By https://bugzilla.mozilla.org/show_bug.cgi?id=1287672#c4

I think we need to add the layout information to metadata like here[0] based on its format. One example is [1].

We will get the following advantage:
1) We could collect these channel layout data for telemetry
2) We can get the layout even when the AudioQueue is empty[2]

[0] http://searchfox.org/mozilla-central/rev/672c83ed65da286b68be1d02799c35fdd14d0134/dom/media/ogg/OggCodecState.cpp#782
[1] http://searchfox.org/mozilla-central/rev/672c83ed65da286b68be1d02799c35fdd14d0134/dom/media/platforms/agnostic/OpusDecoder.cpp#128
[2] http://searchfox.org/mozilla-central/source/dom/media/mediasink/DecodedAudioDataSink.cpp#204
Assignee: nobody → cchang
Blocks: 1287672
Component: Audio/Video → Audio/Video: Playback
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.