|
||||||||||
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 channelMethod Detail |
---|
public void pushMessage(IPipe pipe, IMessage message)
pushMessage
in interface IPushableConsumer
pipe
- Pipemessage
- Messagepublic void onPipeConnectionEvent(PipeConnectionEvent event)
onPipeConnectionEvent
in interface IPipeConnectionListener
event
- Pipe connection eventpublic void onOOBControlMessage(IMessageComponent source, IPipe pipe, OOBControlMessage oobCtrlMsg)
onOOBControlMessage
in interface IMessageComponent
source
- Message component sourcepipe
- Connection pipeoobCtrlMsg
- Out-of-band control message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |