ParticipantCutoutShape: "person" | "standard" | "rectangle" | "circle" | "square" | "verticalRectangle"

The cutout behavior of drawParticipant():

Introduced in client version 5.9.3:

  • "person": Cut out the participant's background

Introduced in client version 5.11.0:

  • "rectangle": Crop the participant's video into a rectangle with rounded corners

Additional shapes added in client version 5.11.3:

  • "standard": Display the participant's full uncropped video
  • "circle": Crop the participant's video into a circle
  • "square": Crop the participant's video into a square with rounded corners
  • "verticalRectangle": Crop the participant's video into a vertical rectangle with rounded corners

Generated using TypeDoc