2023-01-03 19:55:46 +00:00
|
|
|
// Copyright 2020 Signal Messenger, LLC
|
2020-12-12 00:44:07 +00:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2022-05-19 03:28:51 +00:00
|
|
|
// See `TICK_INTERVAL` in group_call.rs in RingRTC
|
|
|
|
export const AUDIO_LEVEL_INTERVAL_MS = 200;
|
2022-02-25 15:24:05 +00:00
|
|
|
|
2023-07-13 18:30:46 +00:00
|
|
|
export const REQUESTED_VIDEO_WIDTH = 960;
|
|
|
|
export const REQUESTED_VIDEO_HEIGHT = 720;
|
2020-12-12 00:44:07 +00:00
|
|
|
export const REQUESTED_VIDEO_FRAMERATE = 30;
|
2021-01-08 17:32:49 +00:00
|
|
|
|
2023-09-25 16:50:12 +00:00
|
|
|
export const MAX_FRAME_WIDTH = 2880;
|
|
|
|
export const MAX_FRAME_HEIGHT = 1800;
|
2022-05-23 17:16:13 +00:00
|
|
|
export const FRAME_BUFFER_SIZE = MAX_FRAME_WIDTH * MAX_FRAME_HEIGHT * 4;
|