voxeet / voxeet-uxkit-reactnative

https://www.npmjs.com/package/@voxeet/react-native-voxeet-conferencekit
MIT License
11 stars 12 forks source link

Android: Default video is not enable. #80

Open codal-mpawar opened 1 year ago

codal-mpawar commented 1 year ago

As a receiver when I receive a call then the video is disabled. Can we enable it?


VoxeetSDK.defaultVideo(true); //Make default camera on
            VoxeetSDK.defaultBuiltInSpeaker(true); // Make default speaker on
codal-mpawar commented 1 year ago

For reference. @codlab @FabienLavocat

https://user-images.githubusercontent.com/46340921/224613095-7188fec8-0828-4446-99b2-a5300df57e38.mp4

codlab commented 1 year ago

do you mean outside of react native lifecycle ?

codal-mpawar commented 1 year ago

@codlab

  1. Once the callee initiates the call
  2. the receiver gets the notification and receiver accepts the call
  3. receiver default video option is not on/enable.
codal-mpawar commented 1 year ago

@codlab @FabienLavocat Any update for this bug? please take a look and update us on all bugs. Thanks

codlab commented 1 year ago

did the receiver accepted incoming video permission ? I don't replicate the issue, was the app completely closed? Are those defaultVideo & speaker made before or after attempt to connect the user ?

codal-mpawar commented 1 year ago

@codlab We share information in the mail.

codal-mpawar commented 1 year ago

@codlab This issue reproduces once we get a notification in the killing state. we share the kill state logs yesterday. so please check from your end first.

codlab commented 1 year ago

I don't have the issue from the killing state. Are you sure to call VoxeetSDK.defaultVideo(true); before opening the session back when the app is opening itself ?

codal-mpawar commented 1 year ago

let me try before the opening the session.

codal-mpawar commented 1 year ago

can you please share the zip code which you used? so I can get references from them.

codal-mpawar commented 1 year ago

@codlab Not working.

I am setting as below. Let me know if i am still missing.

VoxeetSDK.defaultVideo(true); //Make default camera on
VoxeetSDK.defaultBuiltInSpeaker(true); // Make default speaker on
const participant = new ConferenceParticipant(
  `${sub}`.toString(),
   preferred_username
   ? `${preferred_username}`.toString()
   : given_name
   ? `${given_name}`.toString()
   : '',
   picture ? `${picture}`.toString() : ''
console.warn('opening a session', participant);
VoxeetEnvironment.connect(participant)
 .then(() => {
   resolve();
  })
  .catch((error) => {
    console.log('VoxeetEnvironment.connect error :: ', error);
    reject(error);
  });