public class RCRTCLiveInfoImpl extends Object implements RCRTCLiveInfo, Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
限定符和类型 | 字段和说明 |
---|---|
static Parcelable.Creator<RCRTCLiveInfoImpl> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
限定符 | 构造器和说明 |
---|---|
protected |
RCRTCLiveInfoImpl(Parcel in) |
|
RCRTCLiveInfoImpl(String roomId,
String liveUrl,
String userId,
String configUrl) |
限定符和类型 | 方法和说明 |
---|---|
void |
addPublishStreamUrl(String url,
IRCRTCResultDataCallback<String[]> callBack)
添加推流地址
|
String[] |
copyPublishStreamUrlArray() |
int |
describeContents() |
void |
enableInnerCDN(boolean enable,
IRCRTCResultCallback callBack)
Added from 5.1.5
是否开启内置 CDN
|
String |
getConfigUrl() |
String |
getLiveUrl()
获取直播地址
|
String |
getRoomId()
获取当前直播房间号
|
String |
getUserId()
获取当前用户 ID
|
void |
removePublishStreamUrl(String url,
IRCRTCResultDataCallback<String[]> callBack)
删除推流地址
|
void |
setMixConfig(RCRTCMixConfig mixConfig,
IRCRTCResultCallback callBack)
视频画面的布局模式
|
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<RCRTCLiveInfoImpl> CREATOR
public RCRTCLiveInfoImpl(String roomId, String liveUrl, String userId, String configUrl)
protected RCRTCLiveInfoImpl(Parcel in)
public String getRoomId()
getRoomId
在接口中 RCRTCLiveInfo
public String getLiveUrl()
getLiveUrl
在接口中 RCRTCLiveInfo
public String getUserId()
RCRTCLiveInfo
getUserId
在接口中 RCRTCLiveInfo
public String getConfigUrl()
public void addPublishStreamUrl(String url, IRCRTCResultDataCallback<String[]> callBack)
addPublishStreamUrl
在接口中 RCRTCLiveInfo
url
- 推流地址callBack
- public void enableInnerCDN(boolean enable, IRCRTCResultCallback callBack)
RCRTCLiveInfo
enableInnerCDN
在接口中 RCRTCLiveInfo
callBack
- 开启成功或失败回调public void removePublishStreamUrl(String url, IRCRTCResultDataCallback<String[]> callBack)
removePublishStreamUrl
在接口中 RCRTCLiveInfo
url
- 推流地址callBack
- public String[] copyPublishStreamUrlArray()
public void setMixConfig(RCRTCMixConfig mixConfig, IRCRTCResultCallback callBack)
setMixConfig
在接口中 RCRTCLiveInfo
mixConfig
- callBack
- public int describeContents()
describeContents
在接口中 Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
在接口中 Parcelable