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

Event LocalVideoStreamAdded not triggered in iOS in the background or quit states #160

Open
MEsteves22 opened this issue May 11, 2022 · 6 comments

Comments

@MEsteves22
Copy link

Hello,

I'm having a problem in iOS where the event LocalVideoStreamAdded is not triggered most of the time when the app is in the background or quit states. I detected this problem while I was using version 1.32.1. Everything is working fine with version 1.30.0.

Environment:

  • iPhone XR
  • iOS v15.4.
  • react-native v0.67.4

Thank you!

@pe1ros
Copy link
Contributor

pe1ros commented May 11, 2022

Hello @MEsteves22!

Unfortunately, we cannot reproduce the issue.
Could you please provide step-by-step scenario to reproduce this issue?
Could you please also let us know if you observe this issue on any of our demo apps?

Thank you!

@MEsteves22
Copy link
Author

MEsteves22 commented May 23, 2022

Hello @pe1ros,

I tested this with your demo VoximplantDemo available here, and I was able to reproduce the issue. Before testing, I upgraded react-native-voximplant to v1.32.1.

I attached below a video showing the problem. As you can see, when the app is in the background and I receive an incoming call, the local video stream doesn't appear in the lower right corner as it's supposed to.

bug_v1.32.1mov.mov

Thank you!

@bsor-dev
Copy link

@MEsteves22 I got same issue, have you solved this?

@MEsteves22
Copy link
Author

@rosnaib11 No, I have not. I downgraded Vox Implant to version 1.30.0.

@bsor-dev
Copy link

@MEsteves22 I solved it partially by sending call.sendVideo(true) on Voximplant.CallEvents.Connected or can be also at Voximplant.CallEvents.MessageReceived listeners

@MEsteves22
Copy link
Author

@rosnaib11 Thank you for the workaround!

I already send the flag sendVideo to true on my call settings when I answer or make a call. I guess this is not triggering the LocalVideoStreamAdded event sometimes.

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

3 participants