Package org.red5.server.api.stream
Interface IPlayItem
- All Known Implementing Classes:
DynamicPlayItem
,SimplePlayItem
public interface IPlayItem
Playlist item. Each playlist item has name, start time, length in milliseconds and message input source.
-
Method Details
-
getName
String getName()Get name of item. The VOD or Live stream provider is found according to this name.- Returns:
- the name
-
getStart
long getStart()Start time in milliseconds.- Returns:
- start time
-
getLength
long getLength()Play length in milliseconds.- Returns:
- length in milliseconds
-
getMessageInput
IMessageInput getMessageInput()Get a message input for play. This object overrides the default algorithm for finding the appropriate VOD or Live stream provider according to the item name.- Returns:
- message input
-