Function: writeTfdt()
ts
function writeTfdt(cursor, box): void;Defined in: writers/writeTfdt.ts:23
Write the tfdt box (TrackFragmentBaseMediaDecodeTimeBox).
ISO/IEC 14496-12:2015 - 8.8.12
Each 64-bit integer field of the box is a number or a bigint. The writer throws a RangeError for a bigint that does not fit the field.
Parameters
cursor
The write cursor
box
TrackFragmentBaseMediaDecodeTimeBox<IsoInt64>
The TrackFragmentBaseMediaDecodeTimeBox fields to write
Returns
void
Throws
RangeError if a value of the box does not fit its field.