org.red5.server.api.stream
Interface IClientStream
- All Superinterfaces:
- IBWControllable, IStream
- All Known Subinterfaces:
- IClientBroadcastStream, IPlaylistSubscriberStream, ISingleItemSubscriberStream, ISubscriberStream
- All Known Implementing Classes:
- AbstractClientStream, ClientBroadcastStream, PlaylistSubscriberStream
public interface IClientStream
- extends IStream, IBWControllable
A stream that is bound to a client.
- Author:
- The Red5 Project (red5@osflash.org), Steven Gong (steven.gong@gmail.com)
MODE_READ
static final String MODE_READ
- See Also:
- Constant Field Values
MODE_RECORD
static final String MODE_RECORD
- See Also:
- Constant Field Values
MODE_APPEND
static final String MODE_APPEND
- See Also:
- Constant Field Values
MODE_LIVE
static final String MODE_LIVE
- See Also:
- Constant Field Values
MODE_PUBLISH
static final String MODE_PUBLISH
- See Also:
- Constant Field Values
getStreamId
int getStreamId()
- Get stream id allocated in a connection.
- Returns:
- the stream id
getConnection
IStreamCapableConnection getConnection()
- Get connection containing the stream.
- Returns:
- the connection object or
null
if the connection is no longer active
setClientBufferDuration
void setClientBufferDuration(int bufferTime)
- Set the buffer duration for this stream as requested by the client.
- Parameters:
bufferTime
- duration in ms the client wants to buffer
Copyright © 2006-2009 The Red5 Project