Closed Bug 1042725 Opened 10 years ago Closed 10 years ago

getUserMedia: Sample rate in Mozilla Firefox is low

Categories

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

30 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 953265

People

(Reporter: rainerrillke, Unassigned)

Details

Attachments

(4 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140605174243

Steps to reproduce:

0. Plug-In a good microphone allowing sample rates of 44100 Hz.
1. Go to http://tools.wmflabs.org/rillke/prg/test.html using Firefox and Chrome. Do the same simultaneously for both browsers.
2. Press "Request Mic Access"
3. Press "Record"
4. Say something with a hard "s" in it.
5. Press "Stop recording"
6. Press "Append Player"
7. Listen to both samples (on Firefox and on Chrome).

This page is utilizing https://github.com/mattdiamond/Recorderjs -- you should be able reproducing the issue on other pages.


Actual results:

Mozilla Firefox samples the signal down, though still claiming recording with a sample rate of 48000Hz (context.sampleRate). Listening to a recording created with Chrome and compare them with Firefox, the difference is manifest. Chrome records with the quality I am used from using native recording tools.


Expected results:

Mozilla Firefox should allow recording with 44100 Hz.
Component: Untriaged → Video/Audio: Recording
Product: Firefox → Core
Change to WebAudio component because the test step don't invoke the MediaRecorder API.
Component: Video/Audio: Recording → Web Audio
Component: Web Audio → WebRTC: Audio/Video
Summary: AudioContext: Sample rate in Mozilla Firefox is low → getUserMedia: Sample rate in Mozilla Firefox is low
I'm noticing this too. If I play a sound with a higher frequency, it does not show up in the resulting data.
First target is 32KHz right now; 44100/48000 ('natural' system frequency) preferred to minimize resamples.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: