Thx, I solved it less elegant, but it is working well. I created a TimerTask 
class, that every 3 seconds is checking ItemIndex. If it is -1 , than playlist 
is stopped and I can reload playlist and start stream again.
 

________________________________

Od: [EMAIL PROTECTED] za uživatele joseph wamicha
Odesláno: út 17.4.2007 14:45
Komu: [email protected]
Předmět: Re: [Red5] Playlist problem


If I remember well, the last time I checked there is no event for checking 
playing of the last item in SimplePlaylistController. It only triggers events 
for playlist changes. 
You could therefore implement/create your own playlistcontroller by 
implementing the IPlaylistController interface or so I can't quite remember, 
and then adding events for onPlaylistEnd. The SimplePlaylistController.java 
class is a good guide.


On 4/17/07, Muller Jan <[EMAIL PROTECTED]> wrote: 

        Hi, I need to know, how to obtain an info, that the last item in 
playlist just finished? I am implementing IstreamAwareScopeHandler, but no 
inherited method tell me, that the last item finished. 

        Thx for any idea.

        Honza 


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




-- 
C is forever. 

<<winmail.dat>>

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

Reply via email to