Closed Bug 1896888 Opened 9 months ago Closed 8 months ago

Audio shortly distorted when muting/unmuting tab while playing YouTube video

Categories

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

Firefox 128
x86_64
macOS
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox128 --- affected

People

(Reporter: claas, Assigned: kinetik)

References

Details

Attachments

(1 file)

  1. Open https://www.youtube.com/watch?v=B4eRs6VFwlY in Firefox Nightly.
  2. Play the video.
  3. Mute the tab and then unmute it again.

Expected: The audio should resume normally.

Actual: The audio is shortly distorted (lower speed, lower pitch).

Here's a media playback profile, as requested by :padenot: https://share.firefox.dev/3WGIchg

I'm having a hard time finding a range for this one.

Severity: -- → S2

I can observe this with the STR in the Description. For my case, it is important to mute and unmute in less than a second, otherwise it doesn't reproduce.

I think an easier video to observe this bug is with a sine wave test tone, like with https://www.youtube.com/watch?v=PyD9cMarVJk; this video plays a single tone for about 6 minutes, which makes it easy to detect a change for most audio-able users.

I've attached Bug 1896888 repro with sine wave (480p).mp4 to demonstrate the above.

Very cool repro Erich, clearly much more hearable with the sine wave. Let attempt to find a regression range with that instead, maybe we'll be more successful.

gcp, Erich, were you also on macOS or are you on other OSes? I know Claas usually runs macOS and I also did repro myself on macOS. I can't seem to be able to repro on Windows.

Flags: needinfo?(gpascutto)
Flags: needinfo?(egubler)

I believe I was on macOS.

Flags: needinfo?(gpascutto)

Paul: I was actually on Windows 11. I can get more information about component versions, etc. if you want.

Flags: needinfo?(egubler)

hmm, can't reproduce this. Windows 11.

Severity: S2 → S3
Blocks: media-triage

Actually I can reproduce this, you have to click the speaker icon repeatedly to get it. The distortion only lasts for < 1 sec.

Mathew, any thoughts on this?

Flags: needinfo?(kinetik)
See Also: → 1899245

Distortion only last for one second on my end, though it doesn't lower in speed/pitch, the quality drops and it sounds like one does on a voice call on a bad connection.

Video of the audio distortion I am experiencing:
https://bugzilla.mozilla.org/attachment.cgi?id=9404492

Did some more testing, the distortion mainly happens with speakers plugged in (the distortion is simply replaced by a short period of silence using my built-in speakers instead). Seems to be most prevalent right after Windows switches audio output. Seemingly it stops after a short time, though that's the only pattern I could discern. Does not happen at all in Edge or embedded videos in Discord, only in Firefox.

Assignee: nobody → kinetik
Status: NEW → ASSIGNED
Priority: -- → P2
No longer blocks: media-triage

This was probably fixed by bug 1900972, can people retry on nightly?

Flags: needinfo?(kinetik)

Cannot reproduce on MacOS and Windows now, where the reproduction was reliable and easy. Seems fixed to me!

Thanks, Erich, for confirming! Closing.

Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: