# C++ SDK error: wss\_data\_t::handle\_audio\_data, get user\_name failed

**URL:** <https://devforum.zoom.us/t/c-sdk-error-wss-data-t-handle-audio-data-get-user-name-failed/144454>\
**Category:** Realtime Media Streams\
**Created:** [June 25, 2026, 9:51pm UTC](https://devforum.zoom.us/t/c-sdk-error-wss-data-t-handle-audio-data-get-user-name-failed/144454 "2026-06-25T21:51:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![MinhCm](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@MinhCm](https://devforum.zoom.us/u/MinhCm)\
**Post date:** [June 25, 2026, 9:51pm UTC](https://devforum.zoom.us/t/c-sdk-error-wss-data-t-handle-audio-data-get-user-name-failed/144454/1 "2026-06-25T21:51:55Z")

</div>

Hello,  
iam building a small POC application to with C++ SDK  
The app has everything look correct until it supposes to get the audio, then instead of receiving audio, I see a lot of “wss\_data\_t::handle\_audio\_data, get user\_name failed” in the log till the end of the call  
Please advise

06/25/2026 21:21:41:570 ZSSGW\_SDK [1474267:1474267:140395328833536] INFO wss\_signal\_t::send\_stream\_ack: {  
“msg\_type” : 7,  
“rtms\_stream\_id” : “f4e2374d-a707-4fa0-b353-26ba74b165bd”  
}  
, this = 0x0000000001540310  
06/25/2026 21:21:41:570 ZSSGW\_SDK [1474267:1474267:140395328833536] INFO rtms\_sdk\_impl::on\_session\_start, reason: 0, this = 0x000000000153e7e0  
06/25/2026 21:21:41:570 UTIL [1474267:1474267:140395328833536] INFO timer\_it::remove\_timer(), times = 1, m\_carrier = 0x000000000154bad0, m\_id = 0, m\_interval\_ticks = 1000, this = 0x000000000153e880  
06/25/2026 21:21:41:570 ZSSGW\_SDK [1474267:1474267:140395328833536] INFO signal resp: {“msg\_type”:8,“rtms\_stream\_id”:“f4e2374d-a707-4fa0-b353-26ba74b165bd”,“state”:1,“timestamp”:1782422501570}, this = 0x0000000001540310  
06/25/2026 21:21:41:570 ZSSGW\_SDK [1474267:1474267:140395328833536] INFO wss\_session\_t::on\_stream\_active, this = 0x00000000015403f0  
06/25/2026 21:21:41:570 ZSSGW\_SDK [1474267:1474267:140395328833536] INFO signal resp: {“msg\_type”:9,“rtms\_session\_id”:“2C4BDB0B-229C-C975-2BEF-78F300777385”,“state”:2,“timestamp”:1782422501570}, this = 0x0000000001540310  
06/25/2026 21:21:41:570 ZSSGW\_SDK [1474267:1474267:140395328833536] INFO wss\_session\_t::on\_session\_create, SESSION\_ADD, this = 0x00000000015403f0  
06/25/2026 21:21:41:622 ZSSGW\_SDK [1474267:1474267:140395328833536] INFO signal resp: {“event”:{“event\_type”:1,“media\_type”:1,“timestamp”:1782422473062},“msg\_type”:6}, this = 0x0000000001540310  
06/25/2026 21:21:41:622 ZSSGW\_SDK [1474267:1474267:140395328833536] ERROR wss\_data\_t::handle\_audio\_data, get user\_name failed, ret: 2, this = 0x000000000158b350  
06/25/2026 21:21:41:683 ZSSGW\_SDK [1474267:1474267:140395328833536] ERROR wss\_data\_t::handle\_audio\_data, get user\_name failed, ret: 2, this = 0x000000000158b350  
06/25/2026 21:21:41:683 ZSSGW\_SDK [1474267:1474267:140395328833536] ERROR wss\_data\_t::handle\_audio\_data, get user\_name failed, ret: 2, this = 0x000000000158b350  
06/25/2026 21:21:41:683 ZSSGW\_SDK [1474267:1474267:140395328833536] ERROR wss\_data\_t::handle\_audio\_data, get user\_name failed, ret: 2, this = 0x000000000158b350

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [June 29, 2026, 2:54am UTC](https://devforum.zoom.us/t/c-sdk-error-wss-data-t-handle-audio-data-get-user-name-failed/144454/2 "2026-06-29T02:54:45Z")

</div>

@MinhCm are you trying to do RTMS with ZCC?

---

<div class="post-metadata">

**Author:** ![MinhCm](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@MinhCm](https://devforum.zoom.us/u/MinhCm)\
**Post date:** [June 29, 2026, 3:50am UTC](https://devforum.zoom.us/t/c-sdk-error-wss-data-t-handle-audio-data-get-user-name-failed/144454/3 "2026-06-29T03:50:35Z")

</div>

Hi Chun,  
yes, Iam trying to do RTMS with ZCC  
FYI, iam successful to get RTMS work without the SDK, i.e implement my own websocket clients and follow the websocket messages spec, so I know RTMS is working for our account, but I also want to evaluate the sdk before deciding which route i would go  
Thanks

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [June 29, 2026, 4:55am UTC](https://devforum.zoom.us/t/c-sdk-error-wss-data-t-handle-audio-data-get-user-name-failed/144454/4 "2026-06-29T04:55:16Z")

</div>

@MinhCm i understand. Did you try out this configuration on the RTMS SDK?

> <https://github.com/zoom/rtms/blob/main/examples/zcc.md>

The default experience for RTMS SDK is with Meeting.

---

<div class="post-metadata">

**Author:** ![MinhCm](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@MinhCm](https://devforum.zoom.us/u/MinhCm)\
**Post date:** [June 29, 2026, 1:09pm UTC](https://devforum.zoom.us/t/c-sdk-error-wss-data-t-handle-audio-data-get-user-name-failed/144454/5 "2026-06-29T13:09:04Z")

</div>

Hi Chun  
I actually specified the audio that i want to get, not using default setting  
Here is the request that is logged in the sdk’s log  
`{`  
` "media_params" :`  
` {`  
` "audio" :`  
` {`  
` "channel" : 2,`  
` "codec" : 1,`  
` "content_type" : 2,`  
` "data_opt" : 2,`  
` "sample_rate" : 1,`  
` "send_rate" : 20`  
` }`  
` },`  
`"media_type" : 1,`  
`"meeting_uuid" : "xxxxxx",`  
`"msg_type" : 3,`  
`"protocol_version" : 1,`  
`"rtms_stream_id" : "xxxxxxxxxx",`  
`"sequence" : 433475934,`  
`"signature" : "xxxxxxxxxx"`  
`}`

And the response that is also logged in the sdk’s log

`INFO data handshake resp: {"media_params":{"audio":{"channel":2,"codec":1,"content_type":2,"data_opt":2,"sample_rate":1,"send_rate":20}},"msg_type":4,"payload_encrypted":false,"protocol_version":1,"reason":"OK","sequence":433475934,"status_code":0}`

Unless you mean that the SDK only support OPUS at this moment?  
Thanks

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [June 30, 2026, 2:15am UTC](https://devforum.zoom.us/t/c-sdk-error-wss-data-t-handle-audio-data-get-user-name-failed/144454/6 "2026-06-30T02:15:34Z")

</div>

@MinhCm i mean the initial configure needs to set to ZCC.

Thereafter, for mixed audio, there will be no user\_name

> **[Event reference - RTMS - Zoom Developer Docs](https://developers.zoom.us/docs/rtms/event-reference/#audio-data)**
>
> This document is a reference for all RTMS events and messages used to receive session updates, establish signaling and media connections, manage session states, handle keep-alive requests, and receive media data.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/7/077023091fd41188b94fd59582f320d000bba1d7.png)

---

<div class="post-metadata">

**Author:** ![MinhCm](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@MinhCm](https://devforum.zoom.us/u/MinhCm)\
**Post date:** [June 30, 2026, 3:38am UTC](https://devforum.zoom.us/t/c-sdk-error-wss-data-t-handle-audio-data-get-user-name-failed/144454/7 "2026-06-30T03:38:25Z")

</div>

> [@chunsiong.zoom](#):
>
> i mean the initial configure needs to set to ZCC.

Chun, iam a bit confuse about the above statement  
As mentioned, i do not want the sdk default value here and asked for specific audio configuration, and according to the response from the server which is  
`{"media_params":{"audio":{"channel":2,"codec":1,"content_type":2,"data_opt":2,"sample_rate":1,"send_rate":20}},"msg_type":4,"payload_encrypted":false,"protocol_version":1,"reason":"OK","sequence":433475934,"status_code":0}`

That means I asked for stereo raw audio L16, Multi Streams, and the server acknowledged it. So mixed audio should not be in the picture here

By “initial configured needs to set to ZCC”, do you mean I must configure the request to ask for OPUS /mixed stream as it is default for ZCC?  
Thanks for your patient

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [July 1, 2026, 3:24am UTC](https://devforum.zoom.us/t/c-sdk-error-wss-data-t-handle-audio-data-get-user-name-failed/144454/8 "2026-07-01T03:24:25Z")

</div>

@MinhCm would this sample help?

I suspect it might be a minor misconfiguration

> **[GitHub - zoom/zcc-rtms-autostart\_sample-js](https://github.com/zoom/zcc-rtms-autostart_sample-js)**
>
> Contribute to zoom/zcc-rtms-autostart\_sample-js development by creating an account on GitHub.
