Hi,
what’s the proper way to disconnect from a meeting? I am using the desktop sdk, calling “Leave” from meeting service but it does not seem to work. I receive no disconnected/ended state event and I’m still in even if no error is reported. I’ve tried to specify both end/leave options to but no avail. Any idea on what may be wrong?
Thanks for the post. I assume this is for Windows SDK? Or C# wrapper?
/// \brief Leave meeting.
/// \param leaveCmd Leave meeting command. For more details, see \link LeaveMeetingCmd \endlink enum.
/// \return If the function succeeds, the return value is SDKErr_Success.
///Otherwise failed. To get extended error information, see \link SDKError \endlink enum.
virtual SDKError Leave(LeaveMeetingCmd leaveCmd) = 0;
You were totally right. Return code was checked incorrectly, I was trying to end a meeting while I was just a participant. Sorry for that, we can close the case.