Call lobby: render local preview at camera's aspect ratio

This commit is contained in:
Evan Hahn 2020-12-11 18:44:07 -06:00 committed by GitHub
parent 819f5f3001
commit c87ffcd2e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 189 additions and 52 deletions

6
ts/calling/constants.ts Normal file
View file

@ -0,0 +1,6 @@
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
export const REQUESTED_VIDEO_WIDTH = 640;
export const REQUESTED_VIDEO_HEIGHT = 480;
export const REQUESTED_VIDEO_FRAMERATE = 30;