Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

LCCS room limitations

Avatar

Level 2

Hello,

I don't find a clear description of every limits of the LCCS service. I don't mean the free account limitations but the technical limitations.

For example i know that there's a limit of 3 simultanous P2P streams that can be published from a single user, but is there a global limit of P2P streams for a single room?

I read that there was a limit of 5000 users connections for a same room. Is it still the case? If yes, when is it shedulled to remove this limitation?

Is there some other limitations like this?

My idea was to use a single Room for my whole App, to which every user is connected from start to end, and if i want several users to exchange chat messages in a "chat room" i use a specific shared model with a dedicated uniqueID. With this solution i can have several "chat rooms" in a single LCCS room.

But if there's low limitations, it seems to be bad solution for a big number of users connected at same time.

If is a bad approach of doing things?

Please help me to understand all the room limitations.

Thanks.

Seb

3 Replies

Avatar

Former Community Member

Hi Seb,

There is a limitation of total 3 p2p streams if you are not using multicast i.e. our player 10.1 SDK. You can though modify this limit by setting streamManager.maxP2PStreamPublish to a higher value. However, that may have other player and bandwidth problems.

You can use player 10.1 for many p2p streams using stream multicast. Player 10.1's source is still not distributed but we are planning to do it in the coming release.

Regarding number of users per room, yes we do tend to limit it to 5000. So, ideally if you want to build a really scalable app, you should distribute connections in multiple rooms. For your chat case, the best solution would be to have different chats in different rooms, especially if you are planning to have a large number of users per chat. This approach of multiple rooms may be a bit more effort to implement, but its worth the time for better scalability in real life applications with large number of users.

Hope this helps

Thanks

Regards

Hironmay Basu

Avatar

Level 2

Hi,

Thanks for the answer.

But the limitation of 3 p2p streams apply only for one user, or for the whole room?

For example in room 1, i have

user 1 publish webcam stream to user 2 and user 2 publish webcam stream to user 1

user 3 publish webcam stream to user 4 and user 4 publish webcam stream to user 3

So i have 4 streams published in my room, but not for one user.

Do you consider that it is out of the limitation of 3 you talk about?

In the same idea, do you count only published streams or also received streams?

For example if i have in room 1:

user 1 publish webcam stream to user 2

user 1 publish sound stream to user 2

user received webcam and sound streams from user 2

So i have 4 streams for user 1, but only 2 published streams.

Do you consider that it is out of the limitation of 3 you talk about?

Avatar

Level 2

Hello,

Regarding the 5000 users limit per room:

you said "we tend to limit it to 5000" is it an automatic limitation, or is there a way to over pass this limit?

And why do you apply this limit?

you also said "ideally if you want to build a really scalable app, you should distribute connections in multiple rooms"

But if i have multiple chat rooms, the user will have to endure the connection time (not so short) every time he changes chat room. When i use a single LCCS room for all my chat discussions, i can limit to only one connection time for the whole App, which is much better user experience.

Moreover, i also use the global room connection between all users to keep some common informations updated live, especially for example to keep the online users, and the online state of chat rooms hosts. How can i do differently?

Thanks,

Regards,

Seb