Skip to content

Commit

Permalink
GitBook: [#664] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
jk14 authored and gitbook-bot committed Jan 30, 2022
1 parent 2178363 commit 5678df0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@
* [\&proxy](newly-added-parameters/and-proxy.md)
* [\&signalmeter](newly-added-parameters/and-signalmeter.md)
* [\&welcome](newly-added-parameters/and-welcome.md)
* [\&audiolatency](newly-added-parameters/and-audiolatency.md)

## Misc options

Expand Down
25 changes: 25 additions & 0 deletions newly-added-parameters/and-audiolatency.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
description: Adds an audio-latency to the published audio stream
---

# \&audiolatency

## Aliases

* `&latency`
* `&al`

## Options

| Value | Description |
| ---------------- | ------------- |
| (no value given) | 10 ms latency |
| (integer value) | latency in ms |

## Details

This is an audio buffer for the microphone. Can be applied to the publisher of an audio stream. The browser default tends to be 10 milliseconds, but 20 or 30 might be a useful option to help reduce audio clicking caused by buffer underruns. The latency value sets the LatencyHint value of the WebAudio audioContext function.

Default is 10ms (lowest also) and higher than like 100ms is probably a bad idea (causes, not reduces, clicking).

That will upscale the sample rate and add a small latency buffer at the same time, so I hope that will help such issues before even hitting the webRTC pipeline

0 comments on commit 5678df0

Please sign in to comment.