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
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel