Hello
I have encountered the following issue with the sample code for linux meeting SDK.
Meeting SDK Type and Version
Platform: Linux. Windows 10 Pro / Windows 11 with WSL2 running Ubuntu 22.04
MeetingSDKVersion: 5.16.0.8201 - downloaded the meeting-sdk-linux_x86_64-5.16.0.8201.tar file
Description
In short, I am unable to join a meeting as a bot, using the sample code provided.
As soon as the docker container is run, it gives the error below.
Steps to Reproduce
Followed the README instructions for the sample code- GitHub - zoom/meetingsdk-linux-raw-recording-sample
1. Copied relevant files from meeting SDK to demo/ folder as instructed.
2. Built the docker container according to instructions for ubuntu 22.04
3. Made changes to withoutloginParam.userName as instructed.
4. Built the executable using make .
5. Had already created a meeting SDK app using one zoom account (free and pro both were tried) and copied the client_id and secret to the config.txt file - lets call it account A.
6. Created a meeting through another account (account B). So account B is the host.
7. Now for obtaining the JWT token for the config.txt file, I used the (GitHub - zoom/meetingsdk-auth-endpoint-sample: Generate a Meeting SDK JWT to join Zoom meetings and webinars with the Meeting SDK) repository with the credentials from account A, passed the meeting_id to the API endpoint and used the response.
Started the meeting using a desktop zoom client through account B.
Error:
On running the docker container, I get the following-
sudo docker run -it --rm msdk-5.16.5-on-ubuntu-compact:0.20
unix:path=/run/dbus/system_bus_socket,guid=43db63e6862f27e56c730a446564619c
Adding userroot' to group
pulse-access’ …
Adding user root to group pulse-access
Done.
Adding userroot' to group
audio’ …
Adding user root to group audio
Done.
cp: target ‘/root/.config/pulse/’ is not a directory
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
19
mkdir: cannot create directory ‘/root/.config’: File exists
getpath
self path: /app/demo/bin
Readfile success.
Reading…meeting_number: “77531321111”
Reading…token: “TOKEN”
Reading…meeting_password: “11111”
Reading…recording_token: “”
Reading…GetVideoRawData: “false”
Reading…GetAudioRawData: “false”
Meeting Number: 77531321111
Token: TOKEN
meeting_password: 11111
recording_token:
GetVideoRawData before parsing is : false
GetVideoRawData: 0
GetAudioRawData before parsing is : false
GetAudioRawData: 0
directory of config file: /app/demo/bin/config.txt
Init meetingSdk:success
AuthService created.
AuthServiceEventListener added.
AuthSDK:token extracted from config file TOKEN
Auth succeeded: JWT.
OnAuthenticationComplete
Joining Meeting
MeetingService created.
Settingservice created.
JWT token is TOKEN
Recording token is
Leaving recording token as NULL
join_meeting:success
onLoginReturnWithReason: 0
onMeetingStatusChanged: 1, iResult: 0
Connect to the meeting server status.
onMeetingStatusChanged: 4, iResult: 0
Disconnect the meeting server, leave meeting status.
onMeetingStatusChanged: 6, iResult: 63
Failed to connect the meeting server.
onMeetingStatusChanged: 7, iResult: 0
Meeting ends.
Troubleshooting Routes
On checking the linuxSDK documentation, I interpreted the above error as -
MEETING_FAIL_UNABLE_TO_JOIN_EXTERNAL_MEETING
But I don’t know how to resolve this issue. Perhaps I’ve not understood how to run the sample code correctly. Could you please help me with this issue?
Thank You.