Re: [Live-devel] StreamParser and EOF

2008-03-25 Thread Andreas Färber
Am 19.03.2008 um 14:54 schrieb Andreas Färber: > > Am 19.03.2008 um 14:22 schrieb Ross Finlayson: > >>> I am working on a StreamParser subclass and am wondering how the >>> end- >>> of-file is supposed to be handled. >> >> This is specified by the parameters "onInputCloseFunc" and >> "onInputCl

Re: [Live-devel] StreamParser and EOF

2008-03-19 Thread Andreas Färber
Am 19.03.2008 um 14:22 schrieb Ross Finlayson: >> I am working on a StreamParser subclass and am wondering how the end- >> of-file is supposed to be handled. > > This is specified by the parameters "onInputCloseFunc" and > "onInputCloseClientData" that are passed to the "StreamParser" > construct

Re: [Live-devel] StreamParser and EOF

2008-03-19 Thread Ross Finlayson
>I am working on a StreamParser subclass and am wondering how the end- >of-file is supposed to be handled. This is specified by the parameters "onInputCloseFunc" and "onInputCloseClientData" that are passed to the "StreamParser" constructor (in the code for the subclass's constructor). Usually

[Live-devel] StreamParser and EOF

2008-03-19 Thread Andreas Färber
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 0x01 appears, the test4Bytes() may bail out via ensureValidBytes(4) when reaching the end of file, exiting the RTSP server. In the MP