public interface IPlaylistController
Modifier and Type | Method and Description |
---|---|
int |
nextItem(IPlaylist playlist,
int itemIndex)
Get next item to play.
|
int |
previousItem(IPlaylist playlist,
int itemIndex)
Get previous item to play.
|
int nextItem(IPlaylist playlist, int itemIndex)
playlist
- The related play list.itemIndex
- The current item index. -1 indicates to retrieve the first item for play.int previousItem(IPlaylist playlist, int itemIndex)
playlist
- The related play list.itemIndex
- The current item index. IPlaylist.itemSize indicated to retrieve the last item for play.Copyright © 2005–2019 Red5. All rights reserved.