Skip to content

Function: writeEnca() ​

ts
function writeEnca(box, config): IsoBoxWriteView;

Defined in: libs/iso-bmff/src/writers/writeEnca.ts:16

Write an AudioSampleEntryBox (enca) to an IsoBoxWriteView.

Parameters ​

box ​

AudioSampleEntryBox<"enca">

The AudioSampleEntryBox fields to write

config ​

IsoBoxWriteViewConfig

The IsoBoxWriteViewConfig to use

Returns ​

IsoBoxWriteView

An IsoBoxWriteView containing the encoded box

A Streaming Video Technology Alliance project.