CameraManager icon indicating copy to clipboard operation
CameraManager copied to clipboard

Camera turn to blue screen in latest version 5.1.2

Open sadabios opened this issue 4 years ago • 4 comments

When i change camera output mode then its show blue screen for some second if my output mode is video with mic and change to cameraManager.cameraOutputMode = .stillImage then it show blue screen and vice versa for stillimage to videowithmic

please help its very urgent

sadabios avatar May 01 '20 05:05 sadabios

@sadabios

can you provide me some code to try to reproduce this?

torrao avatar May 04 '20 16:05 torrao

VPCX1270.MP4.zip @torrao i upload a video i m changing camera outputmode from top bar if cameraManager.cameraOutputMode == .stillImage{ if !checkMicPermission(){ alertToEncourageMicrophoneAccessWhenApplicationStarts() return } videoStampOn = true setRation(index: 0) changeImageWithAnimation(imageView:self.imgViewClick,toImage:UIImage(named: "ic_video_")!) DispatchQueue.main.async { self.cameraManager.cameraOutputMode = .videoWithMic } arrImgsTop[2] = "Group 181"

               // cameraManager.cameraOutputMode = .videoWithMic
            }else{
                arrImgsTop[2] = "Video"
                changeImageWithAnimation(imageView:self.imgViewClick,toImage:UIImage(named: "ic_click")!)
                       videoStampOn = false
                        setRation(index: getratioInt())
                       if imgViewlastClicked.image != nil{
                           imgViewlastClicked.fadeIn(alpha: 1)
                       }
                        DispatchQueue.main.async {
                                  self.cameraManager.cameraOutputMode = .stillImage
                              }
            

sadabios avatar May 05 '20 07:05 sadabios

@torrao can u please suggest me a solution for this?

sadabios avatar May 09 '20 04:05 sadabios

it's same for me :/

ahmedsafadii avatar May 16 '20 07:05 ahmedsafadii