[][src]Crate libsdp

libsdp is a small utility library for parsing the sdp protocol. Mostly Intended for SIP user agents.

Re-exports

pub use self::attributes::SdpAttribute;
pub use self::attributes::parse_global_attribute;
pub use self::attributes::parse_global_attributes;

Modules

attributes

Structs

SdpCodecIdentifier
SdpConnection
SdpMedia
SdpMediaFormat
SdpOffer
SdpOrigin
SdpSanitizer

This struct helps you filter out transports/media types/codecs that you are not prepared to handle. The returned sdp offer will be missing anything not directly allowed by the SdpSanitizerConfig struct.

SdpSanitizerConfig

Configuration for the sanitizer.

SdpSessionName
SdpTiming
SdpVersion

Enums

SanitizerError
SdpAddressType
SdpAttributeType
SdpBandwidth
SdpEncoding
SdpMediaType
SdpNetworkType
SdpOptionalAttribute
SdpTransport

Functions

parse_address_type
parse_attribute_type
parse_bandwidth
parse_bandwidth_line
parse_codec_identifier
parse_connection
parse_connection_name
parse_email_line
parse_information_line
parse_media
parse_media_lines
parse_network_type
parse_origin
parse_origin_line
parse_phone_line
parse_sdp_offer
parse_session_name
parse_session_name_line
parse_time_line
parse_timing
parse_transport
parse_uri_line
parse_version
parse_version_line