Search documentation of megaco

# View Source megaco_sdp (megaco v4.6)

SDP utility module.

This module contains various things related to SDP.

## Version note

This module has existed in the megaco app for long time, but as of 27.0 its also documented.

# Summary

## Types

property_group()
property_groups()
property_parm()
sdp()
sdp_a()

Session attribute.

sdp_a_fmtp()
sdp_a_ptime()
sdp_a_quality()
sdp_a_rtpmap()
sdp_b()

Bandwidth information.

sdp_c()

Connection information.

sdp_e()

Email address.

sdp_i()

Session information.

sdp_k()

Encryption key.

sdp_m()

Media name and transport address.

sdp_o()

Owner/creator and session identifier.

sdp_p()

Phone number.

sdp_property_group()
sdp_property_groups()
sdp_property_parm()
sdp_r()

Repeat times.

sdp_s()

Session name.

sdp_t()
sdp_u()

URI of description.

sdp_v()

Protocol version.

sdp_z()

Time zone adjustment.

# Types

Link to this type

# property_group()

View Source (since OTP 27.0)

    -type property_group() :: [property_parm()].

Link to this type

# property_groups()

View Source (since OTP 27.0)

    -type property_groups() :: [property_group()].

Link to this type

# property_parm()

View Source (since OTP 27.0)

    -type property_parm() :: #'PropertyParm'{name :: term(), value :: term(), extraInfo :: term()}.

Link to this type

# sdp()

View Source (since OTP 27.0)

    -type sdp() ::
              sdp_o() |
              sdp_s() |
              sdp_i() |
              sdp_u() |
              sdp_e() |
              sdp_p() |
              sdp_c() |
              sdp_b() |
              sdp_k() |
              sdp_a() |
              sdp_a_rtpmap() |
              sdp_a_ptime() |
              sdp_z() |
              sdp_t() |
              sdp_r() |
              sdp_m().

Link to this type

# sdp_a()

View Source (since OTP 27.0)

    -type sdp_a() :: #megaco_sdp_a{attribute :: term(), value :: term()}.

Session attribute.

Link to this type

# sdp_a_fmtp()

View Source (since OTP 27.0)

    -type sdp_a_fmtp() :: #megaco_sdp_a_fmtp{format :: term(), param :: term()}.

Link to this type

# sdp_a_ptime()

View Source (since OTP 27.0)

    -type sdp_a_ptime() :: #megaco_sdp_a_ptime{packet_time :: term()}.

Link to this type

# sdp_a_quality()

View Source (since OTP 27.0)

    -type sdp_a_quality() :: #megaco_sdp_a_quality{quality :: term()}.

Link to this type

# sdp_a_rtpmap()

View Source (since OTP 27.0)

    -type sdp_a_rtpmap() ::
              #megaco_sdp_a_rtpmap{payload_type :: term(),
                                   encoding_name :: term(),
                                   clock_rate :: term(),
                                   encoding_parms :: term()}.

Link to this type

# sdp_b()

View Source (since OTP 27.0)

    -type sdp_b() :: #megaco_sdp_b{bwtype :: term(), bandwidth :: term()}.

Bandwidth information.

Link to this type

# sdp_c()

View Source (since OTP 27.0)

    -type sdp_c() ::
              #megaco_sdp_c{network_type :: term(), address_type :: term(), connection_addr :: term()}.

Connection information.

Link to this type

# sdp_e()

View Source (since OTP 27.0)

    -type sdp_e() :: #megaco_sdp_e{email :: term()}.

Email address.

Link to this type

# sdp_i()

View Source (since OTP 27.0)

    -type sdp_i() :: #megaco_sdp_i{session_descriptor :: term()}.

Session information.

Link to this type

# sdp_k()

View Source (since OTP 27.0)

    -type sdp_k() :: #megaco_sdp_k{method :: term(), encryption_key :: term()}.

Encryption key.

Link to this type

# sdp_m()

View Source (since OTP 27.0)

    -type sdp_m() ::
              #megaco_sdp_m{media :: term(),
                            port :: term(),
                            num_ports :: term(),
                            transport :: term(),
                            fmt_list :: term()}.

Media name and transport address.

Link to this type

# sdp_o()

View Source (since OTP 27.0)

    -type sdp_o() ::
              #megaco_sdp_o{user_name :: term(),
                            session_id :: term(),
                            version :: term(),
                            network_type :: term(),
                            address_type :: term(),
                            address :: term()}.

Owner/creator and session identifier.

Link to this type

# sdp_p()

View Source (since OTP 27.0)

    -type sdp_p() :: #megaco_sdp_p{phone_number :: term()}.

Phone number.

Link to this type

# sdp_property_group()

View Source (since OTP 27.0)

    -type sdp_property_group() :: [sdp_property_parm()].

Link to this type

# sdp_property_groups()

View Source (since OTP 27.0)

    -type sdp_property_groups() :: [sdp_property_group()].

Link to this type

# sdp_property_parm()

View Source (since OTP 27.0)

    -type sdp_property_parm() :: sdp() | property_parm().

Link to this type

# sdp_r()

View Source (since OTP 27.0)

    -type sdp_r() ::
              #megaco_sdp_r{repeat_interval :: term(), active_duration :: term(), list_of_offsets :: term()}.

Repeat times.

Link to this type

# sdp_s()

View Source (since OTP 27.0)

    -type sdp_s() :: #megaco_sdp_s{name :: term()}.

Session name.

Link to this type

# sdp_t()

View Source (since OTP 27.0)

    -type sdp_t() :: #megaco_sdp_t{start :: term(), stop :: term()}.

Link to this type

# sdp_u()

View Source (since OTP 27.0)

    -type sdp_u() :: #megaco_sdp_u{uri :: term()}.

URI of description.

Link to this type

# sdp_v()

View Source (since OTP 27.0)

    -type sdp_v() :: #megaco_sdp_v{version :: term()}.

Protocol version.

Link to this type

# sdp_z()

View Source (since OTP 27.0)

    -type sdp_z() :: #megaco_sdp_z{list_of_adjustments :: term()}.

Time zone adjustment.