Skip to main content
Quick Reference for AI Agents & Developers
  • Create settings: MainVideoContainerSetting()
  • Set aspect ratio: setMainVideoAspectRatio(_:).CONTAIN or .COVER
  • Set video params: setVideoStreamParams(_:)
  • Button visibility: setFullScreenButtonParams(_:_:), setZoomButtonParams(_:_:), setUserListButtonParams(_:_:)
  • Name label: setNameLabelParams(_:_:_:) — visibility, position, background color
  • Related: Call Session · Presenter Mode · Calling Overview
This section will guide you to customise the main video container.

Implementation

Once you have decided to implement Default Calling or Direct Calling calling and followed the steps to implement them. Just few additional methods will help you quickly customize the main video container. Please make sure your callSettings is configured accordingly for Default Calling or Direct Calling.

Main Video Container Setting

The MainVideoContainerSetting Class is the required in case you want to customise the main video view. You need to pass the Object of the MainVideoContainerSetting Class in the setMainVideoContainerSetting() method of the CallSettingsBuilder. Example