Closed Bug 1757425 Opened 3 years ago Closed 2 years ago

Microphone noise rapidly increases to unusable levels, website independent

Categories

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

Firefox 97
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox99 - wontfix
firefox100 --- affected

People

(Reporter: georg.hartmann, Assigned: padenot, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

  1. Enable access to microphone on any website
  2. Keep enabled for 1 minute
  3. Switch system microphone
  4. Keep enabled for 1 minute

Actual results:

  1. Audio works correctly
  2. Noise (hissing, crackling) continuously increases until it totally overlays the signal
  3. Audio goes back to normal
  4. Noise (hissing, crackling) continuously increases until it totally overlays the signal

Expected results:

Audio signal stays auditable over time

{
"application": {
"name": "Firefox",
"osVersion": "Darwin 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101",
"version": "97.0.1",
"buildID": "20220216172458",
"distributionID": "",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:97.0) Gecko/20100101 Firefox/97.0",
"safeMode": false,
"updateChannel": "release",
"supportURL": "https://support.mozilla.org/1/firefox/97.0.1/Darwin/en-US/",
"osTheme": "",
"rosetta": false,
"numTotalWindows": 1,
"numFissionWindows": 1,
"numRemoteWindows": 1,
"fissionAutoStart": true,
"fissionDecisionStatus": "enabledByDefault",
"remoteAutoStart": true,
"policiesStatus": 0,
"keyLocationServiceGoogleFound": true,
"keySafebrowsingGoogleFound": true,
"keyMozillaFound": true
},
"securitySoftware": {
"registeredAntiVirus": "",
"registeredAntiSpyware": "",
"registeredFirewall": ""
},
"processes": {
"remoteTypes": {
"privilegedabout": 1,
"extension": 1,
"webIsolated": 14,
"prealloc": 3,
"socket": 1
},
"maxWebContentProcesses": 8
},
"environmentVariables": {
"MOZ_CRASHREPORTER_EVENTS_DIRECTORY": "/Users/g/Library/Application Support/Firefox/Profiles/urdhvzvg.default-release/crashes/events",
"MOZ_CRASHREPORTER_RESTART_ARG_0": "/Applications/Firefox.app/Contents/MacOS/firefox",
"MOZ_CRASHREPORTER_RESTART_ARG_1": "",
"MOZ_CRASHREPORTER_DATA_DIRECTORY": "/Users/g/Library/Application Support/Firefox/Crash Reports",
"MOZ_CRASHREPORTER_PING_DIRECTORY": "/Users/g/Library/Application Support/Firefox/Pending Pings",
"MOZ_CRASHREPORTER_STRINGS_OVERRIDE": "/Applications/Firefox.app/Contents/Resources/browser/crashreporter-override.ini",
"MOZ_LAUNCHED_CHILD": "",
"MOZ_APP_SILENT_START": "",
"XRE_PROFILE_PATH": "",
"XRE_PROFILE_LOCAL_PATH": "",
"XRE_START_OFFLINE": "",
"XRE_BINARY_PATH": "",
"XRE_RESTARTED_BY_PROFILE_MANAGER": ""
},
"modifiedPreferences": {
"accessibility.typeaheadfind.flashBar": 0,
"browser.contentblocking.category": "standard",
"browser.search.region": "CO",
"browser.sessionstore.upgradeBackup.latestBuildID": "20220216172458",
"browser.startup.homepage_override.buildID": "20220216172458",
"browser.startup.homepage_override.mstone": "97.0.1",
"browser.urlbar.placeholderName.private": "DuckDuckGo",
"browser.urlbar.quicksuggest.migrationVersion": 2,
"browser.urlbar.quicksuggest.scenario": "history",
"browser.urlbar.shortcuts.bookmarks": false,
"browser.urlbar.tipShownCount.searchTip_onboard": 4,
"doh-rollout.balrog-migration-done": true,
"doh-rollout.doneFirstRun": true,
"doh-rollout.home-region": "CO",
"extensions.lastAppVersion": "97.0.1",
"idle.lastDailyNotification": 1645744810,
"media.gmp-gmpopenh264.abi": "aarch64-gcc3",
"media.gmp-gmpopenh264.lastUpdate": 1643813890,
"media.gmp-gmpopenh264.version": "1.8.1.1",
"media.gmp-manager.buildID": "20220216172458",
"media.gmp-manager.lastCheck": 1645743504,
"media.gmp-widevinecdm.abi": "aarch64-gcc3",
"media.gmp-widevinecdm.lastUpdate": 1643813893,
"media.gmp-widevinecdm.version": "4.10.2391.0",
"media.gmp.storage.version.observed": 1,
"media.videocontrols.picture-in-picture.video-toggle.has-used": true,
"media.webspeech.synth.enabled": false,
"network.dns.disablePrefetch": true,
"network.http.speculative-parallel-limit": 0,
"network.predictor.enabled": false,
"network.prefetch-next": false,
"places.database.lastMaintenance": 1645157232,
"privacy.purge_trackers.last_purge": "1645744810745",
"privacy.purge_trackers.date_in_cookie_database": "0",
"privacy.sanitize.pending": "[{"id":"newtab-container","itemsToClear":[],"options":{}}]",
"privacy.userContext.enabled": true,
"privacy.userContext.extension": "@testpilot-containers",
"privacy.userContext.ui.enabled": true,
"security.remote_settings.crlite_filters.checked": 1646060594,
"security.remote_settings.intermediates.checked": 1645950339,
"security.sandbox.content.tempDirSuffix": "d4228ff7-1d87-4037-aaf7-152fca73bea4",
"services.sync.declinedEngines": "",
"services.sync.lastPing": 1646010651,
"services.sync.lastSync": "Mon Feb 28 2022 11:41:27 GMT-0500 (Colombia Standard Time)",
"services.sync.engine.prefs.modified": false,
"services.sync.engine.creditcards": true,
"signon.rememberSignons": false,
"storage.vacuum.last.index": 1,
"storage.vacuum.last.places.sqlite": 1643816848
},
"lockedPreferences": {
"fission.autostart.session": true
},
"printingPreferences": {},
"media": {
"currentAudioBackend": "audiounit-rust",
"currentMaxAudioChannels": 1,
"currentPreferredSampleRate": 44100,
"audioOutputDevices": [
{
"name": "MacBook Air Speakers",
"groupId": "builtin-internal-mic|spk",
"vendor": "Apple Inc.",
"type": 2,
"state": 2,
"preferred": 0,
"supportedFormat": 12336,
"defaultFormat": 4096,
"maxChannels": 2,
"defaultRate": 48000,
"maxRate": 96000,
"minRate": 44100,
"maxLatency": 5090,
"minLatency": 1009
},
{
"name": "U28E590",
"groupId": "",
"vendor": "SAM",
"type": 2,
"state": 2,
"preferred": 0,
"supportedFormat": 12336,
"defaultFormat": 4096,
"maxChannels": 2,
"defaultRate": 48000,
"maxRate": 48000,
"minRate": 48000,
"maxLatency": 4184,
"minLatency": 103
},
{
"name": "QC",
"groupId": "4020 9e",
"vendor": "",
"type": 2,
"state": 2,
"preferred": 15,
"supportedFormat": 12336,
"defaultFormat": 4096,
"maxChannels": 2,
"defaultRate": 44100,
"maxRate": 44100,
"minRate": 16000,
"maxLatency": 9103,
"minLatency": 8093
}
],
"audioInputDevices": [
{
"name": "MacBook Air Microphone",
"groupId": "builtin-internal-mic|spk",
"vendor": "Apple Inc.",
"type": 1,
"state": 2,
"preferred": 0,
"supportedFormat": 12336,
"defaultFormat": 4096,
"maxChannels": 1,
"defaultRate": 48000,
"maxRate": 96000,
"minRate": 44100,
"maxLatency": 5535,
"minLatency": 1454
},
{
"name": "QC",
"groupId": "4020 9e",
"vendor": "",
"type": 1,
"state": 2,
"preferred": 15,
"supportedFormat": 12336,
"defaultFormat": 4096,
"maxChannels": 1,
"defaultRate": 16000,
"maxRate": 16000,
"minRate": 16000,
"maxLatency": 4256,
"minLatency": 165
}
]
},
"accessibility": {
"isActive": false,
"forceDisabled": 0,
"handlerUsed": false,
"instantiator": ""
},
"startupCache": {
"DiskCachePath": "/Users/g/Library/Caches/Firefox/Profiles/urdhvzvg.default-release/startupCache/startupCache.8.little",
"IgnoreDiskCache": false,
"FoundDiskCacheOnInit": true,
"WroteToDiskCache": false
},
"libraryVersions": {
"NSPR": {
"minVersion": "4.33",
"version": "4.33"
},
"NSS": {
"minVersion": "3.74",
"version": "3.74"
},
"NSSUTIL": {
"minVersion": "3.74",
"version": "3.74"
},
"NSSSSL": {
"minVersion": "3.74",
"version": "3.74"
},
"NSSSMIME": {
"minVersion": "3.74",
"version": "3.74"
}
},
"userJS": {
"exists": false
},
"intl": {
"localeService": {
"requested": [
"en-US"
],
"available": [
"en-US"
],
"supported": [
"en-US"
],
"regionalPrefs": [
"en-US"
],
"defaultLocale": "en-US"
},
"osPrefs": {
"systemLocales": [
"en-US"
],
"regionalPrefsLocales": [
"en-US"
]
}
},
"crashes": {
"submitted": [],
"pending": 0
},
"sandbox": {
"contentSandboxLevel": 3,
"effectiveContentSandboxLevel": 3,
"contentWin32kLockdownState": "Win32k Lockdown disabled -- Operating system not supported"
},
"remoteAgent": {
"listening": false,
"url": ""
},
"graphics": {
"numTotalWindows": 1,
"numAcceleratedWindows": 1,
"windowLayerManagerType": "WebRender",
"windowLayerManagerRemote": true,
"adapterDescription": "",
"adapterVendorID": "0x106b",
"adapterDeviceID": "",
"adapterRAM": 0,
"adapterDrivers": "",
"driverVendor": "",
"driverVersion": "",
"driverDate": "",
"targetFrameRate": 60,
"webgl1Renderer": "Apple -- Apple M1",
"webgl1Version": "4.1 Metal - 76.3",
"webgl1DriverExtensions": "GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_NV_texture_barrier",
"webgl1Extensions": "ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_compression_rgtc EXT_texture_filter_anisotropic MOZ_debug OES_element_index_uint OES_fbo_render_mipmap OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context",
"webgl1WSIInfo": "CGL\nIsWebglOutOfProcessEnabled: 1",
"webgl2Renderer": "Apple -- Apple M1",
"webgl2Version": "4.1 Metal - 76.3",
"webgl2DriverExtensions": "GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_NV_texture_barrier",
"webgl2Extensions": "EXT_color_buffer_float EXT_float_blend EXT_texture_compression_rgtc EXT_texture_filter_anisotropic MOZ_debug OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context",
"webgl2WSIInfo": "CGL\nIsWebglOutOfProcessEnabled: 1",
"info": {
"AzureFallbackCanvasBackend": "skia",
"AzureCanvasBackend": "skia",
"AzureContentBackend": "skia",
"ApzWheelInput": 1,
"ApzDragInput": 1,
"ApzKeyboardInput": 1,
"ApzAutoscrollInput": 1,
"ApzZoomingInput": 1,
"CMSOutputProfile": "AAACEGFwcGwEAAAAbW50clJHQiBYWVogB+YAAgAcAAkAEQAwYWNzcEFQUEwAAAAAQVBQTAAAAAAAAAAAAAAAAAAAAAAAAPbWAAEAAAAA0y1hcHBslal54FvzU0LgVzEBpGEwrgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKZGVzYwAAAPwAAABiY3BydAAAAWAAAAAjd3RwdAAAAYQAAAAUclhZWgAAAZgAAAAUZ1hZWgAAAawAAAAUYlhZWgAAAcAAAAAUclRSQwAAAdQAAAAQY2hhZAAAAeQAAAAsYlRSQwAAAdQAAAAQZ1RSQwAAAdQAAAAQZGVzYwAAAAAAAAAIVTI4RTU5MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHRleHQAAAAAQ29weXJpZ2h0IEFwcGxlIEluYy4sIDIwMjIAAFhZWiAAAAAAAADzFgABAAAAARbKWFlaIAAAAAAAAGviAAA5OwAAAvNYWVogAAAAAAAAYFUAALVcAAANK1hZWiAAAAAAAAAqnwAAEWkAAMMPcGFyYQAAAAAAAAAAAAH2BHNmMzIAAAAAAAEMcgAABfj///MdAAAHugAA/XL///ud///9pAAAA9kAAMBx",
"DisplayCount": 1,
"Display0": "1920x1080 scale:2.000000"
},
"featureLog": {
"features": [
{
"name": "HW_COMPOSITING",
"description": "Compositing",
"status": "available",
"log": [
{
"type": "default",
"status": "available"
}
]
},
{
"name": "OPENGL_COMPOSITING",
"description": "OpenGL Compositing",
"status": "available",
"log": [
{
"type": "default",
"status": "available"
}
]
},
{
"name": "WEBRENDER",
"description": "WebRender",
"status": "available",
"log": [
{
"type": "default",
"status": "available"
}
]
},
{
"name": "WEBRENDER_QUALIFIED",
"description": "WebRender qualified",
"status": "available",
"log": [
{
"type": "default",
"status": "available"
}
]
},
{
"name": "WEBRENDER_COMPOSITOR",
"description": "WebRender native compositor",
"status": "available",
"log": [
{
"type": "default",
"status": "available"
}
]
},
{
"name": "WEBRENDER_SHADER_CACHE",
"description": "WebRender shader disk cache",
"status": "disabled",
"log": [
{
"type": "default",
"status": "disabled",
"message": "Disabled by default"
}
]
},
{
"name": "WEBRENDER_OPTIMIZED_SHADERS",
"description": "WebRender optimized shaders",
"status": "available",
"log": [
{
"type": "default",
"status": "available"
}
]
},
{
"name": "WEBRENDER_ANGLE",
"description": "WebRender ANGLE",
"status": "unavailable",
"log": [
{
"type": "default",
"status": "available"
},
{
"type": "env",
"status": "unavailable",
"message": "OS not supported"
}
]
},
{
"name": "WEBRENDER_DCOMP_PRESENT",
"description": "WebRender DirectComposition",
"status": "unavailable",
"log": [
{
"type": "default",
"status": "available"
},
{
"type": "user",
"status": "disabled",
"message": "User disabled via pref"
},
{
"type": "env",
"status": "unavailable",
"message": "Requires Windows 10 or later"
},
{
"type": "runtime",
"status": "unavailable",
"message": "Requires ANGLE"
}
]
},
{
"name": "WEBRENDER_SOFTWARE",
"description": "WebRender software fallback",
"status": "available",
"log": [
{
"type": "default",
"status": "available"
}
]
},
{
"name": "WEBGPU",
"description": "WebGPU",
"status": "blocked",
"log": [
{
"type": "default",
"status": "disabled",
"message": "Disabled by default"
},
{
"type": "runtime",
"status": "blocked",
"message": "WebGPU can only be enabled in nightly"
}
]
}
],
"fallbacks": []
},
"crashGuards": []
},
"experimentalFeatures": [
[
"experimental-features-abouthome-startup-cache",
"browser.startup.homepage.abouthome_cache.enabled",
false
],
[
"experimental-features-cookie-samesite-lax-by-default2",
"network.cookie.sameSite.laxByDefault",
false
],
[
"experimental-features-cookie-samesite-none-requires-secure2",
"network.cookie.sameSite.noneRequiresSecure",
false
],
[
"experimental-features-cookie-samesite-schemeful",
"network.cookie.sameSite.schemeful",
false
],
[
"experimental-features-css-constructable-stylesheets",
"layout.css.constructable-stylesheets.enabled",
false
],
[
"experimental-features-css-masonry2",
"layout.css.grid-template-masonry-value.enabled",
false
],
[
"experimental-features-devtools-compatibility-panel",
"devtools.inspector.compatibility.enabled",
false
],
[
"experimental-features-devtools-execution-context-selector",
"devtools.webconsole.input.context",
true
],
[
"experimental-features-devtools-serviceworker-debugger-support",
"devtools.debugger.features.windowless-service-workers",
false
],
[
"experimental-features-media-jxl",
"image.jxl.enabled",
false
],
[
"experimental-features-ime-search",
"browser.urlbar.keepPanelOpenDuringImeComposition",
false
],
[
"experimental-features-web-gpu2",
"dom.webgpu.enabled",
false
],
[
"experimental-features-webrtc-global-mute-toggles",
"privacy.webrtc.globalMuteToggles",
false
],
[
"experimental-features-win32k-lockdown",
"security.sandbox.content.win32k-disable",
false
]
],
"addons": [
{
"name": "Add-ons Search Detection",
"type": "extension",
"version": "2.0.0",
"isActive": true,
"id": "addons-search-detection@mozilla.com"
},
{
"name": "Amazon.com",
"type": "extension",
"version": "1.3",
"isActive": true,
"id": "amazondotcom@search.mozilla.org"
},
{
"name": "automaticDark - Time-Based Theme Changer",
"type": "extension",
"version": "1.4.0",
"isActive": true,
"id": "{9ed7d361-ccd9-4cad-9846-977da2651fb5}"
},
{
"name": "Bear Add-on",
"type": "extension",
"version": "1.7",
"isActive": true,
"id": "{f7a79864-c929-4350-b83e-f8be7ebb1102}"
},
{
"name": "Bing",
"type": "extension",
"version": "1.3",
"isActive": true,
"id": "bing@search.mozilla.org"
},
{
"name": "Bitwarden - Free Password Manager",
"type": "extension",
"version": "1.56.6",
"isActive": true,
"id": "{446900e4-71c2-419f-a6a7-df9c091e268b}"
},
{
"name": "DuckDuckGo",
"type": "extension",
"version": "1.1",
"isActive": true,
"id": "ddg@search.mozilla.org"
},
{
"name": "Finicky",
"type": "extension",
"version": "0.1",
"isActive": true,
"id": "{294f2459-f2cf-4ab1-a822-342896cf0326}"
},
{
"name": "Firefox Multi-Account Containers",
"type": "extension",
"version": "8.0.6",
"isActive": true,
"id": "@testpilot-containers"
},
{
"name": "Google",
"type": "extension",
"version": "1.1",
"isActive": true,
"id": "google@search.mozilla.org"
},
{
"name": "Grammar & Spell Checker — LanguageTool",
"type": "extension",
"version": "4.4.8",
"isActive": true,
"id": "languagetool-webextension@languagetool.org"
},
{
"name": "Startpage.com — Private Search Engine",
"type": "extension",
"version": "1.3.0",
"isActive": true,
"id": "{20fc2e06-e3e4-4b2b-812b-ab431220cada}"
},
{
"name": "uBlock Origin",
"type": "extension",
"version": "1.41.8",
"isActive": true,
"id": "uBlock0@raymondhill.net"
},
{
"name": "Wikipedia (en)",
"type": "extension",
"version": "1.1",
"isActive": true,
"id": "wikipedia@search.mozilla.org"
}
],
"features": [
{
"name": "DoH Roll-Out",
"version": "2.0.0",
"id": "doh-rollout@mozilla.org"
},
{
"name": "Firefox Screenshots",
"version": "39.0.1",
"id": "screenshots@mozilla.org"
},
{
"name": "Form Autofill",
"version": "1.0.1",
"id": "formautofill@mozilla.org"
},
{
"name": "Picture-In-Picture",
"version": "1.0.0",
"id": "pictureinpicture@mozilla.org"
},
{
"name": "Web Compatibility Interventions",
"version": "29.7.0",
"id": "webcompat@mozilla.org"
},
{
"name": "WebCompat Reporter",
"version": "1.4.2",
"id": "webcompat-reporter@mozilla.org"
}
],
"normandy": {
"addonStudies": [],
"prefRollouts": [
{
"slug": "bug-1690367-rollout-moving-webrtc-networking-functionality-into-i-release-87-100",
"state": "active",
"preferences": [
{
"preferenceName": "media.peerconnection.mtransport_process",
"value": true,
"previousValue": false
},
{
"preferenceName": "network.process.enabled",
"value": true,
"previousValue": false
}
],
"enrollmentId": "6928945e-c468-480e-be08-3a4676b78fdc"
}
],
"prefStudies": [
{
"slug": "bug-1727384-pref-impact-study-for-total-cookie-protection-tcp-release-91-95",
"actionName": "PreferenceExperimentAction",
"branch": "noop",
"expired": false,
"lastSeen": "2022-02-28T13:45:26.129Z",
"preferences": {
"browser.search.param.google_channel_us": {
"preferenceType": "string",
"preferenceValue": "nus5",
"preferenceBranchType": "default",
"previousPreferenceValue": null
},
"browser.search.param.google_channel_row": {
"preferenceType": "string",
"preferenceValue": "nrow5",
"preferenceBranchType": "default",
"previousPreferenceValue": null
}
},
"experimentType": "exp",
"userFacingName": "Impact study for Total Cookie Protection (TCP)",
"userFacingDescription": "This study is examining the effects of Total Cookie Protection (TCP).",
"enrollmentId": "b7fd6a3d-ce54-44dd-81de-603020173faa",
"temporaryErrorDeadline": null
}
],
"nimbusExperiments": [],
"nimbusRollouts": []
}
}

The Bugbug bot thinks this bug should belong to the 'Core::WebRTC: Audio/Video' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → WebRTC: Audio/Video
Product: Firefox → Core

Thanks georg for the detailed report! I'm not able to reproduce on my MBP. Does it reproduce for you here (please use headphones to avoid feedback)?

Flags: needinfo?(georg.hartmann)

Paul, any idea what is going on here?

Flags: needinfo?(padenot)

Also georg, do you happen to know if this used to work better in an earlier version of Firefox? If so, since I'm not able to reproduce here, if you would be able to run the MozRegression tool to find a regression range that would help narrow this down quickly.

(In reply to Jan-Ivar Bruaroey [:jib] (needinfo? me) from comment #3)

Thanks georg for the detailed report! I'm not able to reproduce on my MBP. Does it reproduce for you here (please use headphones to avoid feedback)?

Hey Jan, thanks for the response.
I am not able to repoduce via this jsfiddle. I quickly checked if anything changed with autoGainControl on and it didn't either

Flags: needinfo?(georg.hartmann)

(In reply to Jan-Ivar Bruaroey [:jib] (needinfo? me) from comment #5)

Also georg, do you happen to know if this used to work better in an earlier version of Firefox? If so, since I'm not able to reproduce here, if you would be able to run the MozRegression tool to find a regression range that would help narrow this down quickly.

I am pretty sure this is not new. I jumped back to firefox as my daily driver in January (don't remember the exact date) and had problems ever since. I initially blamed the os, but since then was able to figure out that it only reproduces in Firefox. I am using Brave for audio calls for now.

I hope to do the regression tonight

Georg, can you mention a couple websites on which this reproduces for you?

Flags: needinfo?(padenot) → needinfo?(georg.hartmann)

Additionally, what kind of microphone are you using? I have a branch locally where this is fixed (I'm pretty sure), hoping to get this landed in the next few days, if you could have a quick try (looks like it's just a couple of minutes for you), it would be amazing. I'll let you know.

(In reply to Paul Adenot (:padenot) from comment #8)

Georg, can you mention a couple websites on which this reproduces for you?

Sure:

  • the web version of google meet
  • the web version of zoom
  • the audio recorder of app.clickup.com
  • the audio recorder of the web version of slack
  • the recording I attached was done via https://online-voice-recorder.com/
Flags: needinfo?(georg.hartmann)

(In reply to Paul Adenot (:padenot) from comment #9)

Additionally, what kind of microphone are you using? I have a branch locally where this is fixed (I'm pretty sure), hoping to get this landed in the next few days, if you could have a quick try (looks like it's just a couple of minutes for you), it would be amazing. I'll let you know.

I am pretty sure it's totally microphone independent. I was able to reproduce with:

  • The internal macbook microphone
  • bose QC 2 microphone connected via bluetooth
  • An external microphone connected via USB

They all have in common that performance degrades around 40s into use and resets after I switch the system microphone, independently from which to which source I switch. The switching itself seems to cause the reset in quality.

Sure, very happy to test whenever you got a fix ready

Hey, I tried to do the regression, but whichever version I build, the executable crashes on use of the microphone 😥

You're not supposed to build anything, we have everything already built for you in a nice set of programs, see https://mozilla.github.io/mozregression/.

I'm still working on the fix, lots of moving pieces, sorry about that.

I am using mozregression. I assumed it builds locally, but now I understand it just downloads the prebuilt executables. Still, the versions of firefox I ran with it all crash on microphone activation.

No worries, as I have a mitigation by using another browser for audio, I don't need a quick fix. Thanks for working on it!

Assignee: nobody → padenot
Severity: -- → S1
Priority: -- → P1

Rejecting tracking for 99 as there are not many duplicates/reports.
Setting to Won't Fix for 99 as it's late in the beta cycle.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE

This should be fixed in tomorrow's Firefox Nightly, please follow up in bug 1739505 which is the main bug for this.

Hey,
I just repeated the same test on https://online-voice-recorder.com with firefox nightly 100.0a1 (2022-03-24).
Unfortunately, I don't hear any improvement. The moment and kind of degradation seem exactly the same to me as before.

The only change I can detect in firefox nightly is that switching audio input no longer "resets" the distortion as before.

What device are you using for input/output when recording this ?

Flags: needinfo?(georg.hartmann)

Still broken regardless of the device?

Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---

Would you mind recording a profile (instructions here in video and text: https://blog.paul.cx/post/profiling-firefox-real-time-media-workloads/#the-new-solution, it's really really simple) of more or less the same scenario you do when you record the files you attached here?

I've received an M1 Max yesterday, and audio is perfectly clear whenever I use https://online-voice-recorder.com or anything else that uses the mic, and so is on all other M1 or x86 macs I've tested (apart from the issue fixed in bug 1739505), so I'm trying to figure out what's off here.

(In reply to Paul Adenot (:padenot) from comment #23)

Would you mind recording a profile (instructions here in video and text: https://blog.paul.cx/post/profiling-firefox-real-time-media-workloads/#the-new-solution, it's really really simple) of more or less the same scenario you do when you record the files you attached here?

I've received an M1 Max yesterday, and audio is perfectly clear whenever I use https://online-voice-recorder.com or anything else that uses the mic, and so is on all other M1 or x86 macs I've tested (apart from the issue fixed in bug 1739505), so I'm trying to figure out what's off here.

Absolutely. This is the profile: https://share.firefox.dev/388dN4o
I will also attach the exact audio file I recorded while capturing the profile.

Best

Flags: needinfo?(georg.hartmann)

Georg, this is not a media profile, this is a regular profile, so unfortunately the profiler didn't profile the threads I need to diagnose this, make sure to select "Media" in the dropdown.

We're in the process of making additional fixes to the input/output audio handling, should be ready by tomorrow or so.

Flags: needinfo?(georg.hartmann)

Paul, could we revisit the priority on this? Doesn't seems to be a valid P1.

Flags: needinfo?(padenot)

Downgrading because afaik this only affects one person (unlike the other bug), but we'll get this fixed anyways.

Severity: S1 → S3
Flags: needinfo?(padenot)
Priority: P2 → --

(In reply to Paul Adenot (:padenot) from comment #28)

Downgrading because afaik this only affects one person (unlike the other bug), but we'll get this fixed anyways.

Thank you very much.

We're in the process of making additional fixes to the input/output audio handling, should be ready by tomorrow or so.
So I should repeat the profiling process, wth the media preset this time, in Firefox Nightly, right?

Flags: needinfo?(georg.hartmann)
Depends on: 1762036

Hi georg, do you have a device that shows "X ins / Y outs" in "Audio MIDI Setup", where X and Y is not zero (e.g., my Plantronics. Audio 628 USB headset shows "2 ins / 2 outs")? If you have this kind of device, can you still hear the noise if you set it to your "system default output device" and choose it as the microphone? Can you test the audio on the website below?

  1. https://webrtc.github.io/samples/src/content/devices/input-output/
  2. https://webrtc.github.io/samples/src/content/getusermedia/audio/
    (You can find more on https://webrtc.github.io/samples/)

We will do some custom settings if input and output are from different devices on "Audio MIDI Setup", e.g. my Bose QC 35 II shows "1 ins / 0 outs" and "0 ins / 2 outs", or my MacBook Pro has "0 ins / 2 outs" built-in speaker and "1 ins / 0 outs" built-in microphone. I am trying to figure out if the problem is caused by our custom settings or not.

Flags: needinfo?(georg.hartmann)

Hey,
I do have the QC 35 II and they show up as you describe in the Audio Midi Setup: "1 ins / 0 outs" and "0 ins / 2 outs"

It indeed seems like the noise appearing is associated to the output device, no the input device.
I just tested on the https://webrtc.github.io/samples/src/content/devices/input-output/ website.
If I output to the QC 35 II, the noise starts appearing like before, around 50 seconds from the start of the use of the microphone.
It happens with both microphones, both internal and of the QC 35 II, but only if I output to the speakers of the headphones.

I can only reproduce this in Firefox, btw. The same is not true eg in Brave Browser.

Flags: needinfo?(georg.hartmann)
Blocks: 1791995

Hey Georg, curious are you still running into this issue?

Flags: needinfo?(georg.hartmann)

For follow up

Flags: needinfo?(cchang)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:jib, since the bug has recent activity, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(georg.hartmann) → needinfo?(jib)

Hey Georg, can you tell us if this has been fixed now?

Flags: needinfo?(jib) → needinfo?(georg.hartmann)

If not, I've finally landed a way to get logs for this and share them easily, here's how it works:

  • Navigate to https://profiler.firefox.com, click the button to enable the profiler button, select the preset called "Media"
  • Reproduce this, on Firefox Nightly (for now, this will be available everywhere in a few weeks)
  • While the audio is bad, open a new tab, navigate to about:networking, click on the Logging tab on the left, and put cubeb:5 in the box Current Log Modules, click the button Set log modules
  • Take a profile, by clicking the profiler icon
  • After some time (say, 10s, with bad audio), click the profiler button again to end profiling, and capture the profile
  • After some time, this will open a new tab with the Firefox Profiler interface, click share on the top-right, make sure to include hidden threads (it's enabled by default), and share the URL here (or privately at <padenot@mozilla.com>, there is a way to download the profile, to e.g. attach it to an email).

Some people prefer videos, so I've recorded a screencast of the procedure here: https://paul.cx/public/cubeb-logging.webm, it's a bit longer than a minute and shows the procedure on https://mozilla.github.io/webrtc-landing/gum_test.html, which is a very simple website similar to the https://webrtc.github.io links above, but please use any website on which you can reproduce the issue.

Hey Paul, Jan,

I downloaded the latest Nightly. Unfortunately, the issue is still there. Still, for me it only happens in firefox, and only with either input or output device being different from the built-in ones (macbook mic or speakers).

I tried to follow all the steps to the point. Please let me know if it worked: https://share.firefox.dev/3CYAyVh

Thanks for still trying to fix this.

Best
G

Flags: needinfo?(georg.hartmann)

It worked well, but I don't see much in the logs, unfortunately.

Hi,
I'm facing this exact same issue on my MBA as well.

FF is my daily driver for years. Right now, I've 2 macs :

  • My old MBP A1989 (Core i5 - 16 GB)
  • My new MBA A2337 (M1 - 16 GB)

Both runs Ventura 13.0.1 and FF107-64. My headset is an AirPod Max.

I'm facing the problem with Google Meet ran within FF. The colleagues hear me with a continuously degrading audio quality. I can change the microphone, sometimes this fixes the problem sometimes not.

Seems to work great through Chrome, but I don't want to use it.

As I've the 2 macs, I can make some comparison testing, just give me the instructions to help you.

Thanks.

Sorry, I forgot to say, the problem never happened on the MBP, it happens only on the MBA, but all the times.

I have the exact issue with Macbook Pro Max M1 (64 GB). Running Ventura 13.0.1.

Problem only happens with Firefox. Currently using 108.0b8 (64-bit).

Problem doesn't seem to happen with Chrome, Slack or any other application.

The microphone works for a moment and then starts crackling and popping and is unusable.

It seems the problem gets fixex momentarily by switching from the Macbook internal microphone to a separate microphone but if you switch back to the Macbook microphone the problem reappears quickly.

I would also like to use Firefox as my main browser and the Macbook Pro microphone because it's superior to for example headphone microphones.

I'm gonna try updating the Developer Edition and report back.

I can confirm it still happens with Firefox Developer Edition 108.0b9 and Google meet.

As of Firefox 108.0.2, I can no longer reproduce this bug.

I have not tested in a while, so it might have been fixed in previous versions!

Status: REOPENED → RESOLVED
Closed: 3 years ago2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: