Up the audio bitrate to minimize clicking
This commit is contained in:
@@ -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"],
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user