Closed
Bug 897895
Opened 12 years ago
Closed 12 years ago
MediaRecorder - The recorded sound is incorrect when recording the mediaStream generated from AudioContext
Categories
(Core :: Audio/Video: Recording, defect)
Core
Audio/Video: Recording
Tracking
()
Tracking | Status | |
---|---|---|
firefox26 | --- | verified |
People
(Reporter: rlin, Assigned: shelly)
References
Details
(Whiteboard: [FT: Media Recording, Sprint 2])
Attachments
(1 file)
1.15 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
I found the recording sound is incorrect when use the AudioContext to generate an 1k tone.
The audio sounds like zzzzzz, not like the original one.
Test page is http://people.mozilla.com/~rlin/MediaRecorder.html
1. click getAudioContext, you will hear 1k tone from speaker.
2. start
3. stop
4. playbackfromMemoery, the sound is incorrect.
Reporter | ||
Updated•12 years ago
|
Depends on: MediaRecording
Reporter | ||
Updated•12 years ago
|
Blocks: MediaRecording
No longer depends on: MediaRecording
Updated•12 years ago
|
blocking-b2g: --- → koi+
Whiteboard: [FT: Media Recording, Sprint 2]
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → slin
Assignee | ||
Comment 1•12 years ago
|
||
In the process of interleaving raw data to pcm buffer, the calculation of pcm buffer's offset is previously wrong. It just happened to be correct with audio source that has only one channel.
This fix should correct the calculation.
Attachment #789993 -
Flags: review?(roc)
Assignee | ||
Comment 2•12 years ago
|
||
Observe that AudioContext generates an audio source with two channels and sampling rate at 48K.
Attachment #789993 -
Flags: review?(roc) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Try server result:
https://tbpl.mozilla.org/?tree=Try&rev=8b6f972eb359
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 5•12 years ago
|
||
Keywords: checkin-needed
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Comment 7•12 years ago
|
||
Marking verified per the dupe's testing.
Status: RESOLVED → VERIFIED
Keywords: verifyme
Updated•12 years ago
|
status-firefox26:
--- → fixed
Comment 8•12 years ago
|
||
Verified on Aurora 26.0a2 (buildID: 20131011004001).
Updated•11 years ago
|
Component: Video/Audio → Video/Audio: Recording
Updated•11 years ago
|
No longer blocks: MediaRecording
You need to log in
before you can comment on or make changes to this bug.
Description
•