libsdp 0.1.2

A slim sdp parsing library, with a focus towards voip user agents.
Documentation
  • Coverage
  • 7.38%
    9 out of 122 items documented0 out of 0 items with examples
  • Size
  • Source code size: 73.87 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 19.46 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 28s Average build duration of successful builds.
  • all releases: 28s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • patrickisgreene

libsdp

WIP: This library is still a work in progress

License: MIT Crates.io Docs.rs Build Status Build status

libsdp is a parser for the Session Description Protocol, Mostly intended for SDP's use in SIP messages.

Examples

  let sdp_data = "v=0\r
o=jdoe 2890844526 2890842807 IN IP4 10.47.16.5\r
s=SDP Seminar\r
i=A Seminar on the session description protocol\r
u=http://www.example.com/seminars/sdp.pdf\r
e=j.doe@example.com (Jane Doe)\r
c=IN IP4 224.2.17.12/127\r
t=2873397496 2873404696\r
a=recvonly\r
m=audio 49170 RTP/AVP 0\r
m=video 51372 RTP/AVP 99\r
a=rtpmap:99 h263-1998/90000\r\n";
  if let Ok((_, sdp_msg)) = parse_sdp_offer(sdp_data.as_ref()) {
    println!("{:?}", &sdp_msg);
  }

dependencies

  • nom 6.0.0-alpha1