public enum VideoStreamingCodec extends Enum<VideoStreamingCodec>
| Enum Constant and Description |
|---|
H264
A block-oriented motion-compensation-based video compression standard.
|
H265
High Efficiency Video Coding (HEVC), also known as H.265 and MPEG-H Part 2, is a video
compression standard, one of several potential successors to the widely used AVC
(H.264 or MPEG-4 Part 10).
|
Theora
Theora is derived from the formerly proprietary VP3 codec, released into the public domain by
On2 Technologies.
|
VP8
VP8 can be multiplexed into the Matroska-based container format WebM along with Vorbis and
Opus audio.
|
VP9
Similar to VP8, but VP9 is customized for video resolutions beyond high-definition video
(UHD) and also enables lossless compression.
|
| Modifier and Type | Method and Description |
|---|---|
static VideoStreamingCodec |
valueForString(String value) |
static VideoStreamingCodec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VideoStreamingCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoStreamingCodec H264
public static final VideoStreamingCodec H265
public static final VideoStreamingCodec Theora
public static final VideoStreamingCodec VP8
public static final VideoStreamingCodec VP9
public static VideoStreamingCodec[] values()
for (VideoStreamingCodec c : VideoStreamingCodec.values()) System.out.println(c);
public static VideoStreamingCodec 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 static VideoStreamingCodec valueForString(String value)