A recording dialog: Record, Stop, then Insert. While it records, a meter
shows the level and a timer the length; the levels it samples become the
recording's waveform. Resolves with the recording, or null when cancelled.
It asks for the microphone only when Record is pressed, and hands it back
as soon as the recording stops, so the browser's recording indicator is
on no longer than it has to be.
A recording dialog: Record, Stop, then Insert. While it records, a meter shows the level and a timer the length; the levels it samples become the recording's waveform. Resolves with the recording, or null when cancelled.
It asks for the microphone only when Record is pressed, and hands it back as soon as the recording stops, so the browser's recording indicator is on no longer than it has to be.