Git Product home page Git Product logo

libsdp's Introduction

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
[email protected] (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

libsdp's People

Contributors

wendivoid avatar

Stargazers

听风 avatar ik5 avatar Malar Kannan avatar André Storfjord Kristiansen avatar

Watchers

James Cloos avatar Jonathan Eisenzopf avatar  avatar

libsdp's Issues

about libsip

Sorry for the wrong place, I tried to write to you but gamil told me <[email protected]>: Recipient address rejected: Address does not exist I Found libsip will compile successfully with latest nom 6.2.1, if only change all the trait bound in the lib from E: ParseError<&'a [u8]> to E: ParseError<&'a [u8]> + FromExternalError<&'a [u8], std::io::Error> + FromExternalError<&'a [u8], E> .You dont have to rewritten entirely for the new nom 6.x version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.