updateMicLevel

fun updateMicLevel(audioProducer: WebRtcProducer?, updateAudioLevel: (Double) -> Unit)

Updates the microphone audio level periodically.

This function would retrieve stats from the audio producer's RTP sender and calculate the audio level. For now, it's a placeholder.

Parameters

audioProducer

The audio producer to monitor

updateAudioLevel

Callback function to handle the updated audio level