Package org.kurento.client
Enum MediaProfileSpecType
- java.lang.Object
-
- java.lang.Enum<MediaProfileSpecType>
-
- org.kurento.client.MediaProfileSpecType
-
- All Implemented Interfaces:
Serializable
,Comparable<MediaProfileSpecType>
public enum MediaProfileSpecType extends Enum<MediaProfileSpecType>
Media profile, used by the RecorderEndpoint builder to specify the codecs and media container that should be used for the recordings.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLV
JPEG_VIDEO_ONLY
KURENTO_SPLIT_RECORDER
MKV
MKV_AUDIO_ONLY
MKV_VIDEO_ONLY
MP4
MP4_AUDIO_ONLY
MP4_VIDEO_ONLY
WEBM
WEBM_AUDIO_ONLY
WEBM_VIDEO_ONLY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MediaProfileSpecType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MediaProfileSpecType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WEBM
public static final MediaProfileSpecType WEBM
-
MKV
public static final MediaProfileSpecType MKV
-
MP4
public static final MediaProfileSpecType MP4
-
WEBM_VIDEO_ONLY
public static final MediaProfileSpecType WEBM_VIDEO_ONLY
-
WEBM_AUDIO_ONLY
public static final MediaProfileSpecType WEBM_AUDIO_ONLY
-
MKV_VIDEO_ONLY
public static final MediaProfileSpecType MKV_VIDEO_ONLY
-
MKV_AUDIO_ONLY
public static final MediaProfileSpecType MKV_AUDIO_ONLY
-
MP4_VIDEO_ONLY
public static final MediaProfileSpecType MP4_VIDEO_ONLY
-
MP4_AUDIO_ONLY
public static final MediaProfileSpecType MP4_AUDIO_ONLY
-
JPEG_VIDEO_ONLY
public static final MediaProfileSpecType JPEG_VIDEO_ONLY
-
KURENTO_SPLIT_RECORDER
public static final MediaProfileSpecType KURENTO_SPLIT_RECORDER
-
FLV
public static final MediaProfileSpecType FLV
-
-
Method Detail
-
values
public static MediaProfileSpecType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MediaProfileSpecType c : MediaProfileSpecType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MediaProfileSpecType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-