iOS/Swift Developer needed for bug fix with AVCaptureVideoDataOutput

Closed Posted 3 years ago Paid on delivery
Closed Paid on delivery

I am working on an application that features a camera view similar to that of snapchat/instagram in that it should be able to record and take videos at the same time without having to switch between the two modes. (I.e., the user should be able to tap a button to take a picture, and hold the button to record a video). I have much of this already setup using an AVCaptureSession, preview layers and am using AVAssetWriter and AVCaptureVideoDataOutput for recording the videos.

However, I cannot get switching the camera to work *while* recording a video. Switching the camera between front/rear works fine, however if I do that whilest recording a video, frames are lost and the audio (from AVCaptureAudioDataOutput) is out of sync. I have tried to fix this by myself but no solution seems to work. So I need someone who is able to fix this specific bug: switching cameras while recording using AVCaptureVideoDataOutput makes the audio go out of sync with the video.

Ideally, the task should be completed so that switching cameras is instant, and can be seen instantly in the AVCaptureSession, and does not lose sync with the audio in the recorded video. More explanation can be given through chat, and some example code can be given that I have already written, however a clean solution is preferred.

Mobile App Development Swift iOS Development

Project ID: #28396202

About the project

12 proposals Remote project Active 3 years ago

12 freelancers are bidding on average £299 for this job

DharmeshGsonani

Hello I was read your problem related to camera. I will check your source code fixed your problem as soon possible. Thanks.

£100 GBP in 1 day
(160 Reviews)
6.5
£135 GBP in 7 days
(56 Reviews)
6.2
yanahon1997

How are you doing? I have been developing iOS apps using Swift for 5 years. Awesome front-end and well configured backend code will build your project wonderfully. I am good at using iOS native SDKs and third party. I More

£300 GBP in 7 days
(9 Reviews)
4.9
mohdy1375

Hello, I hope you are doing well, I read your description carefully, I am a Self-motivated "Mobile APP Developer"/Designer Expert with 7+ year's experience in all aspects of App design and development. I have worked More

£211 GBP in 2 days
(9 Reviews)
4.6
kostiantyn1998

Hi tom Hope you are having a great day. I am a mobile app developer having experience of working on all modern technologies like Swift, objective-c. I have published more than 20 apps on iOS store in last 3 years Plea More

£135 GBP in 7 days
(6 Reviews)
4.2
ugurbzkrt

Heyy, I think I know your problem. There are couple of tricks with video audio recording. I experienced them while building a karaoke app before. So I think I can help you. Best

£167 GBP in 3 days
(2 Reviews)
1.9
tehcvocal22

Hello welcome there I had read your project and I can assure you that we can complete this work in your preferred time. Me with my team are always ready to serve you Please message us for further discussion Thank you.

£100 GBP in 1 day
(0 Reviews)
0.0
piyush17121995

Hello, I have developed one application same like instagram and it is live on app store which have a functionality which you are expecting. A custom camera loaded in a view for capturing a picture or a video. In that a More

£214 GBP in 1 day
(0 Reviews)
0.0