100mslive/100ms-android

Video and Audio tracks are not published when permissions are granted

Harshal624 opened this issue · 1 comments

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

@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