package js.html
extends EventTarget
Available on jsThe
MediaRecorderinterface of the MediaStream Recording API provides functionality to easily record media. It is created by the invocation of theMediaRecorder()constructor.Documentation MediaRecorder by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
new (node:AudioNode, output:Int = 0, ?options:MediaRecorderOptions)new (stream:MediaStream, ?options:MediaRecorderOptions)Throws:
null |
DOMError |
|---|
read only mimeType:StringReturns the MIME type that was selected as the recording container for the MediaRecorder object when it was created.
ondataavailable:Functiononerror:Functiononstart:Functiononstop:Functiononwarning:Functionread only state:RecordingStateReturns the current state of the MediaRecorder object (inactive, recording, or paused.)
read only stream:MediaStreamReturns the stream that was passed into the constructor when the MediaRecorder was created.
pause ():VoidThrows:
null |
DOMError |
|---|
requestData ():VoidThrows:
null |
DOMError |
|---|
resume ():VoidThrows:
null |
DOMError |
|---|
start (?timeSlice:Int):VoidThrows:
null |
DOMError |
|---|
stop ():VoidThrows:
null |
DOMError |
|---|
static isTypeSupported (type:String):Bool
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/MediaRecorder.html