[Live-devel] some problems with ByteStreamMultiFileSource
Ross Finlayson
finlayson at live555.com
Tue Sep 11 00:31:32 PDT 2007
> >OK, try adding the following, after the call to "fread()" (line 138)
> >in "ByteStreamFileSource.cpp":
> > if (fFrameSize == 0) {
> > handleClosure(this);
> > return;
> > }
> >
> >Please let us know if that works for you. (If so, I'll add it to the
> >next source code release.)
I assume this worked OK for you, so I'll add it to the next source
code release.
>
>
>I think this code more suitable, it's work fine then TS file has not
>multiple of 188 bytes.
>
>if (fFrameSize < 188) {
> handleClosure(this);
> return;
>}
No, because that's specific to Transport Stream files.
I suggest that you ensure that all of your Transport Stream files are
a multiple of 188 bytes in size.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list