The Wayback Machine - https://web.archive.org/web/20220530221613/https://github.com/topics/peerjs
Skip to content
#

peerjs

Here are 374 public repositories matching this topic...

mirotalk
peerjs-python
rmsy
rmsy commented Jan 6, 2021

Hello 👋 Thank you for this awesome library! I started working with it yesterday and I noticed that, unless I'm missing something, DataChannel message handling appears to be broken for binary-serialized messages. Every time I receive a binary DataChannel message, I receive the below exception:

2021-01-06 08:49:41 WARNING ~/Development/proj/venv/lib/python3.9/site-packages/peerjs/datacon
good first issue help wanted
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 peerjs 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 peerjs topic, visit your repo's landing page and select "manage topics."

Learn more