# SDK for Linux Headless Bot - Get Meeting Participants

**URL:** <https://devforum.zoom.us/t/sdk-for-linux-headless-bot-get-meeting-participants/112791>\
**Category:** Meeting SDK\
**Created:** [June 30, 2024, 2:16am UTC](https://devforum.zoom.us/t/sdk-for-linux-headless-bot-get-meeting-participants/112791 "2024-06-30T02:16:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![linda](https://avatars.discourse-cdn.com/v4/letter/l/67e7ee/32.png) [@linda](https://devforum.zoom.us/u/linda)\
**Post date:** [June 30, 2024, 2:16am UTC](https://devforum.zoom.us/t/sdk-for-linux-headless-bot-get-meeting-participants/112791/1 "2024-06-30T02:16:34Z")

</div>

Hello, I was following on the this zoom meeting SDK Linux but a bit lost on how to get participants there isnt any documentation at all for this SDK, also im not a C++ dev so its taking me time to understand everything.

Any clue how to do this given that I just want to get participant names? or source for this sdk documentation?

Im followign this repo by the way:

> **[GitHub - zoom/meetingsdk-headless-linux-sample: A demo on creating a headless...](https://github.com/zoom/meetingsdk-headless-linux-sample/tree/main)**
>
> main

I think the key is in this part:

```auto
void ZoomSDKAudioRawDataDelegate::onOneWayAudioRawDataReceived(AudioRawData* data, uint32_t node_id) {
    if (m_useMixedAudio) return;

    stringstream path;
    path << m_dir << "/node-" << node_id << ".pcm";
    writeToFile(path.str(), data);
}

```

If I could somehow change the node\_id to the participants name or use that node\_id to get the participants name in some way maybe I could get whos speaking per PCM file

And also around this part where im trying to figure out what GetMeetingParticipants gives me:

```auto
        if (!m_audioSource) {
            m_audioSource = new ZoomSDKAudioRawDataDelegate(!m_config.separateParticipantAudio());
            m_audioSource->setDir(m_config.audioDir());
            m_audioSource->setFilename(m_config.audioFile());

        }
        auto participantCtl = m_meetingService->GetMeetingParticipantsController();
        auto uid = participantCtl->GetParticipantsList()->GetItem(0);

        auto participantList = participantCtl->GetParticipantsList()->GetItem(0);
        // Iterate over participants and log their details

 

```

But by the looks of it it only give me the ID

`ParticipantList 16778240`

How do I get the participant name?

---

<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:** [July 1, 2024, 5:30am UTC](https://devforum.zoom.us/t/sdk-for-linux-headless-bot-get-meeting-participants/112791/2 "2024-07-01T05:30:28Z")

</div>

Hey @linda!

We use the Linux SDK to run meeting bots at scale and have run into a lot of similar questions in the past 🙂

When it comes to accessing user data, you’ll want to take a look at [`IMeetingParticipantsController`](https://marketplacefront.zoom.us/sdk/meeting/linux/class_i_meeting_participants_controller.html) – specifically these methods:

- [`GetParticipantsList`](https://marketplacefront.zoom.us/sdk/meeting/linux/class_i_meeting_participants_controller.html#a79edf11608cfbda16258c9a918c9a717) → Returns an array of participants in the meeting
- [`GetUserByID`](https://marketplacefront.zoom.us/sdk/meeting/linux/class_i_meeting_participants_controller.html#a0bd9214076929db3cc15f6abbe1c0934) → Returns a user with the specified ID

In terms of returned format, check out the [`IUserInfo`](https://marketplacefront.zoom.us/sdk/meeting/linux/class_i_user_info.html) class.  
The [`GetUserName()`](https://marketplacefront.zoom.us/sdk/meeting/linux/class_i_user_info.html#a2cea9fde9d32becbc84abc022ef309ff) method will return the name of the participant.

Another alternative is to use [Recall.ai](https://www.recall.ai/?utm_source=zoom_dev_forum&utm_medium=forum_answer&utm_campaign=sdk-for-linux-headless-bot-get-meeting-participants&utm_content=Recall.ai) for your meeting bots instead. It’s a simple 3rd party API that lets you use meeting bots to get raw audio/video/metadata from meetings without you needing to spend months to build, scale and maintain these bots.

Let me know if you have questions!
