public enum RTMPType extends Enum<RTMPType>
| Enum Constant and Description |
|---|
TYPE_ABORT |
TYPE_AGGREGATE |
TYPE_AUDIO_DATA |
TYPE_BYTES_READ |
TYPE_CHUNK_SIZE
The specification refers to the following types by different names: 0x03 = Acknowledgement 0x04 = User control message 0x05 = Window Acknowledgement Size 0x06 = Set Peer Bandwidth 0x0f = AMF3 Data message 0x10 = AMF3 Shared object message 0x11 = AMF3 Command message 0x12 = AMF0 Data message 0x13 = AMF0 Shared object message 0x14 = AMF0 Command message
------------------------------------------------------------------- RTMFP related (here for reference)
0x30 Initiator hello 0x70 Responder hello 0x38 Initiator initial keying 0x78 Responder initial keying 0x0f Forwarded initiator hello 0x71 Forwarded hello response 0x10 Normal user data 0x11 Next user data 0x0c Session failed on client side 0x4c Session died 0x01 Causes response with 0x41, reset keep alive 0x41 Reset times keep alive 0x5e Negative ack 0x51 Some ack
|
TYPE_CLIENT_BANDWIDTH |
TYPE_EDGE_ORIGIN |
TYPE_FLEX_MESSAGE |
TYPE_FLEX_SHARED_OBJECT |
TYPE_FLEX_STREAM_SEND |
TYPE_INVOKE |
TYPE_NOTIFY |
TYPE_PING |
TYPE_SERVER_BANDWIDTH |
TYPE_SHARED_OBJECT |
TYPE_UNK1 |
TYPE_UNK2 |
TYPE_UNK3 |
TYPE_UNK4 |
TYPE_UNK5 |
TYPE_UNK6 |
TYPE_UNK7 |
TYPE_UNK8 |
TYPE_VIDEO_DATA |
| Modifier and Type | Method and Description |
|---|---|
byte |
getType() |
static String |
valueOf(byte dataType) |
static RTMPType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RTMPType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RTMPType TYPE_CHUNK_SIZE
public static final RTMPType TYPE_ABORT
public static final RTMPType TYPE_BYTES_READ
public static final RTMPType TYPE_PING
public static final RTMPType TYPE_SERVER_BANDWIDTH
public static final RTMPType TYPE_CLIENT_BANDWIDTH
public static final RTMPType TYPE_EDGE_ORIGIN
public static final RTMPType TYPE_AUDIO_DATA
public static final RTMPType TYPE_VIDEO_DATA
public static final RTMPType TYPE_UNK1
public static final RTMPType TYPE_UNK2
public static final RTMPType TYPE_UNK3
public static final RTMPType TYPE_UNK4
public static final RTMPType TYPE_UNK5
public static final RTMPType TYPE_FLEX_STREAM_SEND
public static final RTMPType TYPE_FLEX_SHARED_OBJECT
public static final RTMPType TYPE_FLEX_MESSAGE
public static final RTMPType TYPE_NOTIFY
public static final RTMPType TYPE_SHARED_OBJECT
public static final RTMPType TYPE_INVOKE
public static final RTMPType TYPE_UNK6
public static final RTMPType TYPE_AGGREGATE
public static final RTMPType TYPE_UNK7
public static final RTMPType TYPE_UNK8
public static RTMPType[] values()
for (RTMPType c : RTMPType.values()) System.out.println(c);
public static RTMPType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte getType()
public static String valueOf(byte dataType)
Copyright © 2005–2017 Red5. All rights reserved.