# Zoom sdk linux recording shared audio not working

**URL:** <https://devforum.zoom.us/t/zoom-sdk-linux-recording-shared-audio-not-working/134851>\
**Category:** Meeting SDK\
**Created:** [July 4, 2025, 2:27pm UTC](https://devforum.zoom.us/t/zoom-sdk-linux-recording-shared-audio-not-working/134851 "2025-07-04T14:27:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Florian2](https://avatars.discourse-cdn.com/v4/letter/f/d6d6ee/32.png) [@Florian2](https://devforum.zoom.us/u/Florian2)\
**Post date:** [July 4, 2025, 2:27pm UTC](https://devforum.zoom.us/t/zoom-sdk-linux-recording-shared-audio-not-working/134851/1 "2025-07-04T14:27:17Z")

</div>

**Meeting SDK Version:** Linux 6.1.10

**Issue Title:** `onShareAudioRawDataReceived` callback never triggered in Linux SDK despite correct setup

**Description:**

I am developing a bot application using the Zoom Meeting SDK for Linux that successfully connects to meetings and captures participant audio via `onMixedAudioRawDataReceived`. However, the `onShareAudioRawDataReceived` callback is never triggered when participants share their screen with computer audio enabled.

**Environment:**

- Platform: Linux (Docker/headless environment)
- SDK Version: Meeting SDK Linux 6.1.10
- Bot Role: Host with local recording privileges

**Current Implementation:**

```cpp
class AudioRawDataReceiver : public IZoomSDKAudioRawDataDelegate {
public:
    void onMixedAudioRawDataReceived(AudioRawData* data) override {
        // Works correctly - receives participant microphone audio
    }
    
    void onShareAudioRawDataReceived(AudioRawData* data) override {
        // Never called despite screen sharing with computer audio
        Log::info("Share audio callback triggered"); // Never appears in logs
    }
};

// Subscription code
auto audioHelper = GetAudioRawdataHelper();
SDKError err = audioHelper->subscribe(audioSource);
// Returns SDKERR_SUCCESS

```

**Steps to Reproduce:**

1. Bot joins meeting as host with recording privileges
2. Successfully subscribe to audio raw data (`subscribe()` returns `SDKERR_SUCCESS`)
3. Participant starts screen sharing with “Share computer sound” enabled
4. Participant plays audio content (YouTube videos, music, system sounds)
5. Other participants confirm they can hear the shared computer audio
6. `onShareAudioRawDataReceived` is never triggered

**Expected Behavior:**  
The `onShareAudioRawDataReceived` callback should be triggered when participants share computer audio during screen sharing.

**Actual Behavior:**

- `onMixedAudioRawDataReceived` works correctly for participant microphone audio
- `onShareAudioRawDataReceived` is never called despite active screen sharing with computer audio
- No error messages related to audio subscription

**Additional Testing:**

- Tested with multiple participants sharing audio from different sources
- Verified “Share computer sound” is enabled and other participants hear the audio
- Tested both self-sharing and receiving shared audio from others
- Audio raw data subscription is successful (no errors)
- Bot has proper host privileges and recording permissions

**Questions:**

1. Is `onShareAudioRawDataReceived` supported in headless Linux environments?
2. Are there additional subscription methods required for shared audio capture?
3. Is this a known limitation in SDK version 6.1.10?
4. Should shared computer audio be captured through `onMixedAudioRawDataReceived` instead?

Thank you for your time and support. Looking forward to your assistance with this issue!
