Hello,
I'm using LibVLCSharp MediaPlayer to shiw RSTP Media Stream - all works fine but now I need to show a audio level meter. I know that
I can use AudioCallback but do not now how to calculate the level...
_mediaPlayer.SetAudioFormatCallback(AudioSetup, AudioCleanup);
_mediaPlayer?.SetAudioCallbacks(AudioCallback, PauseAudio, ResumeAudio, FlushAudio, DrainAudio);
void AudioCallback(IntPtr data, IntPtr samples, uint count, long pts)
{
...?
}
anybody out there whow can help me?
robert