org.red5.server.api.stream.support
Modifier and Type | Field and Description |
---|---|
protected long |
length
Length - amount to play
|
protected IMessageInput |
msgInput
Message source
|
protected String |
name
Playlist item name
|
protected long |
start
Start mark
|
Modifier and Type | Method and Description |
---|---|
static SimplePlayItem |
build(String name)
Builder for SimplePlayItem
|
static SimplePlayItem |
build(String name,
long start,
long length)
Builder for SimplePlayItem
|
boolean |
equals(Object obj) |
long |
getLength()
Returns play item length in milliseconds
|
IMessageInput |
getMessageInput()
Returns IMessageInput object.
|
IMessageInput |
getMsgInput()
Alias for getMessageInput
|
String |
getName()
Returns item name
|
long |
getStart()
Returns boolean value that specifies whether item can be played
|
int |
hashCode() |
void |
setMsgInput(IMessageInput msgInput)
Setter for message input
|
protected final String name
protected final long start
protected final long length
protected IMessageInput msgInput
public long getLength()
public IMessageInput getMessageInput()
getMessageInput
in interface IPlayItem
public String getName()
public long getStart()
public IMessageInput getMsgInput()
public void setMsgInput(IMessageInput msgInput)
msgInput
- Message inputpublic static SimplePlayItem build(String name)
name
- public static SimplePlayItem build(String name, long start, long length)
name
- start
- length
- Copyright © 2006-2012 The Red5 Project