OpenSight / janus-cloud

a cluster solution for Janus WebRTC server, by API proxy approach
GNU Affero General Public License v3.0
207 stars 49 forks source link

for only one janus-gateway backend, max publishers of videoroom is only 3 (default of janus-gateway) #40

Closed 04116 closed 1 year ago

04116 commented 2 years ago

https://github.com/OpenSight/janus-cloud/blob/729dcad78229c21261cee85e9a12413ceca42181/januscloud/proxy/plugin/videoroom.py#L2306

Hi @jamken, It looks like we need to detect the number of janus-gateway, when having more than one we don't need to forward room's max publishers but for only 1, we need to do it

jamken commented 2 years ago

Yes, you are right. I miss setting "publishers" properties of the backend room. Thanks for your careful reminding

cpbruno commented 1 year ago

Why not set the number of publishers to 0, i.e., unlimited?