MiniAudioPlayer

A class for playing audio streams with optional waveform visualization.

The MiniAudioPlayer plays an audio stream and can display visual audio waveforms to indicate active audio levels. It monitors audio decibels, participant status, and room configurations, providing real-time visual feedback based on audio activity.

This class supports functionalities such as muting/unmuting, waveform display toggling, updating audio decibels, and managing audio activity for participants in breakout rooms.

Constructors

Link copied to clipboard
constructor(options: MiniAudioPlayerOptions)

Functions

Link copied to clipboard

Gets the current state of the audio player.

Link copied to clipboard

Renders the mini audio component if available.

Link copied to clipboard

Starts the audio analysis and monitoring.

Link copied to clipboard

Stops the audio analysis and monitoring.