Skip to content

Function: writeDref() ​

ts
function writeDref(box, config): IsoBoxWriteView;

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

Write a DataReferenceBox to an IsoBoxWriteView.

Parameters ​

box ​

DataReferenceBox

The DataReferenceBox fields to write

config ​

IsoBoxWriteViewConfig

The IsoBoxWriteViewConfig to use

Returns ​

IsoBoxWriteView

An IsoBoxWriteView containing the encoded box

A Streaming Video Technology Alliance project.