[][src]Crate libsdp

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

Structs

RtpMap
SdpCodecIdentifier
SdpConnection
SdpMedia
SdpMediaFormat
SdpOffer

A Single Sdp Message

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

Error returned by the SdpSanitizer

SdpAddressType
SdpAttribute
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_global_attribute
parse_global_attributes
parse_information_line
parse_media
parse_media_lines
parse_network_type
parse_origin
parse_origin_line
parse_phone_line
parse_sdp_offer

Parse this input data into an SdpOffer.

parse_session_name
parse_session_name_line
parse_time_line
parse_timing
parse_transport
parse_uri_line
parse_version
parse_version_line