mediarecorder.log

getVoiceRecorder(id).log() (since PennController 1.8)

Will add a line whenever a recording starts and whenever it stops.

Note that a line with the filename of the recorded sample is always logged anyway even if you do not call .log(), so you can identify it in the output archive.

[js highlight=”2″]newMediaRecorder(“recorder”)
.log()
.print()
.wait()
[/js]

Adds a media player and a recording button to the page and waits for a sample to be recorded. The filename will contain the timestamps of when the recording button was clicked: one line for the first click (starts recording) and one for the second click (stops recording).

Published by Jeremy

Researcher in semantics and pragmatics; Programmer of PennController for IBEX