ZRCSdk libZRCSdk.so et.al

Not seeing a category for ZRCSdk type questions, apologies if this is not the right venue for these questions.
Using ZRCSdk library and example code, need to pair twice to Zoom Room before being able to start a meeting.
Have rewritten example to use libevent in lieu of libuv, and launch cloud recording, still need pair twice.
Also, can mute audio but unmute seems ineffective , as it does not unmute audio

Hi @barbo
Thanks for reaching out and welcome to our Zoom Developer Community
Could you please share with me a link to the library you are talking about?

Hi Elisa.
Happy Monday., sorry for the delay.
i was incorrect that the example code needs pair twice,
Not sure why app reports pairing success but not actually paired until 2nd call…
Here is what shows this behaviour - are there tools available that one may examine in the log files? looks like logs are encrypt…
How does one view any useful info in the logs?,

Here is some output that shows the need to pair twice.

sh-4.4$ ./Demo
InitServices()
pair xxxx-1126-0621-xxxx
ReceiveCommand:pair xxxx-1126-0621-xxxx

pair
activationCode is xxxx-1126-0621-xxxx
Send request: PairRoomWithActivationCode success!
OnPairRoomResult result:0
OnSetRoomTempDisplayNameNotification, isShow:0
startmeeting
ReceiveCommand:startmeeting

startmeeting
ZRCSDKE=11
pair xxxx-1126-0621-xxxx
ReceiveCommand:pair xxxx-1126-0621-xxxx

pair
activationCode is xxxx-1126-0621-xxxx
Send request: PairRoomWithActivationCode success!
OnPairRoomResult result:0
OnSetRoomTempDisplayNameNotification, isShow:0
startmeeting
ReceiveCommand:startmeeting

startmeeting
ZRCSDKE=0
Send request: StartInstantMeeting success!
OnConfReadyNotification
startrecord
ReceiveCommand:startrecord

startrecord
ZRCSDKE=0
ZRCSDKE=0
endmeeting
ReceiveCommand:endmeeting

endmeeting
ZRCSDKE=0
Send request: end meeting success!
OnSetRoomTempDisplayNameNotification, isShow:0
OnExitMeetingNotification, result:0, reason:0

Recording is successful and email is delivered .

Also, as i mentioned original post, mute works but un-mute seems broken…

Still playing with all this, lots to absorb for sure.
Thank you again for all your help and patience.

Hi @barbo No worries.
It looks like you are using a library but I can not identify which one. If you could share a link to it, I will be able to direct you to the right person to help you

Hi Elisa.
Thank you so much for all your help and patience. Much appreciated.
Sorry for the delay have been away.
Articulating questions (and answers) in textual form is a skill i’ve not. :slight_smile:

The library libuv used in your example code for using libZRCSdk produces an executable with these library dependencies:
sh-4.4$ ldd -r Demo
linux-vdso.so.1 (0x00007ffcac5f3000)
libatomic.so.1 => /usr/lib64/libatomic.so.1 (0x00007f1c68097000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f1c67e79000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f1c67c75000)
libZRCSdk.so => /lib64/libZRCSdk.so (0x00007f1c608e6000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f1c60512000)
libm.so.6 => /usr/lib64/libm.so.6 (0x00007f1c601c6000)
libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f1c5ffae000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007f1c5fbff000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1c6829f000)

i’m wanting to send the various commands via input from a web browser and have the responses return to the browser.
Provide room controller function such like one can do on the administrative web page launch room controller…
To use a browser in a full duplex, one need implement a websocket.
Whilst implementing such, i was unable to get the libuv to behave in such a way. (mea culpa).
I was able to mimic the basic functions in your example code using libevent https://libevent.org/ it’s another library similar in function to the libuv https://libuv.org/
but i need browser i/o not from a console terminal.

sh-4.4$ ldd -r a.out
linux-vdso.so.1 (0x00007ffe9bbad000)
libevent-2.1.so.6 => /usr/lib64/libevent-2.1.so.6 (0x00007f57852d3000)
libssl.so.1.1 => /usr/lib64/libssl.so.1.1 (0x00007f5785040000)
libcrypto.so.1.1 => /usr/lib64/libcrypto.so.1.1 (0x00007f5784b54000)
libZRCSdk.so => /lib64/libZRCSdk.so (0x00007f577d7c5000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f577d3f1000)
libm.so.6 => /usr/lib64/libm.so.6 (0x00007f577d0a5000)
libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f577ce8d000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007f577cade000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f577c8c0000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f577c6bc000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5785529000)

Currently, i can send what appears to be a successful pair but the response data seems to get lost in a thread or is otherwise not “plumbed” correctly, causing a “segfault”…
gotta be something very basic i’m missing - staring at code - “forest for the trees”

Not seeing any(useful) info in any of the various logging locations such as ~/.zoom/* and or ~/.zrcsdk/*

Thank you again for all your fantastic help and extreme patience.