Skip to content

Commit

Permalink
Increase default audio bitrates (#1295)
Browse files Browse the repository at this point in the history
* Increase default audio bitrates

Use full band audio 48kbps by default.

* changeset
  • Loading branch information
davidzhao authored Oct 22, 2024
1 parent bde8c12 commit ad16627
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/spicy-moose-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'livekit-client': patch
---

Increase default audio bitrates
10 changes: 5 additions & 5 deletions src/room/track/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,19 +398,19 @@ export namespace AudioPresets {
maxBitrate: 12_000,
};
export const speech: AudioPreset = {
maxBitrate: 20_000,
maxBitrate: 24_000,
};
export const music: AudioPreset = {
maxBitrate: 32_000,
maxBitrate: 48_000,
};
export const musicStereo: AudioPreset = {
maxBitrate: 48_000,
maxBitrate: 64_000,
};
export const musicHighQuality: AudioPreset = {
maxBitrate: 64_000,
maxBitrate: 96_000,
};
export const musicHighQualityStereo: AudioPreset = {
maxBitrate: 96_000,
maxBitrate: 128_000,
};
}

Expand Down

0 comments on commit ad16627

Please sign in to comment.