Closed saket424 closed 6 years ago
Thanks for creating the issue. @saket424 I could't start InCallManager.start({ media: 'audio' }) with react-native-incall manager. Other part works. But, I am not familiar with the error you raised above. Are you trying this in real Android device? I used the Android Studio emulator when I came across the problem.
Yes I tried on a real Android device
+1 Had same issue (though it occurred for me on Android Studio emulator), @saket424's solution worked for me as well
@caseygbigelow Nice! That patch seems to prevent app from crashing!!
@atyenoria , I encountered a null pointer exception when I tried to run the Android sample with videoConstraintsMandatory in react-native-janus-gateway-webrtc-video-chat/node_modules/react-native-webrtc/android/src/main/java/com/oney/WebRTCModule/GetUserMediaImpl.java
When I changed the code from
to this instead
then the react-native-janus-gateway-webrtc-video-chat VideoRoom sample worked. Did you encounter a similar issue and if yes, what is the proposed work around? I know you state that android is still a work in progress but I was impatient and wanted to give it a whirl
Thanks