Yes I know. But my trick is, that I always append new items. Now in test version, there is no generator of playlist, but it loads URL with new playlist (generated for the time, when it is called). So thats it. I will try IPlaylistController - I wanted, but I was little scaried about that. Lets see, what it can do.
Tom 2007/2/25, joseph wamicha <[EMAIL PROTECTED]>:
>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
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
