Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface for test speaker options.

Hierarchy

  • TestSpeakerOption

Index

Properties

Optional onAnalyseFrequency

onAnalyseFrequency: (averageFrequency: number) => void

The average frequency of the stream, usually used to create audio visualization.

Type declaration

    • (averageFrequency: number): void
    • Parameters

      • averageFrequency: number

      Returns void

Optional sampleAudioUrl

sampleAudioUrl: string

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

Optional speakerId

speakerId: string

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