<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=宋体><FONT size=2>I<SPAN 
class=790124806-01062009> try realplayer and vlc with my RTSP server and find 
that realplayer will send command 'set parameter' and vlc not.The RTSP server 
receive UDP unicast stream and listen rtsp request.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN 
class=790124806-01062009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN class=790124806-01062009>I rewrite 
handleCmd_SET_PARAMETER code as following to give  OK 
answer:</SPAN></FONT></FONT></DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN 
class=790124806-01062009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN class=790124806-01062009>void 
RTSPServer::RTSPClientSession<BR>::handleCmd_SET_PARAMETER(ServerMediaSubsession* 
/*subsession*/, char const* cseq,<BR>     char const* 
fullRequestStr) {<BR>  // By default, we don't implement 
"SET_PARAMETER":<BR> <BR> // 
handleCmd_notSupported(cseq);</SPAN></FONT></FONT></DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN 
class=790124806-01062009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN class=790124806-01062009>  // add by 
xujin to give OK answer 20090531</SPAN></FONT></FONT></DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN class=790124806-01062009>  
snprintf((char*)fResponseBuffer, sizeof fResponseBuffer,<BR>    
"RTSP/1.0 200 OK\r\nCSeq: %s\r\n%sSession: %d\r\n\r\n",<BR>    
cseq, dateHeader(), fOurSessionId);<BR></SPAN></FONT></FONT></DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN 
class=790124806-01062009>}</SPAN></FONT></FONT></DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN 
class=790124806-01062009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN class=790124806-01062009>but realplayer 
will not send PLAY command and report 'normal error 
message'.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN 
class=790124806-01062009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN class=790124806-01062009>I don't know why 
realplayer does not send next command.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN 
class=790124806-01062009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN class=790124806-01062009>VLC will 
send PLAY command,but no stream will be received.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN 
class=790124806-01062009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN 
class=790124806-01062009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN 
class=790124806-01062009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=宋体><FONT size=2><SPAN class=790124806-01062009>Thank 
you.</SPAN></FONT></FONT></DIV></BODY></HTML>