public static enum RCRTCParamsType.RCRTCVideoFps extends Enum<RCRTCParamsType.RCRTCVideoFps>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getFps() |
float |
getMultiplier() |
static RCRTCParamsType.RCRTCVideoFps |
getVideoFps(String videoProfileLabel)
根据字符串查找对应的
RCRTCParamsType.RCRTCVideoFps枚举值
|
static RCRTCParamsType.RCRTCVideoFps |
parseVideoFps(int frame) |
String |
toString() |
static RCRTCParamsType.RCRTCVideoFps |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RCRTCParamsType.RCRTCVideoFps[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RCRTCParamsType.RCRTCVideoFps Fps_10
public static final RCRTCParamsType.RCRTCVideoFps Fps_15
public static final RCRTCParamsType.RCRTCVideoFps Fps_24
public static final RCRTCParamsType.RCRTCVideoFps Fps_30
public static RCRTCParamsType.RCRTCVideoFps[] values()
for (RCRTCParamsType.RCRTCVideoFps c : RCRTCParamsType.RCRTCVideoFps.values()) System.out.println(c);
public static RCRTCParamsType.RCRTCVideoFps valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static RCRTCParamsType.RCRTCVideoFps parseVideoFps(int frame)
public static RCRTCParamsType.RCRTCVideoFps getVideoFps(String videoProfileLabel)
RCRTCParamsType.RCRTCVideoFps枚举值
videoProfileLabel - 典型值 VD_480x640_15f 必要条件为 _15f 不区分大小写public int getFps()
public float getMultiplier()
public String toString()
toString 在类中 Enum<RCRTCParamsType.RCRTCVideoFps>