Skip to content

Function: writeStsd() ​

ts
function writeStsd(box, config): IsoBoxWriteView;

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

Write a SampleDescriptionBox to an IsoBoxWriteView.

Parameters ​

box ​

SampleDescriptionBox

The SampleDescriptionBox fields to write

config ​

IsoBoxWriteViewConfig

The IsoBoxWriteViewConfig to use

Returns ​

IsoBoxWriteView

An IsoBoxWriteView containing the encoded box

A Streaming Video Technology Alliance project.