<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hello,<BR>
<BR>
I wanted to extend Darwin Streaming Server to support GET_PARAMETER, and try to use live555 to connect it.<BR>
<BR>
I used the method getMediaSessionParameter() in RTSPClient.cpp.<BR>
<BR>
If the parameter 'parameterName' of the method is not NULL, Darwin responded a 'OK' and a 'Bad Request'.<BR>
<BR>
If the parameter 'parameterName' is NULL, everything is ok.<BR>
<BR>
<BR>
RTSPClient.cpp, line 1504:<BR>
<BR>
if (haveParameterName) {<BR> char* const cmdFmt =<BR> "GET_PARAMETER %s RTSP/1.0\r\n"<BR> "CSeq: %d\r\n"<BR> "Session: %s\r\n"<BR> "%s"<BR> "%s"<BR> "Content-type: text/parameters\r\n"<BR> "Content-length: %d\r\n\r\n"<BR> "%s\r\n"<BR> "\r\n"; <- ???<BR>
<BR>
Maybe there is something wrong with the last '\r\n'.<BR>
<BR>
If there is only one '\r\n' after %s, the response is 'OK'.<BR>
<BR>
I hope the team can fix this.<BR>
<BR>
Thanks!<BR>
<BR>
<BR>
Beily Chueng<BR>
<BR>
Beijing China<BR><br /><hr />“七件武器,七种完美” <a href='http://get.live.cn' target='_new'>立刻体验!</a></body>
</html>