| 1 | In addition to checking encoding name and clock rate, pjmedia_sdp_neg_fmt_match() API will check encoding parameters as well. |
| 2 | |
| 3 | From: https://tools.ietf.org/html/rfc4566#page-25 |
| 4 | |
| 5 | a=rtpmap:<payload type> <encoding name>/<clock rate> ![/<encoding parameters>] |
| 6 | |
| 7 | For audio streams, <encoding parameters> indicates the number of audio channels. This parameter is OPTIONAL and may be omitted if the number of channels is one, provided that no additional parameters are needed. |
| 8 | |
| 9 | For video streams, no encoding parameters are currently specified. |