RCRTCMixConfig

public class RCRTCMixConfig

Created by wangw on 2019-10-11.

Constructors

Link copied to clipboard
public void RCRTCMixConfig(List<CDNPushUrl> urls)
设置 MCU 合流布局,为 CDN 推流专用
public void RCRTCMixConfig()
设置合流布局专用

Types

Link copied to clipboard
public class CustomLayoutList
Link copied to clipboard
public class MediaConfig
Link copied to clipboard
public enum MixLayoutMode
Link copied to clipboard
public enum VideoRenderMode

Properties

Link copied to clipboard
public final static Creator<RCRTCMixConfig> CREATOR
Link copied to clipboard
public String hostUserId
Link copied to clipboard
Link copied to clipboard
public int version
version : 1 mode : 1 host_user_id : 001 output : {"video":{"normal":{"width":360,"height":640,"fps":25,"bitrate":800},"tiny":{"width":180,"height":320,"fps":15,"bitrate":200},"exparams":{"renderMode":1}},"audio":{"bitrate":200}} input : {"video":[{"user_id":"111","x":0,"y":0,"width":180,"height":320},{"user_id":"2222","x":180,"y":320,"width":180,"height":320}]}

Functions

Link copied to clipboard
public int describeContents()
Link copied to clipboard
public String getHostStreamId()
Link copied to clipboard
public String getHostUserId()
Link copied to clipboard
public List<String> getInputFilterMixRooms()
Link copied to clipboard
获取合流布局模式
Link copied to clipboard
Link copied to clipboard
public RCMixInputFilterMode getMixInputFilterMode()
Link copied to clipboard
public int getVersion()
Link copied to clipboard
public boolean isCustomMode()
Link copied to clipboard
Link copied to clipboard
传入需要MCU合并的音频流数据
Link copied to clipboard
public void setCustomMode(boolean customMode)
主播控制 本房间观众 是否能听到对方主播声音 1.
Link copied to clipboard
public void setHostVideoStream(RCRTCStream stream)
当做背景的Video Stream 注意: stream 类型必须是VideoStream
Link copied to clipboard
设置合流布局模式
Link copied to clipboard
public void setMediaConfig(RCRTCMixConfig.MediaConfig mediaConfig)
Link copied to clipboard
public void setMixInputFilterByRoomIds(List<String> roomIds, RCRTCMixMediaType mediaType, boolean isAppend)
设置 MCU 混流配置
Link copied to clipboard
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)