From c82463afc1320a9b9046166afd97a2e6a46c0680 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Fri, 30 May 2014 14:50:19 +0200 Subject: [PATCH] Handle offer/answer of rtcp-fb parameters. --- coreapi/offeranswer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/coreapi/offeranswer.c b/coreapi/offeranswer.c index 7b38aaed7..2d89edcf7 100644 --- a/coreapi/offeranswer.c +++ b/coreapi/offeranswer.c @@ -99,6 +99,10 @@ static MSList *match_payloads(const MSList *local, const MSList *remote, bool_t if (p2->send_fmtp) payload_type_set_send_fmtp(newp,p2->send_fmtp); newp->flags|=PAYLOAD_TYPE_FLAG_CAN_RECV|PAYLOAD_TYPE_FLAG_CAN_SEND; + if (p2->flags & PAYLOAD_TYPE_RTCP_FEEDBACK_ENABLED) { + newp->flags |= PAYLOAD_TYPE_RTCP_FEEDBACK_ENABLED; + newp->avpf = payload_type_get_avpf_params(p2); + } res=ms_list_append(res,newp); /* we should use the remote numbering even when parsing a response */ payload_type_set_number(newp,remote_number);