Daniel-Constantin Mierla writes:
btw, since I haven't spotted if you said it in previous emails, does keep_codecs_by_name() work now ok with codecs that have dynamic ids?
no, as i mentioned, it doesn't work. sdp_keep_codecs_by_name("PCMU,PCMA,speex"); on
Session Description Protocol Version (v): 0 Owner/Creator, Session Id (o): twinkle 1962716457 1676699914 IN IP4 192.98.102.10 Session Name (s): - Connection Information (c): IN IP4 192.98.102.10 Time Description, active time (t): 0 0 Media Description, name and address (m): audio 8000 RTP/AVP 99 97 8 0 3 101 Media Attribute (a): rtpmap:99 speex/32000 Media Attribute (a): rtpmap:97 speex/8000 Media Attribute (a): rtpmap:8 PCMA/8000 Media Attribute (a): rtpmap:0 PCMU/8000 Media Attribute (a): rtpmap:3 GSM/8000 Media Attribute (a): rtpmap:101 telephone-event/8000 Media Attribute (a): fmtp:101 0-15 Media Attribute (a): ptime:20 Media Attribute (a): zrtp
gives
Session Description Protocol Session Description Protocol Version (v): 0 Owner/Creator, Session Id (o): twinkle 1962716457 1676699914 IN IP4 192.98.102.10 Session Name (s): - Connection Information (c): IN IP4 192.98.102.10 Time Description, active time (t): 0 0 Media Description, name and address (m): audio 8000 RTP/AVP 0 Media Attribute (a): rtpmap:0 PCMU/8000 Media Attribute (a): ptime:20 Media Attribute (a): zrtp
-- juha