View Source Membrane.RTP.TCP.Depayloader (Membrane RTP plugin v0.25.0)
This element provides functionality of depayloading RTP Packets received by TCP and redirecting RTSP messages received in the same stream. The encapsulation is described in RFC 7826 Section 14.
Encapsulated packets interleaved in the stream will have the following structure: ["$" = 36 :: 1 byte][Channel id :: 1 byte][Length :: 2 bytes][packet :: <Length> bytes]
RTSP Messages
Element options
Passed via struct Membrane.RTP.TCP.Depayloader.t/0
rtp_channel_id
non_neg_integer()
Default value:
0
Channel identifier which encapsulated RTP packets will have.rtsp_session
pid() | nil
Default value:
nil
PID of a RTSP Session (returned from Membrane.RTSP.start or Membrane.RTSP.start_link) that received RTSP responses will be forwarded to. If nil the responses will be discarded.
Pads
:input
Accepted formats:
%RemoteStream{type: :bytestream}
Direction: | :input |
Availability: | :always |
Flow control: | :auto |
:output
Accepted formats:
%RemoteStream{type: :packetized, content_format: RTP}
Direction: | :output |
Availability: | :always |
Flow control: | :auto |
Summary
Types
Struct containing options for Membrane.RTP.TCP.Depayloader
Types
@type t() :: %Membrane.RTP.TCP.Depayloader{ rtp_channel_id: non_neg_integer(), rtsp_session: pid() | nil }
Struct containing options for Membrane.RTP.TCP.Depayloader
Functions
@spec options() :: keyword()
Returns description of options available for this module