[Live-devel] Stream multiple files

Hedi Naily hedi_naily at yahoo.fr
Mon Sep 29 01:59:02 PDT 2014


Thanks for your reply,

Will files be played as if they are one file? I mean without interruptions at the end of each one?
And for mp3 files, where should I make the changes you suggested (which class)
 
______________
Hedi NAILY
Software developper
Tel. : +21622866616


Le Vendredi 26 septembre 2014 18h15, Ross Finlayson <finlayson at live555.com> a écrit :
 




On Sep 26, 2014, at 2:50 AM, Hedi Naily <hedi_naily at 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 at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140929/1f8ef93a/attachment-0001.html>


More information about the live-devel mailing list