[Live-devel] StreamParser and EOF
Andreas Färber
faerber at pi4.informatik.uni-mannheim.de
Wed Mar 19 04:31:25 PDT 2008
Hello,
I am working on a StreamParser subclass and am wondering how the end-
of-file is supposed to be handled. If reading data until a delimiter
such as 0x000001 appears, the test4Bytes() may bail out via
ensureValidBytes(4) when reaching the end of file, exiting the RTSP
server. In the MPEG 4 parser I did not notice any code using
constructs such as checking totNumValidBytes() - curOffset(). Any
hints would be appreciated.
Thanks,
Andreas
More information about the live-devel
mailing list