# ZRCSdk libZRCSdk.so et.al

**URL:** <https://devforum.zoom.us/t/zrcsdk-libzrcsdk-so-et-al/118495>\
**Category:** Meeting SDK\
**Tags:** recording, sdk\
**Created:** [October 2, 2024, 4:12pm UTC](https://devforum.zoom.us/t/zrcsdk-libzrcsdk-so-et-al/118495 "2024-10-02T16:12:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![barbo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/barbo/32/61849_2.png) [@barbo](https://devforum.zoom.us/u/barbo)\
**Post date:** [October 2, 2024, 4:12pm UTC](https://devforum.zoom.us/t/zrcsdk-libzrcsdk-so-et-al/118495/1 "2024-10-02T16:12:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [October 5, 2024, 1:45pm UTC](https://devforum.zoom.us/t/zrcsdk-libzrcsdk-so-et-al/118495/2 "2024-10-05T13:45:44Z")

</div>

> [@barbo](#):
>
> RCSdk library

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?

---

<div class="post-metadata">

**Author:** ![barbo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/barbo/32/61849_2.png) [@barbo](https://devforum.zoom.us/u/barbo)\
**Post date:** [October 7, 2024, 3:18pm UTC](https://devforum.zoom.us/t/zrcsdk-libzrcsdk-so-et-al/118495/3 "2024-10-07T15:18:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [October 8, 2024, 2:00pm UTC](https://devforum.zoom.us/t/zrcsdk-libzrcsdk-so-et-al/118495/4 "2024-10-08T14:00:29Z")

</div>

> [@barbo](#):
>
> Using ZRCSdk library and example code, need to pair twice to Zoom Room before being able to start a meeting.

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

---

<div class="post-metadata">

**Author:** ![barbo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/barbo/32/61849_2.png) [@barbo](https://devforum.zoom.us/u/barbo)\
**Post date:** [October 10, 2024, 12:48pm UTC](https://devforum.zoom.us/t/zrcsdk-libzrcsdk-so-et-al/118495/5 "2024-10-10T12:48:16Z")

</div>

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. 🙂

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/](https://libevent.org/) it’s another library similar in function to the libuv [https://libuv.org/](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.

---

<div class="post-metadata">

**Author:** ![barbo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/barbo/32/61849_2.png) [@barbo](https://devforum.zoom.us/u/barbo)\
**Post date:** [October 23, 2024, 1:41pm UTC](https://devforum.zoom.us/t/zrcsdk-libzrcsdk-so-et-al/118495/6 "2024-10-23T13:41:43Z")

</div>

Have resolved “plumbing” issue(s), forked processes and threads can be a lot to keep handle on. At any rate, am back to original questions about having to pair multiple times. Further, it appears that once things are paired, the communications continues indefinite(?) At what point does the Zoom infrastructure decide that a paring code is stale? How does an appliance room controller retain is pairing code? How does one keep a persistent pairing code (i.e) don’t need regenerate and re-pair with a new code?
