HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
w3c
mediacapture-record
Bikeshed2018–2022
w3c / mediacapture-record

mediacapture-record

MediaStream Recording

2Distinct people
3Mentions
0Explicit recommenders
113GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

MediaStream Recording

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year3 dated mentions

Observed mentions: 2018-10-24 10:21:28 UTC to 2022-04-12 18:13:23 UTC.

012018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101

What Hacker News says

3 sources
The MiniDV analogy is a really good one for explaining how MediaRecorder works, but also a good one to explain why it is a poorly designed API. The video needs to be stored for its consumption, like any video, in a container format (like MP4 or Matroska) and these formats more often than not, require to revise what was initially written and rewrite some chunks when the recording has finished up. (I'm talking here about e.g. metadata that goes at the beginning of the file but the actual values cannot be known until the file is complete) I wonder how you guys at Mux handle this limitation of the API; do you store the recorded videos at all on file? You would think an API meant to generate some type of video, would be ready to properly do it, right? Or as someone put in a way that made me laugh (from the Chrome bug report, linked below at [1
Read the rest
]), > I don't think any developer out here would ever mark a broken piece of code as "won't fix" The reality is that everybody looks away. Chrome produces broken files [1] that are not seekable, and when asked about it they shrug and say that the spec itself is meant to be that way, and that you should use an external tool to fix the files (which is also broken for that use case! so not really a solution at all [2]). Firefox has the same problem but doesn't look like they progressed much either [3]. Meanwhile, yeah the spec is as it is and the issue as of today seems to be open [4]. So be aware of this flaw if you'll be intending to use MediaRecorder to actually store your videos into file (which seems quite reasonable that anyone would do) [1] https://bugs.chromium.org/p/chromium/issues/detail?id=642012 [2] https://trac.ffmpeg.org/ticket/6386 [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1283464 [4] https://github.com/w3c/mediacapture-record/issues/119
In The skater punk’s guide to MediaRecorder
I guess this could be used to remux the broken files that are spitted by the MediaRecorder API, which have missing metadata that prevents from seeking and thus far has been ignored / sweeped away in Chrome [1], Firefox [2], and even the standard itself [3], which ignored in its design the basic fact that encoding any file should include a "closing" stage (where metadata is written) before yielding it as a finished file. [1]: https://bugs.chromium.org/p/chromium/issues/detail?id=642012 [2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1283464 [3]: https://github.com/w3c/mediacapture-record/issues/119
In FFmpeg for browser and Node, powered by WebAssembly
In general async executions really are big sources of race conditions in single threaded program. JS avoids this problem by blocking/queuing tasks until the current task is done but this is not the case in most lower-level environments. 1. Reentrancy. Flow of tasks can be interrupted by hardware interrupts and OS signals. In that case race conditions can happen by interrupt handlers. Bare metal embedded system programmers often have big headaches because of this. 2. JS implementations and JS API design can have race condition bugs. So JS API designers have to consider it. One of example is because of the order of queuing tasks/handlers. [1] [1]: https://github.com/w3c/mediacapture-record/issues/150#issuec...
In Timercpp: JavaScript-like setTimeout and setInterval for C++

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.