MPEG.TS.Demuxer (MPEG.TS v3.3.6)
View SourceResponsible for demultiplexing a stream of MPEG.TS.Packet into the elemetary streams listed in the stream's Program Map Table. Does not yet handle PAT.
Summary
Types
@type t() :: %MPEG.TS.Demuxer{ last_dts: MPEG.TS.timestamp_ns(), pending: binary(), pids_with_pmt: %{ required(MPEG.TS.Packet.pid_t()) => MPEG.TS.PAT.program_id_t() }, rollover: %{required(MPEG.TS.Packet.pid_t()) => %{pts: map(), dts: map()}}, stream_aggregators: %{ required(MPEG.TS.Packet.pid_t()) => MPEG.TS.StreamAggregator.t() }, streams: %{required(MPEG.TS.Packet.pid_t()) => MPEG.TS.PMT.stream_t()}, strict?: boolean(), wait_rai?: boolean() }
Functions
@spec demux(t(), binary()) :: {[MPEG.TS.Demuxer.Container.t()], t()}
@spec flush(t()) :: {[MPEG.TS.Demuxer.Container.t()], t()}