Not able to start raw recording in bot app built using Zoom Linux SDK

I’m running a bot app built using Zoom Linux SDK. The app is run in ubuntu 22.04 docker container. I’m providing SDK JWT token, local recording token, meeting ID and password to intiate the bot auth. The bot is able to join my meetings and initiate raw recording. I get the popup in the meeting saying “This meeting is being recorded”. But I’m never getting any callback for onRecordingStart callback that I’m passing to recordingCtrlEvent->setOnRecordingStart of IMeetingRecordingCtrlEvent. Meeting SDK version that I’m using is zoom-meeting-sdk-linux_x86_64-6.6.5.5692. Also I can see some ALSA logs in the console.

ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL
ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL
ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL
ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL
ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM
ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM

Local recording is enabled on my Zoom account.

Hi @Shlok, you need to first implement IMeetingRecordingCtrlEvent::onRecordingStatus(...) and look for the RecordingStatus::Recording_Start enum to know that recording actually began.

You only get onRecordingStatus(...) events if you register your handler up front using IMeetingRecordingController::SetEvent(...) before calling IMeetingRecordingController::StartRawRecording(). If SetEvent(...) isn’t wired before you start recording, you’ll see “This meeting is being recorded” in the UI but your code won’t get the callback.

On the ALSA spam (snd_ctl_open_noupdate Invalid CTL, Unknown PCM) errors, these are common when the SDK runs in Docker without working audio, and (another thread) outlined several fixes like modifying the ~/.config/zoomus.conf file with:

    [General]
    system.audio.type=default