# Flip camera while recording video like Instagram

**URL:** <https://forums.kodeco.com/t/flip-camera-while-recording-video-like-instagram/88134>\
**Category:** Swift\
**Created:** [November 14, 2019, 4:33pm UTC](https://forums.kodeco.com/t/flip-camera-while-recording-video-like-instagram/88134 "2019-11-14T16:33:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hrajput](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hrajput/32/81494_2.png) [@hrajput](https://forums.kodeco.com/u/hrajput)\
**Post date:** [November 14, 2019, 4:33pm UTC](https://forums.kodeco.com/t/flip-camera-while-recording-video-like-instagram/88134/1 "2019-11-14T16:33:11Z")

</div>

How can I flip camera while recording video and record continue video like Instagram? I have tried to merge two video but it will miss some part of video and audio.

---

<div class="post-metadata">

**Author:** ![jayantvarma](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jayantvarma/32/111768_2.png) [@jayantvarma](https://forums.kodeco.com/u/jayantvarma)\
**Post date:** [November 15, 2019, 9:57am UTC](https://forums.kodeco.com/t/flip-camera-while-recording-video-like-instagram/88134/2 "2019-11-15T09:57:05Z")

</div>

Hi @hrajput,  
I don’t use Intagram so I don’t know what that really means. Are you wanting to use the front and the back camera for recording and alternate between them?

cheers,

---

<div class="post-metadata">

**Author:** ![hrajput](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hrajput/32/81494_2.png) [@hrajput](https://forums.kodeco.com/u/hrajput)\
**Post date:** [November 15, 2019, 4:59pm UTC](https://forums.kodeco.com/t/flip-camera-while-recording-video-like-instagram/88134/3 "2019-11-15T16:59:24Z")

</div>

I want to record continue video while flip camera from back to front or front to back with audio.i have tried to merge video recorded by front camera and back camera but it lost some frames when we toggle the camera and change the avcapturesession input.

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [April 29, 2020, 8:33am UTC](https://forums.kodeco.com/t/flip-camera-while-recording-video-like-instagram/88134/4 "2020-04-29T08:33:13Z")

</div>

Closed on April 29, 2020, 8:33am UTC

This topic was automatically closed after 166 days. New replies are no longer allowed.
