-
-
Notifications
You must be signed in to change notification settings - Fork 821
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2178363
commit 5678df0
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |