org.red5.server.stream.codec
public enum VideoCodec extends Enum<VideoCodec>
Enum Constant and Description |
---|
AVC |
H263 |
JPEG |
SCREEN_VIDEO |
SCREEN_VIDEO2 |
VP6 |
VP6a |
Modifier and Type | Method and Description |
---|---|
byte |
getId()
Returns back a numeric id for this codec,
that happens to correspond to the numeric
identifier that FLV will use for this codec.
|
static VideoCodec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VideoCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoCodec JPEG
public static final VideoCodec H263
public static final VideoCodec SCREEN_VIDEO
public static final VideoCodec VP6
public static final VideoCodec VP6a
public static final VideoCodec SCREEN_VIDEO2
public static final VideoCodec AVC
public static VideoCodec[] values()
for (VideoCodec c : VideoCodec.values()) System.out.println(c);
public static VideoCodec 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 getId()
Copyright © 2006-2012 The Red5 Project