ibc / libsdptransform

Session Description Protocol C++ parser/writer based on the sdp-transform JavaScript library
MIT License
134 stars 56 forks source link

Non-numeric payload type #21

Open asaks opened 2 years ago

asaks commented 2 years ago

Non-numeric payload types can be present in the "media" field, for example, the type t38 will be specified for fax (m=image 15002 udptl t38). In this case, calling the function std::vector<int> parsePayloads(const std::string& str) will crash.

Maurotb commented 1 week ago

Hi, same problem for a=rtcp-fb: transport-cc a=rtcp-fb: ccm fir a=rtcp-fb: goog-remb a=rtcp-fb: nack payload is not numeric