# \[Linux Meeting SDK 7.1.5\] Host bot cannot send audio: onMicStartSend never fires, CanStartRawRecording() = SDKERR\_WRONG\_USAGE, HasRawdataLicense() = false

**URL:** <https://devforum.zoom.us/t/linux-meeting-sdk-7-1-5-host-bot-cannot-send-audio-onmicstartsend-never-fires-canstartrawrecording-sdkerr-wrong-usage-hasrawdatalicense-false/146469>\
**Category:** Meeting SDK\
**Created:** [September 14, 2026, 11:47pm UTC](https://devforum.zoom.us/t/linux-meeting-sdk-7-1-5-host-bot-cannot-send-audio-onmicstartsend-never-fires-canstartrawrecording-sdkerr-wrong-usage-hasrawdatalicense-false/146469 "2026-09-14T23:47:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![All1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/all1/32/76631_2.png) [@All1](https://devforum.zoom.us/u/All1)\
**Post date:** [September 14, 2026, 11:47pm UTC](https://devforum.zoom.us/t/linux-meeting-sdk-7-1-5-host-bot-cannot-send-audio-onmicstartsend-never-fires-canstartrawrecording-sdkerr-wrong-usage-hasrawdatalicense-false/146469/1 "2026-09-14T23:47:37Z")

</div>

Hi Zoom team,

We run a headless Meeting SDK for Linux bot that joins our own account’s meetings **as the host** and needs to speak a short pre-recorded notice (a TTS WAV) at the start of the meeting. Joining, waiting-room admission, chat, cloud recording control and ending the meeting all work. **Sending audio does not.**

**Environment**

- Meeting SDK for Linux x86\_64 **7.1.5.4432** , C++
- Docker, Ubuntu 22.04 (Cloud Run Jobs), Qt libs from the SDK package
- PulseAudio in user mode with null sinks (`SpeakerOutput` default sink, a separate null sink’s monitor as default source), `~/.config/zoomus.conf` = `system.audio.type=default`, `/etc/asound.conf` routes ALSA default to pulse. We verified at build time that a tone played into the sink is captured from the ALSA default device.
- App: user-managed General App (Development credentials), Meeting SDK enabled, programmatic join ON. App ID: `HMDNhoujQcah3O8PqCulJA`
- Join: `JoinParam4WithoutLogin` with `userZAK` (ZAK of the meeting host user, fetched via S2S `/users/me/token?type=zak`) → we are the host (status INMEETING, host privileges work)

**What we tried**

1. **Virtual mic, registered before join** (`GetAudioRawdataHelper()->setExternalAudioSource(this)` → Join): `onMicInitialize` fires, `JoinVoip()` = 0, `UnMuteAudio(myId)` = 0, but **`onMicStartSend` never fires**.
2. **Virtual mic, registered after MEETING\_STATUS\_INMEETING** (the order suggested in [this thread](https://devforum.zoom.us/t/linux-setexternalaudiosource-succeeds-end-to-end-onmicstartsend-fires-send-returns-sdkerr-success-but-injected-audio-never-reaches-other-participants/144725)): `setExternalAudioSource` = 0 → `onMicInitialize` → `JoinVoip()` = 0 → 1 s later `UnMuteAudio(myId)` = 0 → **no `onMicStartSend`** within 8 s (or ever).
3. **Taking raw-data permission first** : `GetMeetingRecordingController()->CanStartRawRecording()` returns **2 (SDKERR\_WRONG\_USAGE)** even though we are the host, cloud recording is running and “Record to computer files” is enabled for the account. `HasRawdataLicense()` returns **false**.
4. **No virtual mic, system mic via PulseAudio** (play the WAV into the null sink whose monitor is the default source, with `EnableMicOriginalInput(true)`): playback succeeds, but `IMeetingAudioCtrlEvent::onUserActiveAudioChange` never includes our own user ID and the meeting’s RTMS transcript stream receives nothing. `GetMicList()` only shows `"Same as System"` with an empty name.

**Questions**

1. What entitlement does a Meeting SDK app need so that `CanStartRawRecording()` succeeds / `onMicStartSend` fires for a host bot in meetings of **our own account**? Does it require Production credentials, a published/approved app, or a raw-data request to Zoom?
2. With Development credentials, is raw audio sending (virtual mic) supported at all?
3. Is approach 4 (system mic through PulseAudio) supposed to work on Linux headless, and if so, what are we missing?

Thank you!

---

<div class="post-metadata">

**Author:** ![amanda-recallai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amanda-recallai/32/44747_2.png) [@amanda-recallai](https://devforum.zoom.us/u/amanda-recallai)\
**Post date:** [September 15, 2026, 6:33pm UTC](https://devforum.zoom.us/t/linux-meeting-sdk-7-1-5-host-bot-cannot-send-audio-onmicstartsend-never-fires-canstartrawrecording-sdkerr-wrong-usage-hasrawdatalicense-false/146469/2 "2026-09-15T18:33:27Z")

</div>

`HasRawdataLicense() == false` is not the blocker I’d focus on. Zoom has said the legacy raw-data license is deprecated for desktop Meeting SDKs, including Linux, and staff have also stated that sending raw media does not require that license. `CanStartRawRecording()` applies to the receive/raw-recording path, not to publishing a virtual microphone, so I would not expect Production credentials, Marketplace publication, or a separate raw-data request to make `onMicStartSend` fire. See Zoom’s current [Linux raw-data flow](https://developers.zoom.us/docs/meeting-sdk/windows/default-ui/advanced-features/raw-data/) and the staff clarification that the [raw-data license is deprecated](https://devforum.zoom.us/t/zoom-linus-sdk-hasrawdatalicense/118457).

Development credentials are therefore not documented as excluding outbound virtual-mic audio for meetings in your own account. Zoom requires the SDK participant to actually be connected to the VoIP channel before it can send audio, so after `JoinVoip()` verify that your local user’s `GetAudioJoinType()` becomes `AUDIOTYPE_VOIP` and that the user is genuinely unmuted, rather than relying only on the success return codes. Zoom documents those checks in [Linux in-meeting audio](https://developers.zoom.us/docs/meeting-sdk/linux/default-ui/basic-features/in-meeting-audio/). For the virtual mic, keep the registration after `MEETING_STATUS_INMEETING`, as Zoom staff recommended in the [Linux external-audio-source thread](https://devforum.zoom.us/t/linux-setexternalaudiosource-succeeds-end-to-end-onmicstartsend-fires-send-returns-sdkerr-success-but-injected-audio-never-reaches-other-participants/144725).

The PulseAudio approach is plausible on headless Linux, and Zoom explicitly requires PulseAudio for Linux raw-audio functionality. Two checks should narrow it down: after joining VoIP, use `pactl list source-outputs` to confirm the Zoom process actually opened a recording stream on the intended null-sink monitor, and log `GetAudioJoinType()` plus mute state at the same moment. If there is no Zoom capture stream, or it is attached to a different source, changing the default source alone is not proving that Zoom is consuming your WAV path.

If you’d rather avoid maintaining the Linux Meeting SDK bot stack directly, Recall.ai’s [Meeting Bot API](https://www.recall.ai/product/meeting-bot-api?utm_source=zoom&utm_medium=forum_answer) handles the meeting-bot infrastructure and media plumbing.

---

<div class="post-metadata">

**Author:** ![All1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/all1/32/76631_2.png) [@All1](https://devforum.zoom.us/u/All1)\
**Post date:** [September 16, 2026, 1:00pm UTC](https://devforum.zoom.us/t/linux-meeting-sdk-7-1-5-host-bot-cannot-send-audio-onmicstartsend-never-fires-canstartrawrecording-sdkerr-wrong-usage-hasrawdatalicense-false/146469/3 "2026-09-16T13:00:49Z")

</div>

Solved — thank you. Your answer moved us off the license question and onto verifying the real audio state, and that is what uncovered both causes.

There were two independent problems.

**1. onMicStartSend does not fire while the bot is alone in the meeting.**

With the external source registered after MEETING\_STATUS\_INMEETING, JoinVoip() = 0, and GetAudioJoinType() on our own IUserInfo returning AUDIOTYPE\_VOIP with IsAudioMuted() = false, the callback still never arrived — as long as the bot was the only participant. It fired within a second of the first participant joining. Every earlier test of ours had the bot alone in the meeting, which is why it looked permanent.

**2. The sample rate has to be one the SDK accepts.**

Our TTS produced 24 kHz mono 16-bit PCM. Once onMicStartSend fired, every send() call on IZoomSDKAudioRawDataSender failed (808 of 808 frames) and nothing was heard. Converting the same audio to 48 kHz mono 16-bit and sending 10 ms frames gives sendFailures = 0, and the notice is now audible to both participants.

Confirming your point: no raw-data license, Production credentials or Marketplace publication was needed. A user-managed General App with Development credentials, Meeting SDK enabled, joining with the host’s ZAK, is enough to publish a virtual microphone. CanStartRawRecording() and HasRawdataLicense() are irrelevant to sending.

One caveat on the PulseAudio check: `pactl list source-outputs` stays empty even in the working case, because with an external audio source registered the SDK never opens a capture stream. An empty list is therefore not evidence of a problem on this path.

The sequence that works for us:

- on MEETING\_STATUS\_INMEETING, call setExternalAudioSource(this) on the audio rawdata helper, then JoinVoip(), then poll GetAudioJoinType() and IsAudioMuted() on our own IUserInfo and call UnMuteAudio() until it reports unmuted
- 
  - EnableAutoJoinAudio(false) (auto-join raced the registration), EnableAlwaysMuteMicWhenJoinVoip(false), SetSuppressBackgroundNoiseLevel(Suppress\_BGNoise\_Level\_None)
  - 
    - wait for onMicStartSend, then send 10 ms frames of 48 kHz mono 16-bit PCM

  - Thanks again for the pointers.
