Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface for test speaker options.

Hierarchy

  • TestSpeakerOption

Index

Properties

sampleAudioUrl?: string

The sample audio file to play, usually an mp3 file. If not specified, the SDK uses the ring audio.

speakerId?: string

The speaker ID. If not specified, the SDK uses the default speaker.

Methods

  • onAnalyseFrequency(averageFrequency: number): void
  • The average frequency of the stream, usually used to create audio visualization.

    Parameters

    • averageFrequency: number

    Returns void