zoom / meetingsdk-linux-raw-recording-sample

MIT License
21 stars 9 forks source link

Sample doesn't work with new SDK verison #6

Open SergeyGalaxyOrsik opened 7 months ago

SergeyGalaxyOrsik commented 7 months ago

I tried to compile sample with new version of SDK v5.17.10.3562, but when I do make in /demo/build directory I have many errors. I tried start sample with SDK v5.17.5.2561 and all work well

tanchunsiong commented 7 months ago

@SergeyGalaxyOrsik could you share some of the errors here?

analog88 commented 1 month ago

Hey @SergeyGalaxyOrsik, if you're facing issues compiling the sample with the latest SDK version, you might want to check out the Recall.ai API.

It’s a simple 3rd party API that lets you use meeting bots to get raw audio/video/metadata from meetings without you needing to spend months to build, scale and maintain these bots.

Here are the API docs: https://docs.recall.ai/page/tutorials

jeirix commented 1 month ago

hello, I got errors compiling version 6.1.10 made both on visual studio (windows) and vscode on a linux ubuntu 22 and ubuntu desktop 24. First issue was glib.h wasn't visibile by vscode even it was correctly installed in the system. I had to change c_cpp_properties.json file and includePath : /usr/include/glib-2.0/, /usr/lib/x86_64-linux-gnu/glib-2.0/include/ and use the correct compiler.

Build was ok:

Then when make it:

/home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp: In function ‘void JoinMeeting()’: /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:545:122: error: invalid new-expression of abstract class type ‘MeetingServiceEventListener’ 545 | Service->SetEvent(new MeetingServiceEventListener(&onMeetingJoined, &onMeetingEndsQuitApp, &onInMeeting)); | ^

In file included from /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:30: /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/MeetingServiceEventListener.h:6:7: note: because the following virtual functions are pure within ‘MeetingServiceEventListener’: 6 | class MeetingServiceEventListener : public ZOOM_SDK_NAMESPACE::IMeetingServiceEvent | ^~~~~~~ In file included from /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:19: /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/include/h/meeting_service_interface.h:488:22: note: ‘virtual void ZOOMSDK::IMeetingServiceEvent::onMeetingTopicChanged(const zchar_t)’ 488 | virtual void onMeetingTopicChanged(const zchar_t sTopic) = 0; | ^~~~~ /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:553:106: error: invalid new-expression of abstract class type ‘MeetingRecordingCtrlEventListener’ 553 | m_pRecordController->SetEvent(new MeetingRecordingCtrlEventListener(&onIsGivenRecordingPermission)); | ^

In file included from /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:38: /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/MeetingRecordingCtrlEventListener.h:8:7: note: because the following virtual functions are pure within ‘MeetingRecordingCtrlEventListener’: 8 | class MeetingRecordingCtrlEventListener :public IMeetingRecordingCtrlEvent | ^~~~~~~~~ In file included from /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/include/h/meeting_service_components/meeting_participants_ctrl_interface.h:9, from /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/meeting_sdk_demo.cpp:21: /home/--/Documents/repos/meetingsdk-linux-raw-recording-sample/demo/include/h/meeting_service_components/meeting_recording_interface.h:251:22: note: ‘virtual void ZOOMSDK::IMeetingRecordingCtrlEvent::onTranscodingStatusChanged(ZOOMSDK::TranscodingStatus, const zchar_t)’ 251 | virtual void onTranscodingStatusChanged(TranscodingStatus status,const zchar_t path) = 0; | ^~~~~~ make[2]: [CMakeFiles/meetingSDKDemo.dir/build.make:76: CMakeFiles/meetingSDKDemo.dir/meeting_sdk_demo.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:83: CMakeFiles/meetingSDKDemo.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

Many thanks. J

tanchunsiong commented 1 month ago

hi @jeirix ,

The current version which you are using requires 6.1.0 Meanwhile I'll update it to the latest SDK as well

I'm using a Windows Machine to compile this project