|
From: | Michel Ferreira Bueno |
Subject: | Re: [Linphone-developers] Failed to parse SDP message |
Date: | Fri, 17 Apr 2015 08:35:16 -0300 |
User-agent: | Microsoft-MacOutlook/14.4.8.150116 |
Hello Dragos, I found out what is wrong. Apparently problem is at the end of the SDP message sent by my equipment. It sends 3 CRLF( \r\n) string sequences instead of one. Take a look: The correct message should be: v=0\r\no=0 0 0 IN IP4 192.168.199.104\r\ns=Dahua VT 1.5\r\nc=IN IP4 192.168.199.104\r\nt=0 0\r\nm=audio 15000 RTP/AVP 0\r\na=rtpmap:0 PCMU/8000\r\n But my equipment sends: v=0\r\no=0 0 0 IN IP4 192.168.199.104\r\ns=Dahua VT 1.5\r\nc=IN IP4 192.168.199.104\r\nt=0 0\r\nm=audio 15000 RTP/AVP 0\r\na=rtpmap:0 PCMU/8000\r\n\r\n\r\n I took a look on the source code and noticed that the newer version of the liblinphone has some extra validations for the SDP messages that weren’t present on older versions. This explains why older versions of linphone works fine with this same equipment. Apparently this is the reason why my calls are being aborted: the SDP message cannot be parsed because of the extra \r\n at the end of the message. To test this theory, I wrote my own routine to remove the extra \r\n and everything worked fine. Regards, Michel Bueno From: Dragos Oancea <address@hidden> Reply-To: Dragos Oancea <address@hidden>, "address@hidden" <address@hidden> Date: quinta-feira, 16 de abril de 2015 18:50 To: "address@hidden" <address@hidden> Subject: Re: [Linphone-developers] Failed to parse SDP message
|
[Prev in Thread] | Current Thread | [Next in Thread] |