startLocalAudioLevelObserver()

startLocalAudioLevelObserver(interval?: number)

Starts monitoring the audio level from the local participant.

Once started, a 'local-audio-level' event will be emitted containing the latest audio level information.

Interval

The 'local-audio-level' event is emitted at the specified frequency, which can be up to every 100ms.

If no frequency is specified, a default frequency of 500ms is used.

Example