Media.RecorderSourceMedia recorder.
See the MediaStream Recording API.
Bitrate mode enumeration.
Recording state enumeration.
is_type_supported t is true if recording to MIME type t is supported.
The type for initialisation objects.
val init :
?type':Jstr.t ->
?audio_bps:int ->
?video_bps:int ->
?bps:int ->
?audio_bitrate_mode:Bitrate_mode.t ->
unit ->
initinit () is a media recorder initialisation object with given parameters.
The type for MediaRecorder objects.
state r is the recording state of r.
video_bps r is the video encoding bit rate of s.
audio_bps r is the audio encoding bit rate of s.
audio_bps r is the audio encoding mode of s.
start r ~timeslice_ms starts r. timeslice_ms indicates the number of milliseconds to record in each blob. If not specified the whole duration is in a single blob, unless request_data is invoked to drive the process.