Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/app/demo/config.txt does not exist #15

Open
bijanfx opened this issue Dec 7, 2024 · 5 comments
Open

/app/demo/config.txt does not exist #15

bijanfx opened this issue Dec 7, 2024 · 5 comments

Comments

@bijanfx
Copy link

bijanfx commented Dec 7, 2024

On Ubuntu, both running the steps manually, or in Docker, gives the error /app/demo/config.txt file does not exist.

@jeirix
Copy link

jeirix commented Dec 9, 2024

@bijanfx you have to manually create yours. You might want to use meeting SDK JWT to generate tokens.

@tanchunsiong
Copy link
Collaborator

@bijanfx you have to manually create config.txt

it looks something like this within the file

you will need to generate the token by using your sdk Key and sdk Secret

meeting_number: "1234567890"
token: "xxxxxxxx.yyyyyyyyyyyyyyyyyy.zzzzzzzzzzzzzzzzz"
meeting_password: "123456"
recording_token: ""
GetVideoRawData: "true"
GetAudioRawData: "true"
SendVideoRawData: "false"
SendAudioRawData: "false"

@bijanfx
Copy link
Author

bijanfx commented Dec 10, 2024

Thanks, yea, I eventually figured out that that snippet was meant to go into a "config.txt" file. (It would be good to say that in the README or have a sample config.txt file already in the right directory.) Anyway, running docker build . give me a build error:

0.823 -- Build files have been written to: /app/demo/build 0.854 [ 8%] Building CXX object CMakeFiles/meetingSDKDemo.dir/meeting_sdk_demo.cpp.o 1.150 /app/demo/meeting_sdk_demo.cpp: In function 'void JoinMeeting()': 1.150 /app/demo/meeting_sdk_demo.cpp:545:122: error: invalid new-expression of abstract class type 'MeetingServiceEvent\ Listener' 1.150 545 | m_pMeetingService->SetEvent(new MeetingServiceEventListener(&onMeetingJoined, &onMeetingEndsQuitA\ pp, &onInMeeting)); 1.150 | \ ^ 1.150 In file included from /app/demo/meeting_sdk_demo.cpp:30: 1.150 /app/demo/MeetingServiceEventListener.h:6:7: note: because the following virtual functions are pure within 'Mee\ tingServiceEventListener': 1.150 6 | class MeetingServiceEventListener : public ZOOM_SDK_NAMESPACE::IMeetingServiceEvent 1.150 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1.150 In file included from /app/demo/meeting_sdk_demo.cpp:19: 1.150 /app/demo/include/h/meeting_service_interface.h:493:22: note: 'virtual void ZOOMSDK::IMeetingServiceEvent::on\ MeetingFullToWatchLiveStream(const zchar_t*)' 1.150 493 | virtual void onMeetingFullToWatchLiveStream(const zchar_t* sLiveStreamUrl) = 0; 1.150 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1.211 make[2]: *** [CMakeFiles/meetingSDKDemo.dir/build.make:76: CMakeFiles/meetingSDKDemo.dir/meeting_sdk_demo.cpp.o] \ Error 1 1.211 make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/meetingSDKDemo.dir/all] Error 2 1.211 make: *** [Makefile:91: all] Error 2 ------

@bijanfx
Copy link
Author

bijanfx commented Dec 11, 2024

Ignore that. I'm guessing its because I downloaded the latest SDK, and the docker only works with version 5.x, or 6.1.x, or something like that. Ideally the dockerfile would download the correct version of the Zoom SDK it needs, to make it a true container :-)

@tanchunsiong
Copy link
Collaborator

I have updated the code to support the latest sdk version.
Please note that due to terms and condition, you will need to explicitly accept the agreement and download the sdk. The docker file will not download the sdk for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants