# What is the maximum room ID of Janus video room?

**URL:** <https://janus.discourse.group/t/what-is-the-maximum-room-id-of-janus-video-room/156>\
**Category:** General\
**Created:** [April 12, 2023, 8:41am UTC](https://janus.discourse.group/t/what-is-the-maximum-room-id-of-janus-video-room/156 "2023-04-12T08:41:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiali](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@jiali](https://janus.discourse.group/u/jiali)\
**Post date:** [April 12, 2023, 8:41am UTC](https://janus.discourse.group/t/what-is-the-maximum-room-id-of-janus-video-room/156/1 "2023-04-12T08:41:30Z")

</div>

Hi,

We are using your janus video room plugin to talk to each other.  
We use audio only.

From your “VideoRoom plugin documentation”, I know that the room ID is int type(unique numeric ID).  
Could you tell me what is the maximum room ID of Janus video room?  
(Is it the maximum of gunit64?)

Thanks,  
JiaLi

---

<div class="post-metadata">

**Author:** ![lorenzo](https://yyz2.discourse-cdn.com/free1/user_avatar/janus.discourse.group/lorenzo/32/425_2.png) [@lorenzo](https://janus.discourse.group/u/lorenzo)\
**Post date:** [April 12, 2023, 10:03am UTC](https://janus.discourse.group/t/what-is-the-maximum-room-id-of-janus-video-room/156/2 "2023-04-12T10:03:56Z")

</div>

It should be 2^53 - 1, which is the largest number possible in JavaScript. Since most of the times those IDs will be used in web applications, we don’t use the full 64-bit space.

---

<div class="post-metadata">

**Author:** ![jiali](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@jiali](https://janus.discourse.group/u/jiali)\
**Post date:** [April 12, 2023, 11:12am UTC](https://janus.discourse.group/t/what-is-the-maximum-room-id-of-janus-video-room/156/3 "2023-04-12T11:12:40Z")

</div>

Hi Lorenzo,

Thanks for your prompt reply!  
It is helpful.  
I see.

By the way, I want to confirm whether there is a limit to the number of users in one room.  
Could you tell me what is the maximum of users in a room?  
(Or only depending on server’s performance)

Thanks,  
JiaLi
