Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

Advice : Auto user searching

Avatar

Level 2

Some info:

1. We have room with 500+ users.

2. Every user should receive another one, so we will have private video chats.

3. Every user can simply leave room(disconnect) or begin searching process of another user in room for a video conversation.

Need advice in algorithm of client-to-client searching process with lccs.

I have several ideas but they have huge connection routine.

- Use UserManager  (at least manager provide collections) with custom field like "Status" (UserDescriptor.customFields)?

- Use custom sharedModel like CollectionNode. Every user needed in companion add MessageItem with some custom object. (Problem here, CollectionNode doesn't provide any API for lists, only listener 1 by 1 item)

Is there any API for easy estebleshing "connection" between 2 users in room?

Maybe better avoid rooms with more then 2 users if we need twosome conversations.

Maybe you have better ideas how to implement such task with 

P.S. Server-side is PHP

1 Reply

Avatar

Employee

Hi Nicolas,

SharedCollection extends ListCollectionView and might help with the second idea of yours.

Thanks

Arun