RecorderVideoParameters
An object specifying recorder video parameters. Can be passed via the CallRecordParameters.videoParameters and ConferenceRecorderParameters.videoParameters parameter.
Add the following line to your scenario code to use the interface:
require(Modules.Recorder);
Props
background
background: string
| undefined
HTML color code for the video file background.
bitrate
bitrate: number
| undefined
Video bitrate in kbps.
customData
customData: Object
A container to store custom data for the current recorder.
direction
direction: ltr
| rtl
Video frames' direction, left to right or right to left.
fps
fps: number
| undefined
Video frames per second.
height
height: number
| undefined
Video height in pixels.
layout
layout: grid
| tribune
| custom
Video layout settings. If set to 'grid', all the video frames are the same size. If set to 'tribune', one active video frame is bigger than the others. If set to 'custom', you need to provide a layoutSettings option with an object specifying custom layout settings.
layoutPriority
layoutPriority: vad
| string[]
If layout is set to tribune, specifies which frame is bigger than the others. Set to 'vad' if you want the bigger frame to change to the speaking participant, or specify the participant's ID to show one person constantly.
layoutSettings
layoutSettings:
If layout is set to custom, specifies custom video layout settings.
mixing
mixing: boolean
Whether to create single video file of multiple participants.
objectFit
objectFit: fill
| contain
| cover
| none
How to fill a participant's video source to the conference frame.
width
width: number
| undefined
Video width in pixels.