mozilla / webrtc-sdp

Rust SDP parser for WebRTC
Mozilla Public License 2.0
155 stars 30 forks source link

Accept zero c lines if there are zero m sections #206

Closed na-g closed 4 years ago

na-g commented 4 years ago

The parser currently rejects, as per the SDP spec, an SDP document with no c lines. For interoperability with the major browsers, this allows for there to be zero c lines when there are also zero m sections.