Uses of Class
org.red5.server.net.rtmp.RTMPConnection
Package
Description
-
Uses of RTMPConnection in org.red5.server.net.rtmp
Modifier and TypeClassDescriptionclass
Represents an RTMP connection using Mina.Modifier and TypeFieldDescriptionprivate final RTMPConnection
ReceivedMessageTask.conn
private final RTMPConnection
Channel.connection
RTMP connection used to transfer packets.Modifier and TypeFieldDescriptionprotected ConcurrentMap<String,
RTMPConnection> RTMPConnManager.connMap
protected static IConnectionManager<RTMPConnection>
RTMPConnManager.instance
Modifier and TypeMethodDescriptionIRTMPConnManager.createConnection
(Class<?> connCls) Creates a connection based on the given RTMPConnection class.RTMPConnManager.createConnection
(Class<?> connCls) Creates a connection based on the given type class.RTMPConnManager.createConnection
(Class<?> connCls, String sessionId) Creates a connection of the type specified with associated session id.RTMPConnManager.createConnectionInstance
(Class<?> cls) Creates a connection instance based on the supplied type.protected RTMPConnection
Channel.getConnection()
Getter for RTMP connection.IRTMPConnManager.getConnection
(int clientId) Returns a connection matching the given client id.RTMPConnManager.getConnection
(int clientId) Returns a connection for a given client id.IRTMPConnManager.getConnectionBySessionId
(String sessionId) Returns a connection matching the given session id.RTMPConnManager.getConnectionBySessionId
(String sessionId) Returns a connection for a given session id.IRTMPConnManager.removeConnection
(int clientId) Removes a connection matching the client id specified.RTMPConnManager.removeConnection
(int clientId) Removes a connection matching the client id specified.RTMPConnManager.removeConnection
(String sessionId) Removes a connection by the given sessionId.Modifier and TypeMethodDescriptionRTMPConnManager.getAllConnections()
Returns all the current connections.static IConnectionManager<RTMPConnection>
RTMPConnManager.getInstance()
IRTMPConnManager.removeConnections()
Removes all the connections from the set.RTMPConnManager.removeConnections()
Removes all the connections from the set.Modifier and TypeMethodDescriptionvoid
BaseRTMPHandler.connectionClosed
(RTMPConnection conn) Connection closed.void
IRTMPHandler.connectionClosed
(RTMPConnection conn) Connection closed.void
BaseRTMPHandler.connectionOpened
(RTMPConnection conn) Connection open event.void
IRTMPHandler.connectionOpened
(RTMPConnection conn) Connection open event.protected void
BaseRTMPHandler.handlePendingCallResult
(RTMPConnection conn, Invoke invoke) Handler for pending call result.protected void
RTMPHandler.invokeCall
(RTMPConnection conn, IServiceCall call) Remoting call invocation handler.boolean
RTMPHandler.invokeCall
(RTMPConnection conn, IServiceCall call, Object service) Remoting call invocation handler.boolean
RTMPHandler.isAllowedIfRtmpPlayback
(RTMPConnection conn, Channel channel, StreamAction streamAction) void
RTMPHandler.logStreamNames
(RTMPConnection conn) void
BaseRTMPHandler.messageReceived
(RTMPConnection conn, Packet packet) Message received.void
IRTMPHandler.messageReceived
(RTMPConnection conn, Packet packet) Message received.void
BaseRTMPHandler.messageSent
(RTMPConnection conn, Packet packet) Message sent.void
IRTMPHandler.messageSent
(RTMPConnection conn, Packet packet) Message sent.protected abstract void
BaseRTMPHandler.onChunkSize
(RTMPConnection conn, Channel channel, Header source, ChunkSize chunkSize) Chunk size change event handler.protected void
RTMPHandler.onChunkSize
(RTMPConnection conn, Channel channel, Header source, ChunkSize chunkSize) Chunk size change event handler.protected void
BaseRTMPHandler.onClientBandwidth
(RTMPConnection conn, Channel channel, ClientBW message) Client bandwidth / Peer bandwidth set event handler.protected abstract void
BaseRTMPHandler.onCommand
(RTMPConnection conn, Channel channel, Header source, ICommand command) Command event handler, which current consists of an Invoke or Notify type object.protected void
RTMPHandler.onCommand
(RTMPConnection conn, Channel channel, Header source, ICommand command) Command event handler, which current consists of an Invoke or Notify type object.protected abstract void
BaseRTMPHandler.onPing
(RTMPConnection conn, Channel channel, Header source, Ping ping) Ping event handler.protected void
RTMPHandler.onPing
(RTMPConnection conn, Channel channel, Header source, Ping ping) Ping event handler.protected void
BaseRTMPHandler.onServerBandwidth
(RTMPConnection conn, Channel channel, ServerBW message) Server bandwidth / Window ACK size event handler.protected void
BaseRTMPHandler.onStreamBytesRead
(RTMPConnection conn, Channel channel, Header source, BytesRead streamBytesRead) Stream bytes read event handler.void
RTMPConnManager.setConnection
(RTMPConnection conn) Adds a connection.ModifierConstructorDescriptionChannel
(RTMPConnection conn, int channelId) Creates channel from connection and channel idReceivedMessageTask
(String sessionId, Packet packet, IRTMPHandler handler, RTMPConnection conn) -
Uses of RTMPConnection in org.red5.server.net.rtmp.codec
Modifier and TypeMethodDescriptionRTMPProtocolDecoder.decode
(RTMPConnection conn, RTMPDecodeState state, org.apache.mina.core.buffer.IoBuffer in) Decodes the buffer data.RTMPProtocolDecoder.decodeBuffer
(RTMPConnection conn, org.apache.mina.core.buffer.IoBuffer buffer) Decode all available objects in buffer.RTMPProtocolDecoder.decodeMessage
(RTMPConnection conn, Header header, org.apache.mina.core.buffer.IoBuffer in) Decodes RTMP message event.RTMPProtocolDecoder.decodePacket
(RTMPConnection conn, RTMPDecodeState state, org.apache.mina.core.buffer.IoBuffer in) Decodes an IoBuffer into a Packet. -
Uses of RTMPConnection in org.red5.server.stream.consumer
Modifier and TypeFieldDescriptionprivate RTMPConnection
ConnectionConsumer.conn
Connection objectModifierConstructorDescriptionConnectionConsumer
(RTMPConnection conn, Channel videoChannel, Channel audioChannel, Channel dataChannel) Create RTMP connection consumer for given connection and channels.