Enabling this flag will slow down the operation
usefull for recording chunks.
usefull for thumbnail creation.
DefaultDuration が定義されている場合は最後のフレームのdurationも考慮する 単位 timestampScale
!!! if you need duration with seconds !!!
const nanosec = reader.duration * reader.timestampScale;
const sec = nanosec / 1000 / 1000 / 1000;
emit on every segment https://www.matroska.org/technical/specs/notes.html#Position_References
emit on every cluster element start. Offset byte from file start. It is not an offset from the Segment element.
emit on every cue point for cluster to create seekable webm file from MediaRecorder
emit on every cue point for cluster to create seekable webm file from MediaRecorder
latest EBML > Info > TimestampScale and EBML > Info > Duration to create seekable webm file from MediaRecorder
EBML header without Cluster Element for recording metadata chunk
emit every Cluster Element and its children for recording chunk
for thumbnail
Generated using TypeDoc
This is an informal code for reference. EBMLReader is a class for getting information to enable seeking Webm recorded by MediaRecorder. So please do not use for regular WebM files.