blackuy / react-native-twilio-video-webrtc

Twilio Video (WebRTC) for React Native
https://www.twilio.com/docs/video
MIT License
608 stars 403 forks source link

Android Video feed is not working. #527

Open SKS-WAR opened 3 years ago

SKS-WAR commented 3 years ago

Expected behaviour

On video call connect the video feed should run on both the web and android devices.

Actual behaviour

On Video call connect the android video feed is not working. Neither front or back camera is giving feed , but both the camera are reflecting in the local video. Voice is properly functional but video is not being sent.

Environment

react-native-twilio-video-webrtc

Version: master

Nirmal-ICPL commented 3 years ago

I'm facing similar issue. Android feed is working in local view but video is not getting displayed in web portal. While in iOS, it's working fine.

While debugging native android code, we're getting below errrors File - CustomTwillioView.java in method "private CameraCapturer createCameraCaputer(Context context, CameraCapturer.CameraSource cameraSource) {"

Log.i("CustomTwilioVideoView", "Error getting camera");

We're getting below logs Dropping frame - Not initialized or already released.2021-08-11 14:06:11.817 22938-23654/com.securra.careapp E/tvi.webrtc.Logging: CameraStatistics: Camera freezed.

2021-08-11 14:06:11.818 22938-23654/com.securra.careapp E/CameraCapturer: Camera froze.

2021-08-11 14:06:11.818 22938-23654/com.securra.careapp I/CustomTwilioVideoView: Error getting camera

Could anyone please provide any suggestions or help us to resolve it?

Balasnest commented 3 years ago

@Nirmal-ICPL try this #536 and let us know if worked. cc: @slycoder

Nirmal-ICPL commented 3 years ago

@Balasnest ok sure. I will check and update you

I was able to resolve by using this one.

https://github.com/twilio/twilio-video-app-react/issues/577