import {SPACING} from '@shared/theme';

export const BUFFER_CONFIG = {
  minBufferMs: 1000,
  maxBufferMs: 2000,
  bufferForPlaybackMs: 500,
  bufferForPlaybackAfterRebufferMs: 1000,
};

export const FROZEN_PLAYBACK_END_TOLERANCE_SECONDS = 0.25;
export const FROZEN_PLAYBACK_PROGRESS_TOLERANCE_SECONDS = 0.1;
export const FROZEN_PLAYBACK_TIMEOUT_MS = 2000;

export const STYLES_COMMON_POSITION = SPACING.x1;

export const ASPECT_RATIO_16_9 = {
  height: 1280,
  width: 720,
};
