MediaRecorder

Overview

The MediaRecorder interface of the MediaStream Recording API provides functionality to easily record media. It is created using the MediaRecorder() constructor.

Location

 

ignoreMutedMedia

 

property ignoreMutedMedia: dynamic read write;

 

dynamic ignoreMutedMedia { get; set; }

 

var ignoreMutedMedia: dynamic { get{} set{} }

 

dynamic ignoreMutedMedia { __get; __set; }

 

Property ignoreMutedMedia() As dynamic

mimeType

 

property mimeType: dynamic read;

 

dynamic mimeType { get; }

 

var mimeType: dynamic { get{} }

 

dynamic mimeType { __get; }

 

ReadOnly Property mimeType() As dynamic

ondataavailable

 

property ondataavailable: EventListener read write;

 

EventListener ondataavailable { get; set; }

 

var ondataavailable: EventListener { get{} set{} }

 

EventListener ondataavailable { __get; __set; }

 

Property ondataavailable() As EventListener

onerror

 

property onerror: EventListener read write;

 

EventListener onerror { get; set; }

 

var onerror: EventListener { get{} set{} }

 

EventListener onerror { __get; __set; }

 

Property onerror() As EventListener

onpause

 

property onpause: EventListener read write;

 

EventListener onpause { get; set; }

 

var onpause: EventListener { get{} set{} }

 

EventListener onpause { __get; __set; }

 

Property onpause() As EventListener

onresume

 

property onresume: EventListener read write;

 

EventListener onresume { get; set; }

 

var onresume: EventListener { get{} set{} }

 

EventListener onresume { __get; __set; }

 

Property onresume() As EventListener

onstart

 

property onstart: EventListener read write;

 

EventListener onstart { get; set; }

 

var onstart: EventListener { get{} set{} }

 

EventListener onstart { __get; __set; }

 

Property onstart() As EventListener

onstop

 

property onstop: EventListener read write;

 

EventListener onstop { get; set; }

 

var onstop: EventListener { get{} set{} }

 

EventListener onstop { __get; __set; }

 

Property onstop() As EventListener

pause

Pauses the recording of media.

 

method pause

 

void pause()

 

func pause()

 

void pause()

 

Sub pause()

requestData

Requests a Blob containing the saved data received thus far (or since the last time requestData() was called. After calling this method, recording continues, but in a new Blob.

 

method requestData: array of Byte

 

Byte[] requestData()

 

func requestData() -> Byte...

 

Byte[] requestData()

 

Function requestData() As Byte()

start

Begins recording media; this method can optionally be passed a timeslice argument with a value in milliseconds. If this is specified, the media will be captured in separate chunks of that duration, rather than the default behavior of recording the media in a single large chunk.

 

method start(partimeslice: dynamic): Int64

 

Int64 start(dynamic partimeslice)

 

func start(_ partimeslice: dynamic) -> Int64

 

Int64 start(dynamic partimeslice)

 

Function start(partimeslice As dynamic) As Int64

Parameters:

  • partimeslice:

state

 

property state: dynamic read;

 

dynamic state { get; }

 

var state: dynamic { get{} }

 

dynamic state { __get; }

 

ReadOnly Property state() As dynamic

stream

 

property stream: array of MediaRecorder read;

 

MediaRecorder[] stream { get; }

 

var stream: MediaRecorder... { get{} }

 

MediaRecorder[] stream { __get; }

 

ReadOnly Property stream() As MediaRecorder()

 

ignoreMutedMedia

 

property ignoreMutedMedia: dynamic read write;

 

dynamic ignoreMutedMedia { get; set; }

 

var ignoreMutedMedia: dynamic { get{} set{} }

 

dynamic ignoreMutedMedia { __get; __set; }

 

Property ignoreMutedMedia() As dynamic

mimeType

 

property mimeType: dynamic read;

 

dynamic mimeType { get; }

 

var mimeType: dynamic { get{} }

 

dynamic mimeType { __get; }

 

ReadOnly Property mimeType() As dynamic

ondataavailable

 

property ondataavailable: EventListener read write;

 

EventListener ondataavailable { get; set; }

 

var ondataavailable: EventListener { get{} set{} }

 

EventListener ondataavailable { __get; __set; }

 

Property ondataavailable() As EventListener

onerror

 

property onerror: EventListener read write;

 

EventListener onerror { get; set; }

 

var onerror: EventListener { get{} set{} }

 

EventListener onerror { __get; __set; }

 

Property onerror() As EventListener

onpause

 

property onpause: EventListener read write;

 

EventListener onpause { get; set; }

 

var onpause: EventListener { get{} set{} }

 

EventListener onpause { __get; __set; }

 

Property onpause() As EventListener

onresume

 

property onresume: EventListener read write;

 

EventListener onresume { get; set; }

 

var onresume: EventListener { get{} set{} }

 

EventListener onresume { __get; __set; }

 

Property onresume() As EventListener

onstart

 

property onstart: EventListener read write;

 

EventListener onstart { get; set; }

 

var onstart: EventListener { get{} set{} }

 

EventListener onstart { __get; __set; }

 

Property onstart() As EventListener

onstop

 

property onstop: EventListener read write;

 

EventListener onstop { get; set; }

 

var onstop: EventListener { get{} set{} }

 

EventListener onstop { __get; __set; }

 

Property onstop() As EventListener

state

 

property state: dynamic read;

 

dynamic state { get; }

 

var state: dynamic { get{} }

 

dynamic state { __get; }

 

ReadOnly Property state() As dynamic

stream

 

property stream: array of MediaRecorder read;

 

MediaRecorder[] stream { get; }

 

var stream: MediaRecorder... { get{} }

 

MediaRecorder[] stream { __get; }

 

ReadOnly Property stream() As MediaRecorder()

 

pause

Pauses the recording of media.

 

method pause

 

void pause()

 

func pause()

 

void pause()

 

Sub pause()

requestData

Requests a Blob containing the saved data received thus far (or since the last time requestData() was called. After calling this method, recording continues, but in a new Blob.

 

method requestData: array of Byte

 

Byte[] requestData()

 

func requestData() -> Byte...

 

Byte[] requestData()

 

Function requestData() As Byte()

start

Begins recording media; this method can optionally be passed a timeslice argument with a value in milliseconds. If this is specified, the media will be captured in separate chunks of that duration, rather than the default behavior of recording the media in a single large chunk.

 

method start(partimeslice: dynamic): Int64

 

Int64 start(dynamic partimeslice)

 

func start(_ partimeslice: dynamic) -> Int64

 

Int64 start(dynamic partimeslice)

 

Function start(partimeslice As dynamic) As Int64

Parameters:

  • partimeslice: