|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.stream.AbstractStream
org.red5.server.stream.AbstractClientStream
public abstract class AbstractClientStream
Abstract base for client streams
Field Summary |
---|
Fields inherited from class org.red5.server.stream.AbstractStream |
---|
creationTime, lock, metaData, state |
Fields inherited from interface org.red5.server.api.stream.IClientStream |
---|
MODE_APPEND, MODE_LIVE, MODE_PUBLISH, MODE_READ, MODE_RECORD |
Constructor Summary | |
---|---|
AbstractClientStream()
|
Method Summary | |
---|---|
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 |
int |
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(int streamId)
Setter for stream id |
Methods inherited from class org.red5.server.stream.AbstractStream |
---|
getCodecInfo, getCreationTime, getMetaData, getName, getScope, getState, getStreamAwareHandler, setCodecInfo, setName, setScope, setState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.red5.server.api.stream.IStream |
---|
close, getCodecInfo, getCreationTime, getName, getScope, start, stop |
Constructor Detail |
---|
public AbstractClientStream()
Method Detail |
---|
public void setStreamId(int streamId)
streamId
- Stream idpublic int getStreamId()
getStreamId
in interface IClientStream
public void setConnection(IStreamCapableConnection conn)
conn
- IStreamCapableConnection objectpublic IStreamCapableConnection getConnection()
getConnection
in interface IClientStream
public void setClientBufferDuration(int duration)
setClientBufferDuration
in interface IClientStream
duration
- duration in ms the client wants to bufferpublic int getClientBufferDuration()
getClientBufferDuration
in interface IClientStream
public void setBroadcastStreamPublishName(String broadcastStreamPublishName)
broadcastStreamPublishName
- name of the broadcasting streampublic String getBroadcastStreamPublishName()
getBroadcastStreamPublishName
in interface IClientStream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |