KillerInk / FreeDcam

FreeDcam is a CameraApp for Android >4.0(ics) wich try to enable stuff that is forgotten by the manufacturs
GNU General Public License v2.0
297 stars 44 forks source link

Video recording do not starts after new update 4.1final #61

Closed aunqur closed 5 years ago

aunqur commented 5 years ago

Phone Model: Mi A1

FreeDcam Version: 4.1final

Problem Description:

Every time i start camera and try to record video it shows either of following two errors.

  1. Start Recording failed Attempt to read from field 'long freed.utils.VideoMediaaProfile.MaxRecordingTime' on a null object reference
  2. Start recording failed null.

Very occasionally it start recording though.

Recording was ok on previous version 4.1beta9

aunqur commented 5 years ago

I've traced error. sometimes recorder.currentVideoProfile is null and somtimes giving error java.lang.IllegalStateException. you can see it by setting debug at freed/cam/apis/camera1/modules/AbstractVideoModule.java:153 and see the Exception

KillerInk commented 5 years ago

im not realy sure why it happen. i will look whats going on the next days

KillerInk commented 5 years ago

that should fix the problem f6043b4ece92a26e15c5824c7c1daf04169baa1d

aunqur commented 5 years ago

Thanks, video recording is now working fine. :)