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

    Function warningEvent

    • Emitted when the SDK detects a drop in call quality or other conditions that may indicate the user is having trouble with the call. You can implement callbacks on these events to alert the user of an issue.

      To alert the user that an issue has been resolved, you can listen for the warning-cleared event, which indicates that a call quality metric has returned to normal.

      For a full list of conditions that will raise a warning event, check the Voice Insights SDK Events Reference page.

      Parameters

      • name: string

        The name of the warning

      • data: any

        An object containing data on the warning

      Returns void

      call.on('warning', (name, data) => { });