Identify Active Speaker on Electron

Hi Everyone,

Description
I’m trying to identify the user who is speaking on the meeting there is something on the Electron SDK that I could achieve that?

Which version?
This question is about Electron SDK, but if this can be achieved with other SDK please share it.

Hi igor,

Thanks for using Zoom SDK. You may use the following interfaces to identify the user who is speaking on the meeting:

Currently we do not have this interface in the Electron layer, I will pass this as an interface request to our engineering team.

Thanks!

Could you show some example?

Hey @igor.lunarx,

Here is our docs for Mac and Windows that include tutorials and examples/samples.

Let me know if this helps! Thanks,
Tommy

The windows sdk I already tried for some success but what i need is the electron sdk.

@igor.lunarx,

Unfortunately we do not have this feature in the electron SDK. I will pass this as an interface request to our engineering team.

Thanks,
Tommy

Hi
https://github.com/zoom/zoom-sdk-electron

this is electron SDK about Mac and windows,you can try it.

Thanks

@tommy,
Thanks for the attention.
I’m using the Windows SDK (Wrapper) so we can see if this might work for us.

I’m using

CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingAudioController().Add_CB_onUserActiveAudioChange(onUserActiveAudioChangeAsync);

To get the active user, but the parameter is a uint lstActiveAudio

void onUserActiveAudioChangeAsync(uint lstActiveAudio)

I got with:

IUserInfoDotNetWrap user = CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().
GetMeetingParticipantsController().GetUserByUserID(userid);

Thanks for the help!

Hi Igor,

Thanks for the reply. Your code looks great. If you would like to refer how to implement this in C#, you may refer to the onUserActiveAudioChange() callback in https://github.com/zoom/zoom-c-sharp-wrapper/blob/5500fbaac55b10068f1f05b166755048a8ca2034/zoom_sdk_c_sharp_wrap/meeting_audio_dotnet_wrap.h;

If you are willing to use it in Electron, even though we do not have this callback in the Electron layer, but you can refer to the implementation of onUserAudioStatusChange() in https://github.com/zoom/zoom-sdk-electron/blob/8adcc6e349d05787c76c2edbe9e214afd072ac8f/lib/node_add_on/win/meeting_audio_wrap_core.cpp, and write a call in the Electron layer to call this interface.

Hope this helps. Thanks!

1 Like