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
Session attribute.
Bandwidth information.
Connection information.
Email address.
Session information.
Encryption key.
Media name and transport address.
Owner/creator and session identifier.
Phone number.
Repeat times.
Session name.
URI of description.
Protocol version.
Time zone adjustment.
Types
-type property_group() :: [property_parm()].
-type property_groups() :: [property_group()].
Session attribute.
-type sdp_a_ptime() :: #megaco_sdp_a_ptime{packet_time :: term()}.
-type sdp_a_quality() :: #megaco_sdp_a_quality{quality :: term()}.
Bandwidth information.
-type sdp_c() :: #megaco_sdp_c{network_type :: term(), address_type :: term(), connection_addr :: term()}.
Connection information.
-type sdp_e() :: #megaco_sdp_e{email :: term()}.
Email address.
-type sdp_i() :: #megaco_sdp_i{session_descriptor :: term()}.
Session information.
Encryption key.
-type sdp_m() :: #megaco_sdp_m{media :: term(), port :: term(), num_ports :: term(), transport :: term(), fmt_list :: term()}.
Media name and transport address.
-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.
-type sdp_p() :: #megaco_sdp_p{phone_number :: term()}.
Phone number.
-type sdp_property_group() :: [sdp_property_parm()].
-type sdp_property_groups() :: [sdp_property_group()].
-type sdp_property_parm() :: sdp() | property_parm().
-type sdp_r() :: #megaco_sdp_r{repeat_interval :: term(), active_duration :: term(), list_of_offsets :: term()}.
Repeat times.
-type sdp_s() :: #megaco_sdp_s{name :: term()}.
Session name.
-type sdp_u() :: #megaco_sdp_u{uri :: term()}.
URI of description.
-type sdp_v() :: #megaco_sdp_v{version :: term()}.
Protocol version.
-type sdp_z() :: #megaco_sdp_z{list_of_adjustments :: term()}.
Time zone adjustment.