The MediaRecorder interface of the MediaStream Recording API functionality to easily record media. It is created using the constructor.
The MediaRecorder interface of the MediaStream Recording API functionality to easily record media. It is created using the constructor.
(audio-bits-per-second this)
Property.
The audioBitsPerSecond read-only property of the web.audio.MediaRecorder
returns the audio encoding bit rate in use.
var audioBitsPerSecond = MediaRecorder.audioBitsPerSecond
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/audioBitsPerSecond
Property. The audioBitsPerSecond read-only property of the `web.audio.MediaRecorder` returns the audio encoding bit rate in use. `var audioBitsPerSecond = MediaRecorder.audioBitsPerSecond` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/audioBitsPerSecond`
Constructor.
The MediaRecorder() constructor creates a new web.audio.MediaRecorder
object that will record a specified web.streams.MediaStream
.
stream
The web.streams.MediaStream
that will be recorded. This source media can come from a stream created using navigator.mediaDevices.getUserMedia()
or from an <audio>
, <video>
or <canvas>
element.
options Optional
A dictionary object that can contain the following properties:
mimeType: A MIME type specifying the format for the resulting media; you may simply specify the container format (the browser will select its preferred codecs for audio and/or video), or you may codecs
and/or the profiles parameter to provide detailed information about which codecs to use and how to configure them. Applications can check in advance if a mimeType is supported by the user agent by calling MediaRecorder.isTypeSupported()
.
audioBitsPerSecond: The chosen bitrate for the audio component of the media.
videoBitsPerSecond: The chosen bitrate for the video component of the media.
bitsPerSecond: The chosen bitrate for the audio and video components of the media. This can be specified instead of the above two properties. If this is specified along with one or the other of the above properties, this will be used for the one that isn't specified.
If bits per second values are not specified for video and/or audio, the default adopted for video is 2.5Mbps, while the audio default is adaptive, depending upon the sample rate and the number of channels.
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder
Constructor. The MediaRecorder() constructor creates a new `web.audio.MediaRecorder` object that will record a specified `web.streams.MediaStream`. stream The `web.streams.MediaStream` that will be recorded. This source media can come from a stream created using `navigator.mediaDevices.getUserMedia()` or from an `<audio>`, `<video>` or `<canvas>` element. options Optional A dictionary object that can contain the following properties: mimeType: A MIME type specifying the format for the resulting media; you may simply specify the container format (the browser will select its preferred codecs for audio and/or video), or you may `codecs` and/or the profiles parameter to provide detailed information about which codecs to use and how to configure them. Applications can check in advance if a mimeType is supported by the user agent by calling `MediaRecorder.isTypeSupported()`. audioBitsPerSecond: The chosen bitrate for the audio component of the media. videoBitsPerSecond: The chosen bitrate for the video component of the media. bitsPerSecond: The chosen bitrate for the audio and video components of the media. This can be specified instead of the above two properties. If this is specified along with one or the other of the above properties, this will be used for the one that isn't specified. If bits per second values are not specified for video and/or audio, the default adopted for video is 2.5Mbps, while the audio default is adaptive, depending upon the sample rate and the number of channels. See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder`
(ignore-muted-media this)
Property.
The ignoreMutedMedia property of the web.audio.MediaRecorder
indicates whether the MediaRecorder instance will record input,
the input MediaStreamTrack is muted.
var boolean = MediaRecorder.ignoreMutedMedia MediaRecorder.ignoreMutedMedia = boolean
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ignoreMutedMedia
Property. The ignoreMutedMedia property of the `web.audio.MediaRecorder` indicates whether the MediaRecorder instance will record input, the input MediaStreamTrack is muted. `var boolean = MediaRecorder.ignoreMutedMedia MediaRecorder.ignoreMutedMedia = boolean` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ignoreMutedMedia`
(is-type-supported this mime-type)
Method.
The MediaRecorder.isTypeSupported() static method returns a Boolean is true if the MIME type specified is one the user agent should able to successfully record.
var canRecord = MediaRecorder.isTypeSupported(mimeType)
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/isTypeSupported
Method. The MediaRecorder.isTypeSupported() static method returns a Boolean is true if the MIME type specified is one the user agent should able to successfully record. `var canRecord = MediaRecorder.isTypeSupported(mimeType)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/isTypeSupported`
(mime-type this)
Property.
The mimeType read-only property returns the MIME media type that
specified when creating the web.audio.MediaRecorder
object,
if none was specified, which was chosen by the browser.
var mimeType = mediaRecorder.mimeType
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/mimeType
Property. The mimeType read-only property returns the MIME media type that specified when creating the `web.audio.MediaRecorder` object, if none was specified, which was chosen by the browser. `var mimeType = mediaRecorder.mimeType` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/mimeType`
(ondataavailable this)
Property.
The MediaRecorder.ondataavailable event handler (part of the
Recording API) handles the dataavailable event, letting you run
in response to web.files.Blob
data being made available for
MediaRecorder.ondataavailable = function(event) { ... } MediaRecorder.addEventListener('dataavailable', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ondataavailable
Property. The MediaRecorder.ondataavailable event handler (part of the Recording API) handles the dataavailable event, letting you run in response to `web.files.Blob` data being made available for `MediaRecorder.ondataavailable = function(event) { ... } MediaRecorder.addEventListener('dataavailable', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ondataavailable`
(onerror this)
Property.
The web.audio.MediaRecorder
interface's onerror event handler
called by the MediaStream Recording API when an error occurs.
can provide an event handler to deal with errors that occur while
or using a media recorder
MediaRecorder.onerror = errorHandlerFunction;
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onerror
Property. The `web.audio.MediaRecorder` interface's onerror event handler called by the MediaStream Recording API when an error occurs. can provide an event handler to deal with errors that occur while or using a media recorder `MediaRecorder.onerror = errorHandlerFunction;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onerror`
(onpause this)
Property.
The MediaRecorder.onpause event handler (part of the MediaRecorder handles the pause event, allowing you to run code in response the media recording being paused.
MediaRecorder.onpause = function(event) { ... } MediaRecorder.addEventListener('pause', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onpause
Property. The MediaRecorder.onpause event handler (part of the MediaRecorder handles the pause event, allowing you to run code in response the media recording being paused. `MediaRecorder.onpause = function(event) { ... } MediaRecorder.addEventListener('pause', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onpause`
(onresume this)
Property.
The MediaRecorder.onresume event handler (part of the MediaRecorder handles the resume event, allowing you to run code in response the media recording being resumed after pausing.
MediaRecorder.onresume = function(event) { ... } MediaRecorder.addEventListener('resume', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onresume
Property. The MediaRecorder.onresume event handler (part of the MediaRecorder handles the resume event, allowing you to run code in response the media recording being resumed after pausing. `MediaRecorder.onresume = function(event) { ... } MediaRecorder.addEventListener('resume', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onresume`
(onstart this)
Property.
The MediaRecorder.onstartevent handler (part of the MediaRecorder handles the start event, allowing you to run code in response media recording being started by a MediaRecorder.
MediaRecorder.onstart = function(event) { ... } MediaRecorder.addEventListener('start', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstart
Property. The MediaRecorder.onstartevent handler (part of the MediaRecorder handles the start event, allowing you to run code in response media recording being started by a MediaRecorder. `MediaRecorder.onstart = function(event) { ... } MediaRecorder.addEventListener('start', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstart`
(onstop this)
Property.
The MediaRecorder.onstop event handler (part of the MediaRecorder handles the stop event, allowing you to run code in response media recording via a MediaRecorder being stopped.
MediaRecorder.onstop = function(event) { ... } MediaRecorder.addEventListener('stop', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstop
Property. The MediaRecorder.onstop event handler (part of the MediaRecorder handles the stop event, allowing you to run code in response media recording via a MediaRecorder being stopped. `MediaRecorder.onstop = function(event) { ... } MediaRecorder.addEventListener('stop', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstop`
(onwarning this)
Property.
The MediaRecorder.onwarning event handler (part of the MediaRecorder handles the recordingwarning event, allowing you to run code response to non-fatal errors being thrown during media recording a MediaRecorder, which don't halt recording.
MediaRecorder.onwarning = function(event) { ... } MediaRecorder.addEventListener('warning', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onwarning
Property. The MediaRecorder.onwarning event handler (part of the MediaRecorder handles the recordingwarning event, allowing you to run code response to non-fatal errors being thrown during media recording a MediaRecorder, which don't halt recording. `MediaRecorder.onwarning = function(event) { ... } MediaRecorder.addEventListener('warning', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onwarning`
(pause this)
Method.
The Media.pause() method (part of the MediaRecorder API) is used pause recording of media streams.
MediaRecorder.pause()
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/pause
Method. The Media.pause() method (part of the MediaRecorder API) is used pause recording of media streams. `MediaRecorder.pause()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/pause`
(request-data this)
Method.
The MediaRecorder.requestData() method (part of the MediaRecorder
is used to raise a dataavailable
event containing a web.files.Blob
of the captured media as it was when the method was called.
MediaRecorder.requestData()
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/requestData
Method. The MediaRecorder.requestData() method (part of the MediaRecorder is used to raise a `dataavailable` event containing a `web.files.Blob` of the captured media as it was when the method was called. `MediaRecorder.requestData()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/requestData`
(resume this)
Method.
The MediaRecorder.resume() method (part of the MediaRecorder is used to resume media recording when it has been previously
MediaRecorder.resume()
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/resume
Method. The MediaRecorder.resume() method (part of the MediaRecorder is used to resume media recording when it has been previously `MediaRecorder.resume()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/resume`
(set-audio-bits-per-second! this val)
Property.
The audioBitsPerSecond read-only property of the web.audio.MediaRecorder
returns the audio encoding bit rate in use.
var audioBitsPerSecond = MediaRecorder.audioBitsPerSecond
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/audioBitsPerSecond
Property. The audioBitsPerSecond read-only property of the `web.audio.MediaRecorder` returns the audio encoding bit rate in use. `var audioBitsPerSecond = MediaRecorder.audioBitsPerSecond` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/audioBitsPerSecond`
(set-ignore-muted-media! this val)
Property.
The ignoreMutedMedia property of the web.audio.MediaRecorder
indicates whether the MediaRecorder instance will record input,
the input MediaStreamTrack is muted.
var boolean = MediaRecorder.ignoreMutedMedia MediaRecorder.ignoreMutedMedia = boolean
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ignoreMutedMedia
Property. The ignoreMutedMedia property of the `web.audio.MediaRecorder` indicates whether the MediaRecorder instance will record input, the input MediaStreamTrack is muted. `var boolean = MediaRecorder.ignoreMutedMedia MediaRecorder.ignoreMutedMedia = boolean` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ignoreMutedMedia`
(set-mime-type! this val)
Property.
The mimeType read-only property returns the MIME media type that
specified when creating the web.audio.MediaRecorder
object,
if none was specified, which was chosen by the browser.
var mimeType = mediaRecorder.mimeType
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/mimeType
Property. The mimeType read-only property returns the MIME media type that specified when creating the `web.audio.MediaRecorder` object, if none was specified, which was chosen by the browser. `var mimeType = mediaRecorder.mimeType` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/mimeType`
(set-ondataavailable! this val)
Property.
The MediaRecorder.ondataavailable event handler (part of the
Recording API) handles the dataavailable event, letting you run
in response to web.files.Blob
data being made available for
MediaRecorder.ondataavailable = function(event) { ... } MediaRecorder.addEventListener('dataavailable', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ondataavailable
Property. The MediaRecorder.ondataavailable event handler (part of the Recording API) handles the dataavailable event, letting you run in response to `web.files.Blob` data being made available for `MediaRecorder.ondataavailable = function(event) { ... } MediaRecorder.addEventListener('dataavailable', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/ondataavailable`
(set-onerror! this val)
Property.
The web.audio.MediaRecorder
interface's onerror event handler
called by the MediaStream Recording API when an error occurs.
can provide an event handler to deal with errors that occur while
or using a media recorder
MediaRecorder.onerror = errorHandlerFunction;
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onerror
Property. The `web.audio.MediaRecorder` interface's onerror event handler called by the MediaStream Recording API when an error occurs. can provide an event handler to deal with errors that occur while or using a media recorder `MediaRecorder.onerror = errorHandlerFunction;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onerror`
(set-onpause! this val)
Property.
The MediaRecorder.onpause event handler (part of the MediaRecorder handles the pause event, allowing you to run code in response the media recording being paused.
MediaRecorder.onpause = function(event) { ... } MediaRecorder.addEventListener('pause', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onpause
Property. The MediaRecorder.onpause event handler (part of the MediaRecorder handles the pause event, allowing you to run code in response the media recording being paused. `MediaRecorder.onpause = function(event) { ... } MediaRecorder.addEventListener('pause', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onpause`
(set-onresume! this val)
Property.
The MediaRecorder.onresume event handler (part of the MediaRecorder handles the resume event, allowing you to run code in response the media recording being resumed after pausing.
MediaRecorder.onresume = function(event) { ... } MediaRecorder.addEventListener('resume', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onresume
Property. The MediaRecorder.onresume event handler (part of the MediaRecorder handles the resume event, allowing you to run code in response the media recording being resumed after pausing. `MediaRecorder.onresume = function(event) { ... } MediaRecorder.addEventListener('resume', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onresume`
(set-onstart! this val)
Property.
The MediaRecorder.onstartevent handler (part of the MediaRecorder handles the start event, allowing you to run code in response media recording being started by a MediaRecorder.
MediaRecorder.onstart = function(event) { ... } MediaRecorder.addEventListener('start', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstart
Property. The MediaRecorder.onstartevent handler (part of the MediaRecorder handles the start event, allowing you to run code in response media recording being started by a MediaRecorder. `MediaRecorder.onstart = function(event) { ... } MediaRecorder.addEventListener('start', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstart`
(set-onstop! this val)
Property.
The MediaRecorder.onstop event handler (part of the MediaRecorder handles the stop event, allowing you to run code in response media recording via a MediaRecorder being stopped.
MediaRecorder.onstop = function(event) { ... } MediaRecorder.addEventListener('stop', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstop
Property. The MediaRecorder.onstop event handler (part of the MediaRecorder handles the stop event, allowing you to run code in response media recording via a MediaRecorder being stopped. `MediaRecorder.onstop = function(event) { ... } MediaRecorder.addEventListener('stop', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onstop`
(set-onwarning! this val)
Property.
The MediaRecorder.onwarning event handler (part of the MediaRecorder handles the recordingwarning event, allowing you to run code response to non-fatal errors being thrown during media recording a MediaRecorder, which don't halt recording.
MediaRecorder.onwarning = function(event) { ... } MediaRecorder.addEventListener('warning', function(event) { ... })
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onwarning
Property. The MediaRecorder.onwarning event handler (part of the MediaRecorder handles the recordingwarning event, allowing you to run code response to non-fatal errors being thrown during media recording a MediaRecorder, which don't halt recording. `MediaRecorder.onwarning = function(event) { ... } MediaRecorder.addEventListener('warning', function(event) { ... })` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/onwarning`
(set-state! this val)
Property.
The MediaRecorder.state read-only property returns the current of the current MediaRecorder object.
var state = MediaRecorder.state
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/state
Property. The MediaRecorder.state read-only property returns the current of the current MediaRecorder object. `var state = MediaRecorder.state` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/state`
(set-stream! this val)
Property.
The MediaRecorder.stream read-only property returns the stream was passed into the MediaRecorder() constructor when the MediaRecorder created.
var stream = MediaRecorder.stream
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stream
Property. The MediaRecorder.stream read-only property returns the stream was passed into the MediaRecorder() constructor when the MediaRecorder created. `var stream = MediaRecorder.stream` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stream`
(start this timeslice)
Method.
The web.audio.MediaRecorder
method start(), which is part of
MediaStream Recording API, begins recording media into one or
web.files.Blob
objects.
MediaRecorder.start(timeslice)
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/start
Method. The `web.audio.MediaRecorder` method start(), which is part of MediaStream Recording API, begins recording media into one or `web.files.Blob` objects. `MediaRecorder.start(timeslice)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/start`
(state this)
Property.
The MediaRecorder.state read-only property returns the current of the current MediaRecorder object.
var state = MediaRecorder.state
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/state
Property. The MediaRecorder.state read-only property returns the current of the current MediaRecorder object. `var state = MediaRecorder.state` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/state`
(stop this)
Method.
The MediaRecorder.stop() method (part of the MediaRecorder API) used to stop media capture.
MediaRecorder.stop()
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stop
Method. The MediaRecorder.stop() method (part of the MediaRecorder API) used to stop media capture. `MediaRecorder.stop()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stop`
(stream this)
Property.
The MediaRecorder.stream read-only property returns the stream was passed into the MediaRecorder() constructor when the MediaRecorder created.
var stream = MediaRecorder.stream
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stream
Property. The MediaRecorder.stream read-only property returns the stream was passed into the MediaRecorder() constructor when the MediaRecorder created. `var stream = MediaRecorder.stream` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/stream`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close