Packages
membrane_mpeg_ts_plugin
2.4.6
2.4.9
2.4.8
2.4.7
2.4.6
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.18
2.3.17
2.3.16
2.3.15
2.3.14
2.3.12
2.3.11
2.3.10
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.1
2.2.0
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
MPEG-TS Demuxer that implements the Membrane.Filter behaviour.
Current section
Files
Jump to
Current section
Files
lib/membrane/mpeg/ts/stream_format.ex
defmodule Membrane.MPEG.TS.StreamFormat do
@moduledoc """
MPEG-TS stream format derived from PMT entries.
Use `stream_type` plus `descriptors` to identify streams that share the same
stream_type (e.g. PES private data with a registration descriptor).
"""
@type elementary_stream_t :: %{
optional(:pid) => non_neg_integer(),
optional(:stream_type) => atom(),
optional(:descriptors) => list(),
optional(:upstream_format) => struct() | nil
}
@type t :: %__MODULE__{
stream_type: atom() | nil,
descriptors: list(),
elementary_streams: [elementary_stream_t()]
}
defstruct stream_type: nil, descriptors: [], elementary_streams: []
end