Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video and Audio tracks are not published when permissions are granted #145

Open
Harshal624 opened this issue Dec 1, 2021 · 1 comment
Open

Comments

@Harshal624
Copy link

Steps to reproduce the problem:

  1. User joins a video room without camera and microphone permission
  2. User then grants camera and microphone permission
  3. Video and audio tracks are not published

Zoom allow users to join meeting without camera and microphone permissions as they can still watch other participants screen and listen to audio.

Issue: It looks like video and audio tracks are not automatically published when camera and microphone permissions are granted

Expected result: Video track and audio track should be published as soon as camera and microphone permissions are granted and remote participants should get the callback in onTrackAdded

@PratimMallick
Copy link
Member

@Harshal624 This can be achieved by having a role in our dashboard which does not have any publishing of audio or video. Let's say we call that role as a viewer role . In that case user will not need to provide permission to join the meeting.

When user tries to unmute the camera or mic, call the changeRole API to change user's role from viewer to publisher and take the required permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants