UpdateRecorderVideoParameters
Updates the current video recorder options. Can be passed as arguments to the ConferenceRecorder.update method.
Add the following line to your scenario code to use the interface:
require(Modules.Recorder);
Props
background
background: string
| undefined
Optional. HTML color code for the video file background.
customData
customData: Object
Optional. A container to store custom data for the current recorder.
direction
direction:
Optional. Video frame's direction, left to right or right to left.
labels
labels:
Optional. Whether to show the participants' names on their video frames.
layout
layout:
Optional. 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 'layout' option with an object that specifies custom layout settings.
layoutPriority
layoutPriority:
Optional. If 'layout' option 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:
Optional. If 'layout' option is set to custom, specifies custom video layout settings.
objectFit
objectFit:
Optional. How to fill a participant's video source to the conference frame.