# How can I make my c++ desktop application to integrate zoom sdk to do 2 things

**URL:** <https://devforum.zoom.us/t/how-can-i-make-my-c-desktop-application-to-integrate-zoom-sdk-to-do-2-things/40885>\
**Category:** Windows\
**Created:** [January 18, 2021, 3:43pm UTC](https://devforum.zoom.us/t/how-can-i-make-my-c-desktop-application-to-integrate-zoom-sdk-to-do-2-things/40885 "2021-01-18T15:43:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![moe](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@moe](https://devforum.zoom.us/u/moe)\
**Post date:** [January 18, 2021, 3:43pm UTC](https://devforum.zoom.us/t/how-can-i-make-my-c-desktop-application-to-integrate-zoom-sdk-to-do-2-things/40885/1 "2021-01-18T15:43:44Z")

</div>

1- to enable user to join and create zoom meeting.  
2- track speaking time for each user and display it in the meeting interface.

Thank you.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 19, 2021, 9:53pm UTC](https://devforum.zoom.us/t/how-can-i-make-my-c-desktop-application-to-integrate-zoom-sdk-to-do-2-things/40885/2 "2021-01-19T21:53:44Z")

</div>

Hey @moe,

Thanks for using the dev forum!

Number 1 can be accomplished by following the instructions here: [https://marketplace.zoom.us/docs/sdk/native-sdks/windows/mastering-sdk/windows-sdk-functions](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/mastering-sdk/windows-sdk-functions)

For question 2: Do you mean tracking how much time someone was actively talking in the meeting?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![moe](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@moe](https://devforum.zoom.us/u/moe)\
**Post date:** [January 20, 2021, 2:47pm UTC](https://devforum.zoom.us/t/how-can-i-make-my-c-desktop-application-to-integrate-zoom-sdk-to-do-2-things/40885/3 "2021-01-20T14:47:42Z")

</div>

Thank you.

1- I am new to the whole idea, this is why I am struggling a bit, I am following the instructions but with no luck so far.

2- Yes.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 20, 2021, 8:17pm UTC](https://devforum.zoom.us/t/how-can-i-make-my-c-desktop-application-to-integrate-zoom-sdk-to-do-2-things/40885/4 "2021-01-20T20:17:29Z")

</div>

Hey @moe,

No worries at all, we are here to help. Have you developed a Windows Desktop Application before? Are you familiar with C++?  
Just trying to gauge where to being 🙂

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![moe](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@moe](https://devforum.zoom.us/u/moe)\
**Post date:** [January 26, 2021, 4:12pm UTC](https://devforum.zoom.us/t/how-can-i-make-my-c-desktop-application-to-integrate-zoom-sdk-to-do-2-things/40885/5 "2021-01-26T16:12:27Z")

</div>

Sorry, for late reply. Yes I am familiar with C++ and yes developed windows desktop applications. Now if I am using the demo app, how can I add the timer for each participant to track down and show the time he spoke.

I found about this: [onActiveSpeakerVideoUserChanged]  
([InMeetingServiceListener (Zoom.us SDK API Document)](https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingServiceListener.html#onActiveSpeakerVideoUserChanged-long-))

Is this helpful, if yes how can I accomplish my task?  
Thank you.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 26, 2021, 6:41pm UTC](https://devforum.zoom.us/t/how-can-i-make-my-c-desktop-application-to-integrate-zoom-sdk-to-do-2-things/40885/6 "2021-01-26T18:41:02Z")

</div>

Hey @moe,

You are on the right track. However, I would use the callback [onUserActiveAudioChange](https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_meeting_audio_ctrl_event.html#a220486be2d7fa30c6464e91b3754e114) instead. This callback will be called when a user has begun or stopped speaking. The parameter is a list of user ID’s for the users who had an active audio change. I would check the user ID, get the users info with [GetUserByUserID](https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_meeting_participants_controller.html#afa0887b5e66feb3204338a3260129989), then see if they are currently speaking with the [IsTalking](https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_user_info.html#a646df55461d7dc267f41ec3461b72d52) method. If they are talking now but weren’t before you could timestamp that to represent when they began talking, then you could timestamp when they stopped talking by doing the opposite.

Thanks!  
Michael
