]> sjero.net Git - linphone/commitdiff
fix uncompliant sdp while refusing a video m line
authorJehan Monnier <jehan.monnier@linphone.org>
Thu, 31 Mar 2011 15:09:24 +0000 (17:09 +0200)
committerJehan Monnier <jehan.monnier@linphone.org>
Thu, 31 Mar 2011 15:09:24 +0000 (17:09 +0200)
coreapi/offeranswer.c

index cbc88c2c14c5a79b35ac3b18442b0e7d366d1fbe..10d062abf66b94259d03f1ce2052d9a0eb548dbe 100644 (file)
@@ -232,6 +232,7 @@ int offer_answer_initiate_incoming(const SalMediaDescription *local_capabilities
                        result->streams[i].dir=SalStreamInactive;
                        result->streams[i].port=0;
                        result->streams[i].type=rs->type;
+                       result->streams[i].payloads=remote_offer->streams[i].payloads;
                        if (rs->type==SalOther){
                                strncpy(result->streams[i].typeother,rs->typeother,sizeof(rs->typeother)-1);
                        }