Line them up by a sound both of them recorded. In most editors you do it by eye: zoom in on the audio waveforms and slide one clip until the peaks match. Desktop editors like Premiere Pro and DaVinci Resolve can do it automatically. camrip does it automatically too, on your phone or in the browser.
Both videos have to hear the same sound: the music from a speaker, a clap, your voice in the same room. If one clip only has your voice in headphones and the other has the music, there is nothing in common to line up.
Tip: clap once, sharply, after you press record on every camera. A clap is a spike in the waveform that is easy to spot.
It works, but it is fiddly: a single frame off is enough to make lip-sync look wrong.
After syncing you still cut the angles yourself.
camrip syncs up to four videos by their sound to the millisecond — no clap needed, the cameras can start at different times — and then also does the cutting: the best shot for every cut, on the beat for music or in the pauses for talking. The result is one vertical video, and every cut stays editable.
Sync and cut your videos