mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2026-02-04 18:06:48 +00:00
* durable (no-mistakes) * hatchet no-mistake * hatchet no-mistake * hatchet no-mistake, better logging * remove conductor and add hatchet tests (no-mistakes) * self-review (no-mistakes) * hatched logs * remove shadow mode for hatchet * and add hatchet processor setting to room * . * cleanup * hatchet init db * self-review (no-mistakes) * self-review (no-mistakes) * hatchet: restore zullip report * self-review round * self-review round * self-review round * dry hatchet with celery * dry hatched with celery - 2 * self-review round * more NES instead of str * self-review wip * self-review round * self-review round * self-review round * can_replay cancelled * add forgotten file * pr autoreviewer fixes * better log webhook events * durable_started return * migration sync * latest changes feature parity * migration merge * pr review --------- Co-authored-by: Igor Loskutov <igor.loskutoff@gmail.com>
16 lines
382 B
Python
16 lines
382 B
Python
"""
|
|
Shared audio processing constants.
|
|
|
|
Used by both Hatchet workflows and Celery pipelines for consistent audio encoding.
|
|
"""
|
|
|
|
# Opus codec settings
|
|
OPUS_STANDARD_SAMPLE_RATE = 48000
|
|
OPUS_DEFAULT_BIT_RATE = 128000 # 128kbps for good speech quality
|
|
|
|
# S3 presigned URL expiration
|
|
PRESIGNED_URL_EXPIRATION_SECONDS = 7200 # 2 hours
|
|
|
|
# Waveform visualization
|
|
WAVEFORM_SEGMENTS = 255
|