zoom / meetingsdk-headless-linux-sample

A demo on creating a headless meeting bot using the Zoom Meeting SDK for Linux and Docker
MIT License
37 stars 17 forks source link

failed to subscribe to raw audio with status 32 #14

Closed BakingBrains closed 7 months ago

BakingBrains commented 7 months ago

Unable to get raw audio when joined to the meeting. Any suggestion or resolution. (Using latest zoom SDK)

image

aheruz commented 7 months ago

same here!

aheruz commented 7 months ago

@mgraczyk Did a fork with a work around https://github.com/Quilt-AI/zoom-client

mgraczyk commented 7 months ago

Yeah you need to set isAudioOff to false in src/Zoom.cpp:146 like this:

    if (m_config.useRawAudio()) {
        param.isAudioOff = false;
        auto* audioSettings = m_settingService->GetAudioSettings();
        if (!audioSettings) return SDKERR_INTERNAL_ERROR;

        audioSettings->EnableAutoJoinAudio(true);
        audioSettings->EnableAlwaysMuteMicWhenJoinVoip(true);
        audioSettings->SetSuppressBackgroundNoiseLevel(Suppress_BGNoise_Level_None);

    }

Unfortunately I need to make my fork private

BakingBrains commented 7 months ago

Thank you @mgraczyk @aheruz It worked.