Closed
Bug 902318
Opened 12 years ago
Closed 12 years ago
Media Recording - Calling start() and stop() in fast succession fails to fire ondataavailable & onstop events
Categories
(Core :: Audio/Video: Recording, defect)
Core
Audio/Video: Recording
Tracking
()
VERIFIED
FIXED
mozilla26
People
(Reporter: jsmith, Assigned: rlin)
References
Details
(Whiteboard: [FT: Media Recording, Sprint])
STR
1. Apply the patch from https://bug899878.bugzilla.mozilla.org/attachment.cgi?id=786738
2. Run the mochitest
Expected
ondataavailable & onstop should fire in succession.
Actual
ondataavailable & onstop fail to fire.
Reporter | ||
Updated•12 years ago
|
Blocks: MediaRecording
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → rlin
Reporter | ||
Comment 1•12 years ago
|
||
Hmm...I'm now debating what the right behavior here is.
So in this scenario I've called stop() right after calling start(), which likely implies we've generated no data in the blob from recording. Does that imply that ondataavailable should still fire, except with a blob size of zero?
Flags: needinfo?(roc)
According to the spec, we should fire an event with a blob size of zero, yes. We might as well do that, it's a bit more predictable.
Flags: needinfo?(roc)
Updated•12 years ago
|
Whiteboard: [FT: Media Recording, Sprint]
Reporter | ||
Comment 4•12 years ago
|
||
Fixed by the dependency. This is confirmed fixed with the mochitest included.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
Target Milestone: --- → mozilla26
Updated•11 years ago
|
Component: Video/Audio → Video/Audio: Recording
Reporter | ||
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
•