| Package | Description |
|---|---|
| org.red5.server.net.rtmp | |
| org.red5.server.net.rtmp.codec | |
| org.red5.server.stream.consumer |
| Modifier and Type | Class and Description |
|---|---|
class |
RTMPMinaConnection
Represents an RTMP connection using Mina.
|
| Modifier and Type | Method and Description |
|---|---|
protected RTMPConnection |
Channel.getConnection()
Getter for RTMP connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
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 abstract void |
BaseRTMPHandler.onSharedObject(RTMPConnection conn,
Channel channel,
Header source,
SharedObjectMessage message)
Shared object event handler.
|
protected void |
RTMPHandler.onSharedObject(RTMPConnection conn,
Channel channel,
Header source,
SharedObjectMessage message)
Shared object event handler.
|
protected void |
BaseRTMPHandler.onStreamBytesRead(RTMPConnection conn,
Channel channel,
Header source,
BytesRead streamBytesRead)
Stream bytes read event handler.
|
| Constructor and Description |
|---|
Channel(RTMPConnection conn,
int channelId)
Creates channel from connection and channel id
|
ReceivedMessageTask(String sessionId,
Packet packet,
IRTMPHandler handler,
RTMPConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
Object |
RTMPProtocolDecoder.decode(RTMPConnection conn,
RTMPDecodeState state,
org.apache.mina.core.buffer.IoBuffer in)
Decodes the buffer data.
|
List<Object> |
RTMPProtocolDecoder.decodeBuffer(RTMPConnection conn,
org.apache.mina.core.buffer.IoBuffer buffer)
Decode all available objects in buffer.
|
IRTMPEvent |
RTMPProtocolDecoder.decodeMessage(RTMPConnection conn,
Header header,
org.apache.mina.core.buffer.IoBuffer in)
Decodes RTMP message event.
|
Packet |
RTMPProtocolDecoder.decodePacket(RTMPConnection conn,
RTMPDecodeState state,
org.apache.mina.core.buffer.IoBuffer in)
Decodes an IoBuffer into a Packet.
|
| Constructor and Description |
|---|
ConnectionConsumer(RTMPConnection conn,
Channel videoChannel,
Channel audioChannel,
Channel dataChannel)
Create RTMP connection consumer for given connection and channels.
|
Copyright © 2005–2017 Red5. All rights reserved.