linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] [PATCH] small fixes to SDP handling in coreapi


From: Simon Morlat
Subject: Re: [Linphone-developers] [PATCH] small fixes to SDP handling in coreapi
Date: Mon, 07 Feb 2011 12:05:25 +0100

Hi Martin,

It is merged, thank you very much.
I just modified the "othertype" to be a char array, just to be
consistent with other strings declared in SalMediaDescription

Best regards,

Simon

Le vendredi 04 février 2011 à 16:17 +0100, Martin Hörlin a écrit :
> Hello,
> I have made a small patch that makes Linphone more compliant with "RFC 
> 3264 - An Offer/Answer Model with Session Description Protocol" and RFC 
> 2327 SDP.
> 
> Problem description:
> 1. Linphone removes "m=" lines from the answer for media it didn't 
> understand, it should instead write m=<media> 0 according to RFC 3264 
> section 6.
> 
> 2. The origin field
> o=<username> <session id> <version> <network type> <address type>
> Linphone got a fixed session id "123456" and a version "654321".
> This can cause interoperability problems when Linphone is re-inviting as 
> the version must then be updated or the receiving client could ignore 
> the SDP according to RFC 3264 section 8.
> 
> The session id and version should also be unique for every new section.
> 
> Solutions:
> Modified offer_answer_initiate_incoming so that linphone answers 
> m=<media> 0 on media it don't understand
> 
> o field:
> Randomizing session id and version when a local_media_description is 
> created.
> Incrementing session version when linphone_core_update_call is called 
> with a new set of params and reusing the old session id.
> 
> Best Regards,
> Martin Hörlin
> 
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]