linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] patch SDP


From: Simon MORLAT
Subject: Re: [Linphone-users] patch SDP
Date: Mon, 19 Jul 2004 16:33:40 +0200
User-agent: Mozilla Thunderbird 0.7.1 (X11/20040708)

Thanks a lot.

As linphone is moving to eXosip for next release and thus leaving osipua, I will need not merge this patch but I will fix it as you did in the new sdp interface.

Simon

Stephane List wrote:

In case linphone doesn't accept a codec (e.g. a payload type), the SDP
frame respond with a port equal to 0, but the payload type corresponding
is not sent.
The following patch correct this problem.

Stephane


diff -urN linphone-0.12.2.orig/osipua/src/sdphandler.c 
linphone-0.12.2/osipua/src/sdphandler.c
--- linphone-0.12.2.orig/osipua/src/sdphandler.c        Thu Mar 11 18:42:00 2004
+++ linphone-0.12.2/osipua/src/sdphandler.c     Thu Jul  8 14:04:56 2004
@@ -518,6 +518,8 @@
                                                         sgetcopy (mtype),
                                                         int_2char (0), NULL,
                                                         sgetcopy (proto));
+                                       /* add the payload */
+                                       sdp_m_payload_add (answer, i, int_2char 
(payload.pt));
                                }
                                else
                                        m_lines_accepted++;
@@ -528,6 +530,8 @@
                                sdp_m_media_add (answer, sgetcopy (mtype),
                                                 int_2char (0), NULL,
                                                 sgetcopy (proto));
+                               /* add the payload */
+                               sdp_m_payload_add (answer, i, int_2char 
(payload.pt));
                        }

                }
@@ -611,6 +615,8 @@
                                                         sgetcopy (mtype),
                                                         int_2char (0), NULL,
                                                         sgetcopy (proto));
+                                       /* add the payload */
+                                       sdp_m_payload_add (answer, i, int_2char 
(payload.pt));
                                }
                                else
                                        m_lines_accepted++;
@@ -621,6 +627,8 @@
                                sdp_m_media_add (answer, sgetcopy (mtype),
                                                 int_2char (0), NULL,
                                                 sgetcopy (proto));
+                               /* add the payload */
+                               sdp_m_payload_add (answer, i, int_2char 
(payload.pt));
                        }
                }
        }


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







reply via email to

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