Hi Ross,

While trying to use Live555 RTSPClient for a Sat>IP client, I noticed a possible bug inside RTSTClient::handleResponseBytes() function. The problem code is in this line:

else if (checkForHeader(lineStart, "com.ses.streamID:", 16, headerParamsStr)) {


Here the number of bytes 16 should be 17 (length of "com.ses.streamID:", including the ':' character). Subsequent hack of using pointer headerParamsStr+1, instead of headerParamsStr, allows the program to avoid putting the ':' in the URL, but it still puts a space in it ("stream= 3", instead of "stream=3", not sure if it maters).

I believe the number should be 17, and headerParamsStr+1 should be changed to headerParamsStr in the lines below it.

Yaobing
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to