fix uncompliant sdp while refusing a video m line

This commit is contained in:
Jehan Monnier 2011-03-31 17:09:24 +02:00
parent 90ee121587
commit e3674ddf2e

View 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);
}