PipConfiguration
¶
Source code in docs_src/capo_ivs_realtime/types/pip_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: 0.
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.
pip_behavior
instance-attribute
¶
pip_behavior: NotRequired[PipBehavior]
Defines PiP behavior when all participants have left: STATIC (maintains original position/size) or DYNAMIC (expands to full composition). Default: STATIC.
pip_height
instance-attribute
¶
pip_height: NotRequired[PipHeight]
Specifies the height of the PiP window in pixels. When this is not set explicitly, pipHeight’s value will be based on the size of the composition and the aspect ratio of the participant’s video.
pip_offset
instance-attribute
¶
pip_offset: PipOffset
Sets the PiP window’s offset position in pixels from the closest edges determined by PipPosition. Default: 0.
pip_participant_attribute
instance-attribute
¶
pip_participant_attribute: NotRequired[AttributeKey]
Specifies the participant for the PiP window. A participant with this attribute set to "true" (as a string value) in ParticipantTokenConfiguration is placed in the PiP slot. Default: "" (no PiP participant).
pip_position
instance-attribute
¶
pip_position: NotRequired[PipPosition]
Determines the corner position of the PiP window. Default: BOTTOM_RIGHT.
pip_width
instance-attribute
¶
pip_width: NotRequired[PipWidth]
Specifies the width of the PiP window in pixels. When this is not set explicitly, pipWidth’s value will be based on the size of the composition and the aspect ratio of the participant’s 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). Default: COVER.