Hello,
I need SDP negotiator to respond with multiple codecs, so I've set define PJMEDIA_SDP_NEG_ANSWER_MULTIPLE_CODECS 1. But it doesn't help.
Expecting snd_neg.c file I've found that answer_with_multiple_codecs field of pjmedia_sdp_neg structure is initialized with corresponding define only in pjmedia_sdp_neg_create_w_local_offer(), but not in pjmedia_sdp_neg_create_w_remote_offer(), so this feature doesn't work on creating SDP answer.
I've added the same initialization line into
pjmedia_sdp_neg_create_w_remote_offer() as in
pjmedia_sdp_neg_create_w_local_offer(), so now I have all supported codecs in my SDP answer.
I offer a small patch to be included in the next release.
---
Alexey Ermoshin
Attachment:
sdp_neg.c.diff
Description: Binary data
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org