Up the audio bitrate to minimize clicking

This commit is contained in:
2026-03-01 07:25:11 +01:00
parent 06fe74975b
commit 2f59a2a032
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ PRIVATE_BASE = f"https://{HOST}/proxy/protect/api"
CAMERA_NAME = "G6 Pro 360"
AUDIO_FILE = "./data/hello.wav"
SPEAKER_VOLUME = 50 # 0-100
SPEAKER_VOLUME = 100 # 0-100
def set_speaker_volume(camera_id: str, volume: int):
@@ -63,7 +63,7 @@ def main():
"-acodec", "libopus",
"-ar", str(session["samplingRate"]),
"-ac", "1",
"-b:a", "64k",
"-b:a", "96k",
"-f", "rtp", session["url"],
])