public static enum Constants.VideoSourceType extends java.lang.Enum<Constants.VideoSourceType>
Enum Constant and Description |
---|
VIDEO_SOURCE_CAMERA_PRIMARY
Video captured by the camera.
|
VIDEO_SOURCE_CAMERA_SECONDARY
Video captured by the secondary camera.
|
VIDEO_SOURCE_CUSTOM
Video for external video frame
|
VIDEO_SOURCE_MEDIA_PLAYER
Video for media player sharing.
|
VIDEO_SOURCE_REMOTE
Remote video received from network.
|
VIDEO_SOURCE_RTC_IMAGE_GIF
Video for png image.
|
VIDEO_SOURCE_RTC_IMAGE_JPEG
Video for png image.
|
VIDEO_SOURCE_RTC_IMAGE_PNG
Video for png image.
|
VIDEO_SOURCE_SCREEN_PRIMARY
Video for screen sharing.
|
VIDEO_SOURCE_SCREEN_SECONDARY
Video for secondary screen sharing.
|
VIDEO_SOURCE_TRANSCODED
Video for transcoded.
|
VIDEO_SOURCE_UNKNOWN
Not define.
|
Modifier and Type | Method and Description |
---|---|
static Constants.VideoSourceType |
fromInt(int v) |
int |
getValue() |
static int |
getValue(Constants.VideoSourceType type) |
static Constants.VideoSourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.VideoSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.VideoSourceType VIDEO_SOURCE_CAMERA_PRIMARY
public static final Constants.VideoSourceType VIDEO_SOURCE_CAMERA_SECONDARY
public static final Constants.VideoSourceType VIDEO_SOURCE_SCREEN_PRIMARY
public static final Constants.VideoSourceType VIDEO_SOURCE_SCREEN_SECONDARY
public static final Constants.VideoSourceType VIDEO_SOURCE_CUSTOM
public static final Constants.VideoSourceType VIDEO_SOURCE_MEDIA_PLAYER
public static final Constants.VideoSourceType VIDEO_SOURCE_RTC_IMAGE_PNG
public static final Constants.VideoSourceType VIDEO_SOURCE_RTC_IMAGE_JPEG
public static final Constants.VideoSourceType VIDEO_SOURCE_RTC_IMAGE_GIF
public static final Constants.VideoSourceType VIDEO_SOURCE_REMOTE
public static final Constants.VideoSourceType VIDEO_SOURCE_TRANSCODED
public static final Constants.VideoSourceType VIDEO_SOURCE_UNKNOWN
public static Constants.VideoSourceType[] values()
for (Constants.VideoSourceType c : Constants.VideoSourceType.values()) System.out.println(c);
public static Constants.VideoSourceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static int getValue(Constants.VideoSourceType type)
public static Constants.VideoSourceType fromInt(int v)