rcastriotta commited on
Commit
cd74c8d
1 Parent(s): 0eb3046

Update seamless_server/app_pubsub.py

Browse files
Files changed (1) hide show
  1. seamless_server/app_pubsub.py +5 -5
seamless_server/app_pubsub.py CHANGED
@@ -593,11 +593,11 @@ async def configure_stream(sid, config):
593
  )
594
  return {"status": "error", "message": "member_or_room_is_none"}
595
 
596
- if not allow_speaker(room, client_id):
597
- logger.error(
598
- f"In MAX_SPEAKERS mode we only allow one speaker at a time. Ignoring request to configure stream from client {client_id}."
599
- )
600
- return {"status": "error", "message": "max_speakers"}
601
 
602
  # If there is a server lock WITH an active transcoder session, prevent other users from configuring and starting a stream
603
  # If the server lock client does NOT have an active transcoder session allow this to proceed, knowing that
 
593
  )
594
  return {"status": "error", "message": "member_or_room_is_none"}
595
 
596
+ # if not allow_speaker(room, client_id):
597
+ # logger.error(
598
+ # f"In MAX_SPEAKERS mode we only allow one speaker at a time. Ignoring request to configure stream from client {client_id}."
599
+ # )
600
+ # return {"status": "error", "message": "max_speakers"}
601
 
602
  # If there is a server lock WITH an active transcoder session, prevent other users from configuring and starting a stream
603
  # If the server lock client does NOT have an active transcoder session allow this to proceed, knowing that