Open Bug 1965210 Opened 6 months ago Updated 5 months ago

The audio is cut out after unplugging and plugging the headset back in

Categories

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

defect

Tracking

()

Tracking Status
firefox140 --- affected

People

(Reporter: danibodea, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Note

  • Audio is intermittently lost or played with bad quality after headset interrupts.

Found in

  • Nightly v140.0a1

Affected versions

  • Nightly v140.0a1
  • Beta v139.0b5

Tested platforms

  • Affected platforms: MacOS 12, Windows 10
  • Unaffected platforms: unknown

Steps to reproduce

  1. Join into a Jitsi meeting, like https://meet.jit.si/InjuredResidencesCoolThereby
  2. unplug headset
  3. Plug headset back in.

Expected result

  • Interrupt behaves correctly.

Actual result

  • Audio is cut out.
  • OR audio is connected, but with low quality.

Regression range

  • unknown

Additional notes

  • Audio being cut off was more likely to reproduce opn Mac OS 12.
  • This issue is intermittent! It might cut audio for the system that made the interrupt, it might worsen the qudio quality for BOTH systems or it might not occur at all!
  • Possible related errors:
    MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 rtc.audio_output_device_changed listeners added. Use emitter.setMaxListeners() to increase limit d events.js:211 addListener events.js:227 addListener Listenable.ts:46 su JitsiLocalTrack.js:222 Wu RTC.js:66 Wu RTC.js:48 obtainAudioAndVideoPermissions RTC.js:186 events.js:46:39 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 rtc.device_list_will_change listeners added. Use emitter.setMaxListeners() to increase limit d events.js:211 addListener events.js:227 addListener Listenable.ts:46 su JitsiLocalTrack.js:227 Wu RTC.js:66 Wu RTC.js:48 obtainAudioAndVideoPermissions RTC.js:186
    Error: Could not get children of/Users/svuser/Library/Application Support/Firefox/Profiles/7wpd75gr.14/thumbnails': directory does not exist (NS_ERROR_FILE_NOT_FOUND) PromiseWorker.sys.mjs:75
    Uncaught TypeError: can't access property "closedGroups", winData is undefined
    ssi_getStateForClosedTabsAndClosedGroupTabs resource:///modules/sessionstore/SessionStore.sys.mjs:4310
    ssi_getClosedTabCountForWindow resource:///modules/sessionstore/SessionStore.sys.mjs:4088
    tabCount resource:///modules/sessionstore/SessionStore.sys.mjs:4141
    getClosedTabCount resource:///modules/sessionstore/SessionStore.sys.mjs:4141
    ss_getClosedTabCount resource:///modules/sessionstore/SessionStore.sys.mjs:373
    toggleRecentlyClosedTabs chrome://browser/content/browser-places.js:611
    _onPopupShowing chrome://browser/content/browser-places.js:710
    PlacesMenu chrome://browser/content/places/browserPlacesViews.js:1999
    HistoryMenu chrome://browser/content/browser-places.js:583
    <anonymous> chrome://browser/content/browser-menubar.js:180
    maybeSaveClosedWindow resource:///modules/sessionstore/SessionStore.sys.mjs:2581
    ssi_onClose resource:///modules/sessionstore/SessionStore.sys.mjs:2435
    ssi_observe resource:///modules/sessionstore/SessionStore.sys.mjs:1524
    SessionStore.sys.mjs:4310:28
    TypeError: can't access property "ownerGlobal", browser is null
    PictureInPicture.sys.mjs:603:15
    updateUrlbarToggle resource://gre/modules/PictureInPicture.sys.mjs:603
    receiveMessage resource://gre/modules/PictureInPicture.sys.mjs:104
    TypeError: can't access property "audioPlaybackStopped", browser is null
    AudioPlaybackParent.sys.mjs:21:9
    receiveMessage resource://gre/actors/AudioPlaybackParent.sys.mjs:21
    TypeError: can't access property "ownerGlobal", browser is null
    PictureInPicture.sys.mjs:603:15
    updateUrlbarToggle resource://gre/modules/PictureInPicture.sys.mjs:603
    receiveMessage resource://gre/modules/PictureInPicture.sys.mjs:104
    error in gIndicatorWindow.updateIndicatorState(): can't access property "ownerGlobal", browser is null webrtcUI.sys.mjs:845:19
    updateGlobalIndicator resource:///modules/webrtcUI.sys.mjs:845
    updateIndicators resource:///modules/webrtcUI.sys.mjs:684
    updateIndicators resource:///actors/WebRTCParent.sys.mjs:143
    receiveMessage resource:///actors/WebRTCParent.sys.mjs:135`

Thanks Daniel, could you look at bug 1929592 to see if this is a dup?

Flags: needinfo?(dbodea)

These reports are difinitely similar and they should be tied by the "See Also" tag, but:

  1. when bug 1929592 was logged, it was only found to reproduce on MacOS 13 ARM.
  2. when the current report was logged, it was found to reproduce on MacOS 12 x64 and Windows 10 x64.

It is yet unknown whether they are caused by the same problem. I would suggest to keep both reports untill something changes and we can determine the cause, but feel free to address them however you see fit. Thank you.

Flags: needinfo?(dbodea)

The severity field is not set for this bug.
:jib, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jib)
Blocks: jitsi
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.