Skip to content
#

peer-connection

Here are 14 public repositories matching this topic...

Study-Room
OlegKunitsyn
OlegKunitsyn commented May 2, 2021

For now all users that can join the audio stream are admins. I've extended userController by

    const role = users.length === 0 ? 'admin' : 'visitor'
    const user = {id,name,room,role};
...
    const role = usersInVoice.length === 0 ? 'admin' : 'visitor'
    const user = {id,name,room,role};

and replaced user:admin with user:user.role. In result, we have two roles of users.

enhancement good first issue easy hacktoberfest

Improve this page

Add a description, image, and links to the peer-connection topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the peer-connection topic, visit your repo's landing page and select "manage topics."

Learn more