Function: writeSthd()
ts
function writeSthd(cursor, box): void;Defined in: writers/writeSthd.ts:18
Write the sthd box (SubtitleMediaHeaderBox).
ISO/IEC 14496-12:2015 - 12.6.2
Parameters
cursor
The write cursor
box
The SubtitleMediaHeaderBox fields to write
Returns
void
Throws
RangeError if a value of the box does not fit its field.