Home Reference Source
public class | source

TsEBMLEngine

Extends:

ComponentConvertEngine → TsEBMLEngine

Converter engine using the ts-ebml library.

Used to inject metadata, like duration, into webm files.

Method Summary

Public Methods
public

convert(data: Blob)

Inject metadata.

Inherited Summary

From class ConvertEngine
public

debug: *

public
public

addFileInfo(fileObj: Blob | File, now: date)

Add filename and timestamp to converted file object.

public

loadBlob(data: Blob): Promise

Load Blob and return Promise.

public

saveAs(name: Object)

Show save as dialog in browser so the user can store the converted media locally.

public

setup(mediaType: Object, debug: Boolean)

Setup recording engine.

Public Methods

public convert(data: Blob) source

Inject metadata.

Params:

NameTypeAttributeDescription
data Blob

Recorded data that needs to be converted.