The issue is related to the function call sdp_keep_codecs_by_id(..). It seems to not remove multiple "a=fmtp" lines related to a removed codec. Shortened example: ` m=audio 15684 RTP/AVP 8 18 4 0 101 13 a=fmtp:18 annexa=yes a=fmtp:18 annexb=no `
The resulting SDP that cause the error message is then this: ` v=0 o=- 7292 1 IN IP4 192.168.50.50 s=- t=0 0 m=audio 18466 RTP/AVP 8 101 c=IN IP4 XXX.XXX.XXX.XXX a=rtpmap:101 telephone-event/8000 a=fmtp:18 annexa=yes a=fmtp:101 0-15 a=ptime:30 a=silenceSupp:off - - - - a=sendrecv `