ISOMedia.Boxes.TrackFragmentDecodeTime (ISOMedia v0.1.0)

Copy Markdown View Source

Typed view of the tfdt Track Fragment Decode Time box.

Summary

Functions

Decode a tfdt box (v0 32-bit / v1 64-bit base time).

Encode a %TrackFragmentDecodeTime{} back into a tfdt box.

Types

t()

@type t() :: %ISOMedia.Boxes.TrackFragmentDecodeTime{
  base_media_decode_time: non_neg_integer(),
  version: 0 | 1
}

Functions

decode(box)

@spec decode(ISOMedia.Box.t()) :: t()

Decode a tfdt box (v0 32-bit / v1 64-bit base time).

encode(track_fragment_decode_time)

@spec encode(t()) :: ISOMedia.Box.t()

Encode a %TrackFragmentDecodeTime{} back into a tfdt box.