View Source Membrane.RTSP.TCP.Decapsulator (Membrane RTSP plugin v0.6.1)

This element provides functionality of decapsulating RTP Packets and redirecting RTSP messages received in the same TCP stream established with RTSP. The encapsulation is described in RFC 7826 Section 14.

Encapsulated RTP 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 are not encapsulated this way, but can only be present between RTP packets.

Element options

Passed via struct Membrane.RTSP.TCP.Decapsulator.t/0

  • rtsp_session

    pid()

    Required
    PID of a RTSP Session (returned from Membrane.RTSP.start or Membrane.RTSP.start_link) that received RTSP responses will be forwarded to.

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

t()

Struct containing options for Membrane.RTSP.TCP.Decapsulator

Functions

Returns description of options available for this module

Types

t()

@type t() :: %Membrane.RTSP.TCP.Decapsulator{rtsp_session: pid()}

Struct containing options for Membrane.RTSP.TCP.Decapsulator

Functions

options()

@spec options() :: keyword()

Returns description of options available for this module