RCRTCMix Config
Created by wangw on 2019-10-11.
Types
Properties
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
获取合流布局模式
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public void setCustomMixAudio(List<RCRTCMixConfig.CustomLayoutList.CustomMixAudio> customMixAudioList)
传入需要MCU合并的音频流数据
Link copied to clipboard
主播控制 本房间观众 是否能听到对方主播声音 1.
Link copied to clipboard
当做背景的Video Stream 注意: stream 类型必须是VideoStream
Link copied to clipboard
设置合流布局模式
Link copied to clipboard
Link copied to clipboard
public void setMixInputFilterByRoomIds(List<String> roomIds, RCRTCMixMediaType mediaType, boolean isAppend)
设置 MCU 混流配置
Link copied to clipboard
public void setMixInputFilterByStreams(List<RCRTCMixConfig.CustomLayoutList.CustomLayout> videoList, List<RCRTCMixConfig.CustomLayoutList.CustomMixAudio> audioList)
设置 MCU 混流配置
Link copied to clipboard