|
||||||||||
| 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
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.red5.server.stream.AbstractStream |
|---|
AbstractStream.State |
| Field Summary |
|---|
| Fields inherited from class org.red5.server.stream.AbstractStream |
|---|
creationTime, 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 | |
|---|---|
IBandwidthConfigure |
getBandwidthConfigure()
Return stream bandwidth configuration |
int |
getClientBufferDuration()
Get duration in ms as requested by the client. |
IStreamCapableConnection |
getConnection()
Return connection associated with stream |
IBWControllable |
getParentBWControllable()
Return parent flow controllable object (bandwidth preferences holder) |
int |
getStreamId()
Return stream id |
void |
setBandwidthConfigure(IBandwidthConfigure config)
Setter for bandwidth config |
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, getName, getScope, getStreamAwareHandler, setCodecInfo, setName, setScope |
| 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 int getStreamId()
getStreamId in interface IClientStreampublic IStreamCapableConnection getConnection()
getConnection in interface IClientStreampublic IBandwidthConfigure getBandwidthConfigure()
getBandwidthConfigure in interface IBWControllablepublic void setBandwidthConfigure(IBandwidthConfigure config)
setBandwidthConfigure in interface IBWControllableconfig - Bandwidth configpublic IBWControllable getParentBWControllable()
getParentBWControllable in interface IBWControllablepublic void setStreamId(int streamId)
streamId - Stream idpublic void setConnection(IStreamCapableConnection conn)
conn - IStreamCapableConnection objectpublic void setClientBufferDuration(int duration)
setClientBufferDuration in interface IClientStreamduration - duration in ms the client wants to bufferpublic int getClientBufferDuration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||