Platform docs
Auth, users, webhooks & more

Audio Volume Indicator

The audio indicator provides visual feedback when a user connected to the call is speaking.

Audio Indicator

You can observe several things about audio in the CallParticipantState class such as:

  • Check if the current user is the dominant speaker: participantState.isDominantSpeaker
  • Check if the current user is speaking: participantState.isSpeaking
  • Check the audio level of the user: participantState.audioLevel

Customising the audio volume indicator

You can change the color of the audio indicator using the audioLevelIndicatorColor parameter of the StreamCallParticipant widget:

StreamCallContainer(
  // ...
  callContentWidgetBuilder: (
    BuildContext context,
    Call call,
  ) {
    return StreamCallContent(
      call: call,
      callParticipantsWidgetBuilder: (
        BuildContext context,
        Call call,
      ) {
        return StreamCallParticipants(
          call: call,
          callParticipantBuilder: (
            BuildContext context,
            Call call,
            CallParticipantState participantState,
          ) {
            return StreamCallParticipant(
              call: call,
              participant: participantState,
              audioLevelIndicatorColor: Colors.teal,
            );
          },
        );
      },
    );
  },
),
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Video Flutter v1: <Your Question>