Closed alishir closed 5 years ago
@alishir, WebRTC doesn't allow RTP/AVP, see section 4.2 of https://tools.ietf.org/html/draft-ietf-rtcweb-rtp-usage-26 . This parser conforms to the restrictions imposed by the WebRTC standards, so it may not be a good choice for a general purpose SDP library. @nils-ohlmeier feel free to correct me.
@na-g thanks a lot for detailed explanation.
Yeah webrtc is the primary use case for now. I would prefer to not make things more complex, e.g. when to accept key values from SDP. Maybe in future some kind of configuration profile could it make it possible to adjust the parser per use case.
I'm trying to parse simple INVITE sdp from client, but I got unsupported protocol, here is the sdp string:
And the error is: