You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Camera errors and trouble determining facing or angle using Nexus handsets. Caused by its use of facing and rotation to form what would normally be a 0 or 1. Throws error code -38 when starting the MediaRecorder. This bug renders the app useless as stated in previous issues.
Reproducing: Using Haven and attempting to switch cameras when not actively previewing from the MonitorActivity would cause the Camera.open() call to return a null camera instance.
Buggy Workarounds: Avoid setting the audio source and format in MediaRecorderActivity. Alternatively, encode using h.263 instead of .264. Remove extraneous file separator from the videoFile path if necessary. This will give you a video file but the dependency used to play it back is old. You have to then export it to view, could be a data limit thing.
Conclusions: Setting the cameraFacing variable isn’t possible using a device that doesn’t provide a simple 0,1 camera configuration. Once lost, the app will crash when called a second time. For instance, when visiting MonitorView -> Settings -> Camera Sensitivity the parameters are attempting to be set on a null object after the Camera.open() call fails due to lack of a provided variable corresponding to the camera of the device.
Causes video monitoring to crash when setting the audio output and encoder because media recorder is already active at that time from an outside process using the microphone
Camera sensitivity in settings will crash if not accessed directly from the MonitorView
Modification may help some devices and hurt others, further testing required.
The text was updated successfully, but these errors were encountered:
- uses the https://github.com/siralam/CameraViewPlus library to make the camera usage more reliable, and support Camera2
- integrates RenderScript support to move to better performance on some image conversion functions
- improves display and performance of detection display overlay
e0ecdc6 fixes most all of this 👍 thank you! Issues above regarding video recording and bind handlers are mentioned eleewhere: #313, #295. Closing it up
Issue Recap: Nexus, Galaxy & Fringe Device Issues
Description: Camera errors and trouble determining facing or angle using Nexus handsets. Caused by its use of facing and rotation to form what would normally be a 0 or 1. Throws error code -38 when starting the MediaRecorder. This bug renders the app useless as stated in previous issues.
Reproducing: Using Haven and attempting to switch cameras when not actively previewing from the
MonitorActivity
would cause theCamera.open()
call to return a null camera instance.Buggy Workarounds: Avoid setting the audio source and format in MediaRecorderActivity. Alternatively, encode using h.263 instead of .264. Remove extraneous file separator from the videoFile path if necessary. This will give you a video file but the dependency used to play it back is old. You have to then export it to view, could be a data limit thing.
Conclusions: Setting the
cameraFacing
variable isn’t possible using a device that doesn’t provide a simple 0,1 camera configuration. Once lost, the app will crash when called a second time. For instance, when visiting MonitorView -> Settings -> Camera Sensitivity the parameters are attempting to be set on a null object after theCamera.open()
call fails due to lack of a provided variable corresponding to the camera of the device.The text was updated successfully, but these errors were encountered: