# Need help on Zoom meeting bot

**URL:** <https://devforum.zoom.us/t/need-help-on-zoom-meeting-bot/121715>\
**Category:** Meeting SDK\
**Tags:** recording, api, sdk\
**Created:** [November 30, 2024, 8:29am UTC](https://devforum.zoom.us/t/need-help-on-zoom-meeting-bot/121715 "2024-11-30T08:29:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yaskivartur0830](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yaskivartur0830/32/61685_2.png) [@yaskivartur0830](https://devforum.zoom.us/u/yaskivartur0830)\
**Post date:** [November 30, 2024, 8:29am UTC](https://devforum.zoom.us/t/need-help-on-zoom-meeting-bot/121715/1 "2024-11-30T08:29:22Z")

</div>

Hi, zoom talents.  
I am working on zoom meeting bot which can join meeting and transcript it per user.  
I used [GitHub - zoom/meetingsdk-headless-linux-sample: A demo on creating a headless meeting bot using the Zoom Meeting SDK for Linux and Docker](https://github.com/zoom/meetingsdk-headless-linux-sample) as boilerplate.  
At first, I got mixed audio and sent it to google stt api. This works for contents.  
But I want to add names for every text of users in transcription like:  
Yaskiv: Hi, friend, how are you doing?  
Mycola: I am good, what about you?  
…

Give me advice technically in detail.  
Thanks

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 2, 2024, 5:35am UTC](https://devforum.zoom.us/t/need-help-on-zoom-meeting-bot/121715/2 "2024-12-02T05:35:22Z")

</div>

@yaskivartur0830 you should use the one way audio, where individual’s audio are seperately returned to you as raw audio

---

<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:** [December 2, 2024, 11:11pm UTC](https://devforum.zoom.us/t/need-help-on-zoom-meeting-bot/121715/3 "2024-12-02T23:11:11Z")

</div>

Hey @yaskivartur0830,

It sounds like you’re generating a transcript already but are interested in diarizing it. We run meeting bots at scale to record/transcribe video conferences and so this is definitely something we are very familiar with - hopefully I can provide some guidance here!

## Option 1: Linux SDK speaker changes

The key here is that you need to know:

1. Which participant ID is speaking at any given time
2. What the underlying name of a given participant ID is

Since you’re using the Linux SDK already, you’ll likely want to look into the onActiveSpeakerVideoUserChanged() callback, which will tell you when the active speaker changes.

Then, you can use the `IMeetingParticipantsController`’s `GetUserByUserID` method to get the underlying user’s info including their display name. Once you have this, you’ll be able to map a given transcript utterance to their corresponding speaker label.

## Option 2: Recall.ai

Another option is to use Recall.ai. It’s a simple 3rd party API that lets you use meeting bots to get raw audio/video, diarized transcriptions, and metadata from meetings in just a few lines of code.

Let me know if you have questions!

---

<div class="post-metadata">

**Author:** ![noah.duncan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/noah.duncan/32/51124_2.png) [@noah.duncan](https://devforum.zoom.us/u/noah.duncan)\
**Post date:** [December 2, 2024, 11:29pm UTC](https://devforum.zoom.us/t/need-help-on-zoom-meeting-bot/121715/4 "2024-12-02T23:29:53Z")

</div>

Hi @yaskivartur0830

I’m working on an open source API for creating Zoom Bots called [Attendee](https://github.com/noah-duncan/attendee). The source code shows how to transcribe meeting audio and add the speaker names. It uses the one-way audio streams instead of mixed audio.

Some relevant parts of the codebase:

- Getting info about a speaker using the Meeting SDK, so you can add the speaker name: [attendee/bots/zoom\_bot/zoom\_bot.py at main · noah-duncan/attendee · GitHub](https://github.com/noah-duncan/attendee/blob/main/bots/zoom_bot/zoom_bot.py#L142)

- Subscribing to the one-way audio stream from Zoom: [attendee/bots/zoom\_bot/zoom\_bot.py at main · noah-duncan/attendee · GitHub](https://github.com/noah-duncan/attendee/blob/main/bots/zoom_bot/zoom_bot.py#L244)

Please let me know if you have any questions
