Constructors
constructor
- new RCMCUConfigBuilder(_executeCtx: CommandExecuteContext, _invoker: Invoker, _isValidTrackId: ((trackId: string) => boolean)): RCMCUConfigBuilder
Parameters
_executeCtx: CommandExecuteContext
_invoker: Invoker
_isValidTrackId: ((trackId: string) => boolean)
- (trackId: string): boolean
Parameters
Returns boolean
Methods
setHostVideoTrack
Parameters
setMixLayoutMode
Parameters
setOutputVideoResolution
Parameters
setOutputVideoFPS
Parameters
setOutputVideoBitrate
Parameters
setOutputTinyVideoResolution
Parameters
setOutputTinyVideoFPS
Parameters
setOutputTinyVideoBitrate
Parameters
setOutputVideoRenderMode
Parameters
setOutputAudioBitrate
Parameters
setOutputBackgroundColor
Parameters
addOutputBackgroundPicture
- addOutputBackgroundPicture(uri: string, x: number, y: number, w: number, h: number): RCMCUConfigBuilder
Parameters
uri: string
x: number
y: number
w: number
h: number
removeOutputBackgroundPicture
Parameters
clearOutputBackgroundPicture
setOutputBackgroundPictureFillMode
Parameters
addPublishStreamUrls
Parameters
removePublishStreamUrls
Parameters
clearPublishStreamUrls
addCustomizeLayoutVideo
- addCustomizeLayoutVideo(trackId: string, x: number, y: number, width: number, height: number): RCMCUConfigBuilder
Parameters
trackId: string
x: number
y: number
width: number
height: number
removeCustomizeLayoutVideo
Parameters
clearCustomizeLayoutVideo
setCustomizeInputAudio
Parameters
addCustomizeInputAudio
Parameters
removeCustomizeInputAudio
Parameters
clearCustomizeInputAudio
addPictureWaterMark
- addPictureWaterMark(trackId: string, uri: string, x: number, y: number, w: number, h: number): RCMCUConfigBuilder
Parameters
trackId: string
uri: string
x: number
y: number
w: number
h: number
clearPictureWaterMark
removePictureWaterMark
Parameters
trackId: string
uri: string
reset
flush
- flush(reset?: boolean): Promise<{ code: RCRTCCode }>
Parameters
Returns Promise<{ code: RCRTCCode }>
trackId 有效性验证方法