mozilla / webrtc-sdp

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

rtpmap for video is having an encoding option of 0 set #186

Closed na-g closed 5 years ago

na-g commented 5 years ago

There are no encoding options for video AFAIK, and this causes serialization not to produce output identical to the original SDP. The offending code is here: https://github.com/mozilla/webrtc-sdp/blob/030d41c0866ad77e568d44233abd45b9f4a5c925/src/media_type.rs#L456