|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.server.stream.consumer.ConnectionConsumer
public class ConnectionConsumer
RTMP connection consumer.
| Field Summary | |
|---|---|
static String |
KEY
Connection consumer class name |
| Constructor Summary | |
|---|---|
ConnectionConsumer(RTMPConnection conn,
int videoChannel,
int audioChannel,
int dataChannel)
Create rtmp connection consumer for given connection and channels |
|
| Method Summary | |
|---|---|
void |
onOOBControlMessage(IMessageComponent source,
IPipe pipe,
OOBControlMessage oobCtrlMsg)
|
void |
onPipeConnectionEvent(PipeConnectionEvent event)
Pipe connection event handler |
void |
pushMessage(IPipe pipe,
IMessage message)
Pushes message through pipe |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String KEY
| Constructor Detail |
|---|
public ConnectionConsumer(RTMPConnection conn,
int videoChannel,
int audioChannel,
int dataChannel)
conn - RTMP connectionvideoChannel - Video channelaudioChannel - Audio channeldataChannel - Data channel| Method Detail |
|---|
public void pushMessage(IPipe pipe,
IMessage message)
pushMessage in interface IPushableConsumerpipe - Pipemessage - Messagepublic void onPipeConnectionEvent(PipeConnectionEvent event)
onPipeConnectionEvent in interface IPipeConnectionListenerevent - Pipe connection event
public void onOOBControlMessage(IMessageComponent source,
IPipe pipe,
OOBControlMessage oobCtrlMsg)
onOOBControlMessage in interface IMessageComponentsource - Message component sourcepipe - Connection pipe
TODOoobCtrlMsg - Out-of-band control message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||