Show active speaker in group calling PiP
This commit is contained in:
parent
b3c161f484
commit
f3f2cb2b5e
9 changed files with 144 additions and 13 deletions
|
@ -52,6 +52,7 @@ import {
|
|||
import { getOwn } from '../util/getOwn';
|
||||
import { fetchMembershipProof, getMembershipList } from '../groups';
|
||||
import { missingCaseError } from '../util/missingCaseError';
|
||||
import { normalizeGroupCallTimestamp } from '../util/ringrtc/normalizeGroupCallTimestamp';
|
||||
|
||||
const RINGRTC_SFU_URL = 'https://sfu.voip.signal.org/';
|
||||
|
||||
|
@ -598,6 +599,9 @@ export class CallingClass {
|
|||
hasRemoteAudio: !remoteDeviceState.audioMuted,
|
||||
hasRemoteVideo: !remoteDeviceState.videoMuted,
|
||||
isSelf: conversationId === ourConversationId,
|
||||
speakerTime: normalizeGroupCallTimestamp(
|
||||
remoteDeviceState.speakerTime
|
||||
),
|
||||
// If RingRTC doesn't send us an aspect ratio, we make a guess.
|
||||
videoAspectRatio:
|
||||
remoteDeviceState.videoAspectRatio ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue