1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! SDP (Session Description Protocol) handling.
//!
//! Implements SDP parsing, building, and the offer/answer model per RFC 3264.
//!
//! # Overview
//!
//! This crate provides:
//! - SDP parsing (`SessionDescription::parse`)
//! - SDP building (`SdpBuilder`)
//! - Offer/answer negotiation (`create_answer`, `process_answer`)
//!
//! # Example
//!
//! ```
//! use rsiprtp::sdp::{SessionDescription, SdpBuilder, MediaBuilder, Codec, create_answer};
//! use std::net::{IpAddr, Ipv4Addr};
//!
//! // Build an SDP offer
//! let addr = IpAddr::V4(Ipv4Addr::new(192, 168, 1, 1));
//! let offer = SdpBuilder::new(addr)
//! .add_media(MediaBuilder::audio(49170).pcmu().pcma())
//! .build();
//!
//! // Parse SDP from string
//! let sdp_str = offer.to_string();
//! let parsed = SessionDescription::parse(&sdp_str).unwrap();
//! ```
// Re-export main types
pub use ;
pub use ;
pub use ;