Show speaking indicator in 1:1 calls

This commit is contained in:
Scott Nonnenberg
2025-03-01 05:42:08 +10:00
committed by GitHub
parent 938f39cad1
commit cf4b068ab2
12 changed files with 134 additions and 13 deletions

View File

@@ -876,6 +876,15 @@ export function CallScreen({
}
/>
) : null}
{activeCall.callMode === CallMode.Direct && (
<div className="module-ongoing-call__direct-call-speaking-indicator">
<CallingAudioIndicator
hasAudio
audioLevel={activeCall.remoteAudioLevel}
shouldShowSpeaking={activeCall.remoteAudioLevel > 0}
/>
</div>
)}
{/* We render the local preview first and set the footer flex direction to row-reverse
to ensure the preview is visible at low viewport widths. */}
<div className="module-ongoing-call__footer">