Hi Ross,

 

maybe I have found a bug!?!

 

In the method

 

void RTSPServer::RTSPClientConnection::setRTSPResponse(char const*
responseStr)

{

  snprintf((char*)fResponseBuffer, sizeof fResponseBuffer,

         "RTSP/1.0 %s\r\n"

         "CSeq: %s\r\n"

         "%s\r\n" ---> should be "%s"

         "Session: %08X\r\n\r\n",

         responseStr,

         fCurrentCSeq,

         dateHeader(),

         sessionId);

}

 

Because the getLine-method in RTSPClient returns an blank line, and the
following data (Session...) will be interpreted as
"numExtraBytesAfterResponse" and will be saved in the "fResponseBuffer"
--> next response will interpreted as a buggy one!

 

Another question:

 

On client-side I use the method "MediaSubsession::getNormalPlayTime".
All works fine for the first play-command. But after the send of a
second play-command the method returns wrong values with the receive of
a new RTCP "SR" packet. Whats going wrong?

 

Thanks in advance

 

Matthias Meding

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

Reply via email to