[Live-devel] Problems with RTSPClient, CSeq variable and SANYO network cameras ...

Adam Mich adammich2 at gmail.com
Thu Apr 1 11:47:16 PDT 2010


Hi,
I've found out that when you run a few different instances of RTSP clients
in separate threads CSeq number is not increased by one with each
consecutive request.
It's because CSeq number is a static variable in RTSPClient. It has an
unexpected side effect - SANYO network cameras end RTSP session with an
error "Bad Request" when the current request's CSeq number is greater then
CSeq of the previous one plus one. When I removed 'static' and made CSeq a
local variable of RTSP client everything worked ok. In fact, I don't know if
it is a bug in LiveMedia or in Sanyo firmware ... Does LiveMedia library
conform to RTSP standard in this matter or maybe it is a bug in Sanyo
devices ?
Thanks in advance,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100401/573bbb93/attachment.html>


More information about the live-devel mailing list