public class SharedObjectTypeMapping extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
static ISharedObjectEvent.Type[] |
typeMap
Types map
|
| Constructor and Description |
|---|
SharedObjectTypeMapping() |
| Modifier and Type | Method and Description |
|---|---|
static byte |
toByte(ISharedObjectEvent.Type type)
Convert SO event type to byte representation that RTMP uses
|
static String |
toString(ISharedObjectEvent.Type type)
String representation of type
|
static ISharedObjectEvent.Type |
toType(byte rtmpType)
Convert byte value of RTMP marker to event type
|
protected static org.slf4j.Logger log
public static final ISharedObjectEvent.Type[] typeMap
public static ISharedObjectEvent.Type toType(byte rtmpType)
rtmpType - RTMP marker valuepublic static byte toByte(ISharedObjectEvent.Type type)
type - Event typepublic static String toString(ISharedObjectEvent.Type type)
type - TypeCopyright © 2005–2017 Red5. All rights reserved.