Quick Reference
- Class:
CometChat.MainVideoContainerSetting - Apply via:
CallSettingsBuilder.setMainVideoContainerSetting(videoSettings) - Customizable elements: Aspect ratio, full screen button, name label, network label
- Position constants:
POSITION_TOP_LEFT,POSITION_TOP_RIGHT,POSITION_BOTTOM_LEFT,POSITION_BOTTOM_RIGHT - Requires: Ringing or Call Session setup
Implementation
Once you have decided to implement Ringing or Call Session 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 Ringing or Call Session.Main Video Container Setting
TheMainVideoContainerSetting 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:
- JavaScript
- TypeScript
Best Practices
Best Practices
Troubleshooting
Troubleshooting
Next Steps
Ringing
Implement ringing with incoming/outgoing call UI.
Call Session
Implement call session management.
Virtual Background
Add virtual background and blur effects.
Recording
Record calls for playback.