linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] SDP bandwidth field ?


From: Simon MORLAT
Subject: Re: [Linphone-users] SDP bandwidth field ?
Date: Wed, 17 Mar 2004 15:07:37 +0100
User-agent: Mozilla Thunderbird 0.5 (X11/20040306)

Hello,

I've uploaded a 0.12.2pre1 release that fixes this problem (among others).
see http://simon.morlat.free.fr/download/unstable/source/linphone-0.12.2pre1.tar.gz
You can all test it and send me feedback !
Thanks a lot.
Simon

Sumit Roy wrote:

Hi,
it seems to me that the bandwidth field in the
SDP has too many entries ? The RFC states that
it should consist of a modifier, and the bandwidth
in kilobits/sec. In osipua/src/sdphandler.c, the
payload type is also added. This breaks communication
with some commercial SIP stacks.

Simple patch attached.

Sincerely

Sumit
------------------------------------------------------------------------

*** sdphandler.c        Thu Mar  4 14:21:35 2004
--- sdphandler.c.orig   Thu Mar  4 14:22:00 2004
***************
*** 230,236 ****
        if (payload->b_as_bandwidth != 0)
        {
                attr_field =
!                       sstrdup_sprintf ("%i", payload->b_as_bandwidth);
                sdp_b_bandwidth_add (offer, payload->line, sgetcopy ("AS"),
                                     attr_field);
        }
--- 230,237 ----
        if (payload->b_as_bandwidth != 0)
        {
                attr_field =
!                       sstrdup_sprintf ("%i %i", payload->pt,
!                                        payload->b_as_bandwidth);
                sdp_b_bandwidth_add (offer, payload->line, sgetcopy ("AS"),
                                     attr_field);
        }
------------------------------------------------------------------------

_______________________________________________
Linphone-users mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/linphone-users





reply via email to

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