GridConfiguration
¶
Source code in docs_src/capo_ivs_realtime/types/grid_configuration.py
featured_participant_attribute
instance-attribute
¶
featured_participant_attribute: NotRequired[AttributeKey]
This attribute name identifies the featured slot. A participant with this attribute set to "true" (as a string value) in ParticipantTokenConfiguration is placed in the featured slot. Default: "" (no featured participant).
grid_gap
instance-attribute
¶
grid_gap: GridGap
Specifies the spacing between participant tiles in pixels. Default: 2.
omit_stopped_video
instance-attribute
¶
omit_stopped_video: OmitStoppedVideo
Determines whether to omit participants with stopped video in the composition. Default: false.
participant_order_attribute
instance-attribute
¶
participant_order_attribute: NotRequired[AttributeKey]
Attribute name in ParticipantTokenConfiguration identifying the participant ordering key. Participants with participantOrderAttribute set to "" or not specified are ordered based on their arrival time into the stage.
video_aspect_ratio
instance-attribute
¶
video_aspect_ratio: NotRequired[VideoAspectRatio]
Sets the non-featured participant display mode, to control the aspect ratio of video tiles. VIDEO is 16:9, SQUARE is 1:1, and PORTRAIT is 3:4. Default: VIDEO.
video_fill_mode
instance-attribute
¶
video_fill_mode: NotRequired[VideoFillMode]
Defines how video content fits within the participant tile: FILL (stretched), COVER (cropped), or CONTAIN (letterboxed). When not set, videoFillMode defaults to COVER fill mode for participants in the grid and to CONTAIN fill mode for featured participants.