Skip to content

Commit 5d0c6f0

Browse files
Merge pull request #272945 from sharifrahaman/master
Volume below 30 can be considered as quiet
2 parents 71f7a2a + 974ce5d commit 5d0c6f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/communication-services/quickstarts/voice-video-calling/includes/volume-indicator/volume-indicator-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ As a developer you can have control over checking microphone volume in JavaScrip
1919
> The quick start examples here are available starting in version [1.13.1](https://www.npmjs.com/package/@azure/communication-calling/v/1.13.1) of the calling Web SDK. Make sure to use that SDK version or newer when trying this quickstart.
2020
2121
## Checking the audio stream volume
22-
As a developer it can be nice to have the ability to check and display to end users the current local microphone volume or the incoming microphone level. Azure Communication Services calling API exposes this information using `getVolume`. The `getVolume` value is a number ranging from 0 to 100 (with 0 noting zero audio detected, 100 as the max level detectable). This value is sampled every 200 ms to get near real time value of volume level.
22+
As a developer it can be nice to have the ability to check and display to end users the current local microphone volume or the incoming microphone level. Azure Communication Services calling API exposes this information using `getVolume`. The `getVolume` value is a number ranging from 0 to 100 (with 0 noting zero audio detected, 100 as the max level detectable). This value is sampled every 200 ms to get near real time value of volume level. Different microphone hardware has different level of sensitivity and it can show different volume levels for the similar environment.
2323

2424
### Example usage
2525
This example shows how to generate the volume level by accessing `getVolume` of the local audio stream and of the remote incoming audio stream.

0 commit comments

Comments
 (0)