Group calling: tell RingRTC about our rendered resolutions for perf

This commit is contained in:
Evan Hahn 2020-12-01 19:52:01 -06:00 committed by GitHub
parent b30b83ed57
commit d1866a0e5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 211 additions and 7 deletions

View file

@ -20,6 +20,7 @@ import {
CallMode,
CallState,
GroupCallConnectionState,
GroupCallVideoRequest,
VideoFrameSource,
} from '../types/Calling';
import { ColorType } from '../types/Colors';
@ -45,6 +46,7 @@ export type PropsType = {
profileName?: string;
title: string;
};
setGroupCallVideoRequest: (_: Array<GroupCallVideoRequest>) => void;
setLocalAudio: (_: SetLocalAudioType) => void;
setLocalVideo: (_: SetLocalVideoType) => void;
setLocalPreview: (_: SetLocalPreviewType) => void;
@ -64,6 +66,7 @@ export const CallScreen: React.FC<PropsType> = ({
i18n,
joinedAt,
me,
setGroupCallVideoRequest,
setLocalAudio,
setLocalVideo,
setLocalPreview,
@ -187,6 +190,7 @@ export const CallScreen: React.FC<PropsType> = ({
getGroupCallVideoFrameSource={getGroupCallVideoFrameSource}
i18n={i18n}
remoteParticipants={groupCallParticipants}
setGroupCallVideoRequest={setGroupCallVideoRequest}
/>
);
break;