Membrane Protocol SDP v0.1.0 Membrane.Protocol.SDP.Media View Source
This module represents Media field of SDP.
For more details please see RFC4566 Section 5.14
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Membrane.Protocol.SDP.Media{
attributes: [binary()],
bandwidth: [Membrane.Protocol.SDP.Bandwidth.t()],
connection_data: [Membrane.Protocol.SDP.ConnectionData.sdp_address()],
encryption: Membrane.Protocol.SDP.Encryption.t() | nil,
fmt: binary() | [0..127],
ports: [:inet.port_number()],
protocol: binary(),
title: binary() | nil,
type: type()
}
t() :: %Membrane.Protocol.SDP.Media{ attributes: [binary()], bandwidth: [Membrane.Protocol.SDP.Bandwidth.t()], connection_data: [Membrane.Protocol.SDP.ConnectionData.sdp_address()], encryption: Membrane.Protocol.SDP.Encryption.t() | nil, fmt: binary() | [0..127], ports: [:inet.port_number()], protocol: binary(), title: binary() | nil, type: type() }
Link to this type
type()
View Source
type()
View Source
type() :: :audio | :video | :text | :application | :message | binary()
type() :: :audio | :video | :text | :application | :message | binary()
Represents type of media. In RFC4566 there are defined "audio", "video", "text", "application", and "message" types.
Known types are represented as atoms others are binaries.
Link to this section Functions
Link to this function
apply_session(media, session)
View Source
apply_session(media, session)
View Source
apply_session(
Membrane.Protocol.SDP.Media.t(),
Membrane.Protocol.SDP.Session.t()
) :: Membrane.Protocol.SDP.Media.t()
apply_session( Membrane.Protocol.SDP.Media.t(), Membrane.Protocol.SDP.Session.t() ) :: Membrane.Protocol.SDP.Media.t()
Link to this function
parse(media) View Source
Link to this function