Meeting SDK for Linux v5.16.10.718 (latest)
I am successfully using the meetingsdk-linux-raw-recording-sample and have added a IMeetingShareCtrlEvent listener by calling meetingShareController->SetEvent().
The listener works correctly if sharing has not already been started; however, if a user in the meeting has already started sharing their screen when the bot has joined, then the listener does not detect any onSharingStatus events.
My code is as follows:
IMeetingShareController *meetingShareController = m_pMeetingService->GetMeetingShareController();
SDKError shareEventError = meetingShareController->SetEvent(new MeetingShareCtrlEventListener());
The shareEventError = SDKERR_SUCCESS but no events are received if any user in the meeting has already started sharing.
Steps to reproduce:
- Start a meeting AND start sharing the screen or window
- Start the meetingsdk-linux-raw-recording-sample and the bot joins
- Call IMeetingShareController->SetEvent(myListener)
Expected behavior: myListener receives onSharingStatus events such as when a user starts/stops sharing.
Actual behavior: no onSharingStatus events are received.