MPEG.TS.PartialPES (MPEG.TS v2.2.0)

View Source

Partial Packetized Elemetary Stream. PES packets are much larger in size than TS packets are. This means that they have to be unmarshaled from a series of payloads, hence each packet here will only contain a partial PES packet.

Summary

Types

t()

@type t() :: %MPEG.TS.PartialPES{
  data: binary(),
  discontinuity: boolean(),
  dts: pos_integer(),
  is_aligned: boolean(),
  length: pos_integer(),
  pts: pos_integer(),
  stream_id: pos_integer()
}

Functions

has_header?(id)

@spec has_header?(pos_integer()) :: boolean()