Skip to content

Commit 045393a

Browse files
authored
Update volume-indicator-javascript.md
1 parent 0b42a6c commit 045393a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: In this quickstart, you'll learn how to check call volume within yo
55
author: sloanster
66

77
ms.author: micahvivion
8-
ms.date: 1/18/2023
8+
ms.date: 071/28/2025
99
ms.topic: include
1010
ms.service: azure-communication-services
1111
ms.subservice: calling
@@ -14,12 +14,8 @@ ms.custom: mode-other
1414

1515
As a developer you can have control over checking microphone volume in JavaScript. This quickstart shows examples of how to accomplish it within the Azure Communication Services WebJS.
1616

17-
## Prerequisites
18-
>[!IMPORTANT]
19-
> 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.
20-
2117
## 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. Different microphone hardware has different level of sensitivity and it can show different volume levels for the similar environment.
18+
Developers may need to check and display the current local microphone volume or incoming microphone level to end users. The Azure Communication Services calling API provides access to this information through `getVolume`. The `getVolume` value is a number from 0 to 100, where 0 represents no audio detected and 100 is the maximum detectable level. This value is sampled every 200 ms to provide a near real-time measurement of the volume level. Microphone hardware can vary in sensitivity, which may result in different volume readings under similar environmental conditions.
2319

2420
### Example usage
2521
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)