public abstract class AbstractClientStream extends AbstractStream implements IClientStream
creationTime, lock, startTime, stateMODE_APPEND, MODE_LIVE, MODE_PUBLISH, MODE_READ, MODE_RECORD| Constructor and Description |
|---|
AbstractClientStream() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBroadcastStreamPublishName()
Returns the published stream name that this client is consuming.
|
int |
getClientBufferDuration()
Get duration in ms as requested by the client.
|
IStreamCapableConnection |
getConnection()
Return connection associated with stream
|
Number |
getStreamId()
Return stream id
|
void |
setBroadcastStreamPublishName(String broadcastStreamPublishName)
Sets the broadcasting streams name.
|
void |
setClientBufferDuration(int duration)
Set the buffer duration for this stream as requested by the client.
|
void |
setConnection(IStreamCapableConnection conn)
Setter for stream capable connection
|
void |
setStreamId(Number streamId)
Setter for stream id
|
addStateChangeListener, fireStateChange, getCodecInfo, getCreationTime, getMetaData, getName, getScope, getStartTime, getState, getStreamAwareHandler, removeStateChangeListener, setCodecInfo, setMetaData, setName, setScope, setStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getCodecInfo, getCreationTime, getName, getScope, getStartTime, start, stoppublic void setStreamId(Number streamId)
streamId - Stream idpublic Number getStreamId()
getStreamId in interface IClientStreampublic void setConnection(IStreamCapableConnection conn)
conn - IStreamCapableConnection objectpublic IStreamCapableConnection getConnection()
getConnection in interface IClientStreampublic void setClientBufferDuration(int duration)
setClientBufferDuration in interface IClientStreamduration - duration in ms the client wants to bufferpublic int getClientBufferDuration()
getClientBufferDuration in interface IClientStreampublic void setBroadcastStreamPublishName(String broadcastStreamPublishName)
setBroadcastStreamPublishName in interface IClientStreambroadcastStreamPublishName - name of the broadcasting streampublic String getBroadcastStreamPublishName()
getBroadcastStreamPublishName in interface IClientStreamCopyright © 2005–2017 Red5. All rights reserved.