public static enum RCRTCStream.RCRTCType extends Enum<RCRTCStream.RCRTCType>
| 枚举常量和说明 |
|---|
CDN
CDN流
|
CUSTOMIZED
自定义音视频流,用户通过发布文件流和自定义视频
|
DEFAULT
默认音视频流,一般来自相机和麦克风
|
LIVE
直播流
|
SCREEN_SHARE
屏幕共享流
|
public static final RCRTCStream.RCRTCType DEFAULT
public static final RCRTCStream.RCRTCType CUSTOMIZED
public static final RCRTCStream.RCRTCType CDN
public static final RCRTCStream.RCRTCType LIVE
public static final RCRTCStream.RCRTCType SCREEN_SHARE
public static RCRTCStream.RCRTCType[] values()
for (RCRTCStream.RCRTCType c : RCRTCStream.RCRTCType.values()) System.out.println(c);
public static RCRTCStream.RCRTCType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值