And when last item finished it appends new (but same) items to playlist.
Later on, it will append new different items.

I have put in a patch in JIRA: http://jira.red5.org/browse/SN-27

So to loop through your playlist do:
serverStream.setRepeat(true);
So, no need for append.

You may also do setRandom(true);
The random has to play the first item first, after which it then goes
random.

Also, I saw your question earlier in the post. To detect a playlist item
change (ie streamPlaylistItemChange), create your own playlistcontroller
that implements IPlaylistController interface. Thus, everytime a new item
begins, your playlist controller's nextItem method will be called (so that
you will be able to capture that particular item change). To detect the
streamPlaylistItemsFinished, then when the nextItem returns an index that is
equal to the size of your playlist, then you would know it has finished.

--
C is forever.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to