Description
How can I get IUserAudioStatus
from IUserInfo
in C++?
Which version?
Windows SDK v5.0.24433.0616
Additional context
Is this possible? I’m a bit newbie in C++ but I made some successful edits to an App, and I understand virtual
stuff is an exposed set of features from the software. I would expect to rather find audio status in IUserInfo
already (like Mac SDK does in ZoomSDKUserInfo), but since it’s not there (in Win SDK), I’m trying to figure out how to get audio status from a valid IUserInfo
instance, which I already have.
Let me share some non-working code to get to the point (I know it’s wrong and lacks detail)
IUserInfo* user_info = ... // I already have this
// But I have no idea about how to get audioStatus from it...
// I'd like being able to do something like this:
IUserAudioStatus* userAudioStatus = new IUserAudioStatus(user_info);
AudioStatus audioStatus = userAudioStatus->GetStatus();
I know about onUserAudioStatusChange (and I use it) but I want to retrieve audio status at the start of the meeting, so that’s why I need this.
Thanks in advance for any useful hint!