Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAudioLevel ¶
convert decibel back to linear
Types ¶
type AudioLevel ¶
type AudioLevel struct {
// contains filtered or unexported fields
}
keeps track of audio level for a participant
func NewAudioLevel ¶
func NewAudioLevel(params AudioLevelParams) *AudioLevel
func (*AudioLevel) GetLevel ¶
func (l *AudioLevel) GetLevel() (float64, bool)
returns current soothed audio level
func (*AudioLevel) Observe ¶
func (l *AudioLevel) Observe(level uint8, durationMs uint32)
Observes a new frame, must be called from the same thread
Click to show internal directories.
Click to hide internal directories.