Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Latency show NAN

Avatar

Level 2

Hi,

I try to get the latency value for the current user with this code:

cSession.userManager.getUserDescriptor(cSession.userManager.myUserID).latency

but I get NAN value.

Why?

Thanks,

Eyal.

4 Replies

Avatar

Level 4

If I remember correctly you don't get a latency value in P2P mode. From

the spec "The amount of latency in milliseconds between the user and the

server." No server no latency Someone else may correct me though.

-Eric

Avatar

Level 3

There's an undocumented class in LCCS, com.adobe.rtc.util.BandwidthMeter, I haven't used it, but I suspect it's related to your issue.

Check it ou.