Mediarecorder fails to emit data a regular invervals when recording video with a timeslice smaller than 1000 ms
Categories
(Core :: Audio/Video: Recording, defect, P3)
Tracking
()
People
(Reporter: john357smith, Unassigned)
References
(Regression)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.94 Safari/537.36
Steps to reproduce:
- Start Mediarecorder.Start() with timeslice smaller than 1000 ms (e.g. 200).
- Wait for ondataavailable event
- Check whether there are available data in each event.
Actual results:
Data are available only afer 1 second (1000ms) or more.
Expected results:
Data are available in each ondataavailable event.
Such a inconsistent behaviour has been already fixed with patch for https://bugzilla.mozilla.org/show_bug.cgi?id=1411857 but it seems with patch below there is a similar problem:
A check was added to limit key frame interval to be not smaller than 1 sec.
Hi john357smith,
Thank you for your report.
While I'm unable to try the steps on my end, I'll add a product and component to this ticket.
In the meantime, can you please confirm that you are able to reproduce this issue in the latest Firefox Nightly?
-
You can download Nightly from here: https://nightly.mozilla.org/ and retest the problem.
-
If you still have the issue please create a new profile, you have the steps here: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager
-
Also, please confirm if this problem is reproduced on other browsers, like chrome, internet explorer.
Audio/Video: Recording team: this issue seems to be similar to https://bugzilla.mozilla.org/show_bug.cgi?id=1411857.
Thanks!
Virginia
Reporter | ||
Comment 2•4 years ago
|
||
Hi Virginia,
yes I can confirm that bug is still there even with the latest Firefox NIghtly (installed, standalone windows 7 installation, all profiles completely wiped out).
And yes, this is just only Firefox problem no such problem exists in Chrome based browsers.
Thanks.
Comment 3•4 years ago
|
||
Hi Bryce, this is possibly a regression (or maybe just expected behaviour) from Bug 1514158. With Andreas out, could you please have a quick look at triaging this? Thanks!
Updated•4 years ago
|
Expanding upon comment 0, the issue appears specific to recorders that are encoding video, which is consistent with the change linked there.
STR:
- Navigate to https://codepen.io/SingingTree/pen/dyPVQvy with a webcam
- Allow access
- Observe the console to see that various data event are empty
Updated•4 years ago
|
It sounds like args > 1000ms should also be checked to ensure they're working, per bug 1666487.
Comment 7•4 years ago
|
||
Sorry, I disagree per bug 1666487 comment 2.
Updated•4 years ago
|
Updated•2 years ago
|
Description
•