[Live-devel] [live-devel] Something wrong with RTSP -> GET_PARAMETER

CheungBeily beilyzhang at hotmail.com
Fri Jun 20 00:51:52 PDT 2008


Hello,
 
I wanted to extend Darwin Streaming Server to support GET_PARAMETER, and try to use live555 to connect it.
 
I used the method getMediaSessionParameter() in RTSPClient.cpp.
 
If the parameter 'parameterName' of the method is not NULL, Darwin responded a 'OK' and a 'Bad Request'.
 
If the parameter 'parameterName' is NULL, everything is ok.
 
 
RTSPClient.cpp, line 1504:
 
if (haveParameterName) {      char* const cmdFmt = "GET_PARAMETER %s RTSP/1.0\r\n" "CSeq: %d\r\n" "Session: %s\r\n" "%s" "%s" "Content-type: text/parameters\r\n" "Content-length: %d\r\n\r\n" "%s\r\n" "\r\n";   <- ???
 
Maybe there is something wrong with the last '\r\n'.
 
If there is only one '\r\n' after %s, the response is 'OK'.
 
I hope the team can fix this.
 
Thanks!
 
 
Beily Chueng
 
Beijing China
_________________________________________________________________
新年换新颜,快来妆扮自己的MSN给心仪的TA一个惊喜!
http://im.live.cn/emoticons/?ID=18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080620/e1d40fbc/attachment.html>


More information about the live-devel mailing list