100mslive / 100ms-web

A conferencing and streaming UI built with 100ms SDK.
https://examples-videoconferencing.app.100ms.live/preview/tmz-qdi-cyp
MIT License
198 stars 164 forks source link

create multi select component #467

Closed raviteja83 closed 2 years ago

raviteja83 commented 3 years ago

Replace the select for roles with multi select where multiple roles can be selected.

image

click on mute all from above menu to open the following modal

image

pratik9333 commented 3 years ago

Can I do it? @raviteja83

triptu commented 3 years ago

sure, assigning to you @pratik9333 , note that it will also require changes in this repo - https://github.com/100mslive/hms-video-react

pratik9333 commented 3 years ago

image

@triptu hello, I'am facing this issue while running app in localhost!

pratik9333 commented 3 years ago

I have updated TOKEN_GENERATION_ENDPOINT but don't know to update REACT_APP_POLICY_CONFIG can you please help me on this ? @triptu

triptu commented 3 years ago

Can you try setting REACT_APP_POLICY_CONFIG={} in .env?

pratik9333 commented 3 years ago

Yeah it worked, but when I'm going to this URL asking name but button is disabled named join. http://localhost:3000/preview/6173d788af3188df33e6316a/teacher @triptu

triptu commented 3 years ago

Is it disabled even after typing in the name? Have you give camera and mic permissions?

pratik9333 commented 3 years ago

Yeah its disabled after typing name, although it didn't asked for camera and mic permissions

triptu commented 3 years ago

OS and browser? Did it never ask or was deny done the first time? Can you try any other browser as well. If permission was denied it'll need to be manually allowed https://support.google.com/chrome/answer/2693767?hl=en&co=GENIE.Platform%3DDesktop&oco=0

pratik9333 commented 3 years ago

Using windows 11 and chrome browser. It never asked for it actually

pratik9333 commented 3 years ago

Used different browser, didn't worked

pratik9333 commented 3 years ago

@triptu

triptu commented 3 years ago

where did you get the room id and role from? The above room doesn't have any role named teacher. It has host though, this might work - http://localhost:3000/preview/6173d788af3188df33e6316a/host if the token endpoint is properly configured.

pratik9333 commented 3 years ago

Room id I got from 100ms website only as mention in readme that we have to generate endpoint token and all for configuration.

pratik9333 commented 3 years ago

It worked! Thank you :D

pratik9333 commented 3 years ago

image

One doubt, here in roles row, I have to change this dropdown to multiselect where he can selecr host and guest too at same time correct?

pratik9333 commented 3 years ago

@triptu

triptu commented 3 years ago

yes that is correct

mwangiwambui commented 2 years ago

Hi @triptu , I am getting the below error when I try to join a room Screenshot from 2022-05-06 18-42-44

triptu commented 2 years ago

@mwangiwambui can you create a new github issue with more details around steps you did and saw the issue?