public enum RCRTCAVStreamType extends Enum<RCRTCAVStreamType>
| 枚举常量和说明 |
|---|
AUDIO
仅音频
|
AUDIO_VIDEO
音频+视频(大流)
|
AUDIO_VIDEO_TINY
音频+视频(小流)
|
VIDEO
仅大流视频
|
VIDEO_TINY
仅小流视频
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getMediaType() |
RCRTCRoomType |
getRoomType() |
int |
getSimulcast() |
static RCRTCAVStreamType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RCRTCAVStreamType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RCRTCAVStreamType AUDIO
public static final RCRTCAVStreamType VIDEO
public static final RCRTCAVStreamType AUDIO_VIDEO
public static final RCRTCAVStreamType VIDEO_TINY
public static final RCRTCAVStreamType AUDIO_VIDEO_TINY
public static RCRTCAVStreamType[] values()
for (RCRTCAVStreamType c : RCRTCAVStreamType.values()) System.out.println(c);
public static RCRTCAVStreamType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getMediaType()
public RCRTCRoomType getRoomType()
public int getSimulcast()