[Live-devel] Filestreaming
Meding, Matthias
m.meding at ids-imaging.de
Thu Sep 6 05:04:52 PDT 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120906/0f31ff4b/attachment-0001.html>
More information about the live-devel
mailing list