@twilio/voice-sdk
    Preparing search index...

    Function volumeEvent

    • Emitted every 50ms with the current input and output volumes, as a percentage of maximum volume, between -100dB and -30dB. Represented by a floating point number.

      Parameters

      • inputVolume: number

        A floating point number between 0.0 and 1.0 inclusive.

      • outputVolume: number

        A floating point number between 0.0 and 1.0 inclusive.

      Returns void

      call.on('volume', (inputVolume, outputVolume) => { });