logo
On this page

Hide the label on the user view

By default, the Call Kit (ZegoUIkitPrebuiltCall) displays UserNameLabel, MicrophoneStateIcon, and CameraStateIcon floating above the view. If these components are not needed, you can hide them using the following three configurations in audioVideoViewConfig.

ConfigEffects
1. showMicrophoneStateOnView: Whether to display the microphone state on the view. Displayed by default.
2. showCameraStateOnView: Whether to display the camera state on the view. Displayed by default.
3. showUserNameOnView: Indicates whether to display the username on the view. Displayed by default.

Hide sound waves

As shown in the rendering, the Call Kit (ZegoUIkitPrebuiltCall) displays the user's avatar and sound waves when the camera is turned off. If you are not satisfied with the user avatars and sound wave style, you can hide them using the showSoundWavesInAudioMode configurations in audioVideoViewConfig.

  • ShowSoundWavesInAudioMode: In audio mode, whether to display the sound waves around the user avatar in audio mode. Displayed by default.

On this page

Back to top