voximplant / react-native-voximplant

Voximplant mobile SDK for React Native (iOS/Android)
http://voximplant.com
205 stars 39 forks source link

Video is not showing #67

Open ruscoder opened 5 years ago

ruscoder commented 5 years ago

Hello! I encountered a problem with a video showing. In my experiments, I use two iPhone SE (ios 12.1.4) devices and android emulator (nexus 5x, android 9)

Here some of my observations when I call from

  1. iPhone to iPhone calls - everything is OK, both devices send and receive a video
  2. iPhone to android emulator - everything is OK, both devices send and receive a video
  3. android emulator to iPhone - iPhone sends and receives a video, emulator sends a video but doesn't receive a video
ir4y commented 5 years ago

The same problem exists when I am using a real Android device, not just an emulator.

YuliaGrigorieva commented 5 years ago

Hello!

Thank you for reporting the issue!

Could you please provide the following information:

  1. Voximplant React Native SDK version
  2. React Native version
  3. Have you observed the issue for a call between 2 android devices / emulators?

Best regards, Yulia Grigorieva

ir4y commented 5 years ago

@YuliaGrigorieva We are using messaging branch of react-native-voximplant. React Native version is ^0.57.3 The issue exists for a video call from android to android (both real devices, don't test on the emulator).

P.S. The source code is in open https://github.com/beda-software/telemedicine-demo-mobile It bootstrapped on top of https://github.com/voximplant/react-native-demo Also you can find liks to APK and TestFlight at readme.

YuliaGrigorieva commented 5 years ago

@ir4y, @ruscoder I'm not able to reproduce the issue on our demo project (tested between 2 android devices). Could you please try to reproduce it with demo project and let me know the results?

Please also ensure that the promise returned from the Call.sendVideo API is resolved correctly.

Best regards, Yulia Grigorieva

srujanb commented 5 years ago

I am having the same issue and that too on the demo project provided by voximplant, which I think might help you, @YuliaGrigorieva I am running the demo project on Actual android device and iOS simulator at the same time. My Android phone is sending the video which is being seen on the iPhone simulator but not vice verse.

I haven't made any changes to the project so it is as is.

YuliaGrigorieva commented 5 years ago

Hello, @srujanb !

iOS simulator does not support camera, that's why video is not sending from it. You need to test on a real iOS revice to have bidirectional video between android and ios.

Best regards, Yulia Grigorieva

paulobunga commented 3 years ago

I'm having the exact same issue, testing on both physical android devices. The device that I use to initiate a call cant see remove video. However the device I use to receive the call can receive the video.

paulobunga commented 3 years ago

I'm having the exact same issue, testing on both physical android devices. The device that I use to initiate a call cant see remove video. However the device I use to receive the call can receive the video.

I fixed my issue by upgrading to latest package.