{callDetails.title}
{this.renderMessage(callState)}
{hasRemoteVideo
? this.renderRemoteVideo()
: this.renderAvatar(callDetails)}
{hasLocalVideo ? this.renderLocalVideo() : null}
{
hangUp({ callId: callDetails.callId });
}}
/>
);
}
private renderAvatar(callDetails: CallDetailsType) {
const { i18n } = this.props;
const {
avatarPath,
color,
name,
phoneNumber,
profileName,
title,
} = callDetails;
return (