13 lines
458 B
TypeScript
13 lines
458 B
TypeScript
// Copyright 2020 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
// See `TICK_INTERVAL` in group_call.rs in RingRTC
|
|
export const AUDIO_LEVEL_INTERVAL_MS = 200;
|
|
|
|
export const REQUESTED_VIDEO_WIDTH = 640;
|
|
export const REQUESTED_VIDEO_HEIGHT = 480;
|
|
export const REQUESTED_VIDEO_FRAMERATE = 30;
|
|
|
|
export const MAX_FRAME_WIDTH = 1920;
|
|
export const MAX_FRAME_HEIGHT = 1080;
|
|
export const FRAME_BUFFER_SIZE = MAX_FRAME_WIDTH * MAX_FRAME_HEIGHT * 4;
|