<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
I think MediaSession::initializeWithSDP() is not parsing first SDP
line (which is usually v=0, though unused).<br>
I've corrected it as follow:<br>
<tt><br>
// Begin by processing all SDP lines until we see the first "m="<br>
char const* sdpLine;<br>
char const* nextSDPLine = sdpDescription;<br>
while (1) {<br>
sdpLine = nextSDPLine;<br>
if (sdpLine == NULL) break; // there are no m= lines at all<br>
if (!parseSDPLine(sdpLine, nextSDPLine)) return False;<br>
<br>
//##### We should really check for:<br>
// - "a=control:" attributes (to set the URL for aggregate
control)<br>
// - the correct SDP version (v=0)<br>
if (sdpLine[0] == 'm') break;<br>
<br>
// Check for various special SDP lines that we understand:<br>
if (parseSDPLine_s(sdpLine)) continue;<br>
...<br>
}<br>
</tt><br>
Eric<br>
</body>
</html>