On Sep 26, 2014, at 2:50 AM, Hedi Naily <hedi_na...@yahoo.fr> wrote:

> Hi,
>  As the subject indicates, I want to play a list of files as if  they are one 
> big file and without interruption. Is is possible with live555, I'm new to it 
> and want to know wheher it's possible and how to achieve it.
> I've read about using ByteStreamMultipleFileSource class but I can't find a 
> good example on how to use it

"ByteStreamMultiFileSource::createNew()" takes a NULL-terminated array of file 
names.  E.g.,

        char* ourFileNames = new char*[3+1];
        ourFileNames[0] = "ourFile0.ts";
        ourFileNames[1] = "ourFile1.ts";
        ourFileNames[2] = "ourFile2.ts";
        ourFileNames[3] = NULL;

        ByteStreamMultiFileSource* source = 
ByteStreamMultiFileSource::createNew(envir(), ourFileNames);

Alternatively, if your media player client supports playlists, you could give 
it a playlist consisting of multiple "rtsp://" URLs - one for each stream that 
you want to play.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to