Recently installed LineageOS 18.1 on my Moto Z3 Play. Almost everything works fine, except for the video recording and the microphone. I've tried many different camera apps, and sometimes they'll work perfectly, but most of the time, either there's no audio, the audio is out of sync with the video, or it just doesn't even start recording the video.
GCam doesn't even boot on my phone, and the GCam mods I've tried will sometimes record the video perfectly, but most of the time, will give me an error that says "Part of last video may not have saved." Same thing with the Moto Camera. Footej Camera 2 will work about 50% of the time, but sometimes I get the audio out of sync with the video problem.
I also can't send audio messages on WhatsApp, because over half the time, they'll record only half of what I say.
I thought maybe this problem had to do with me installing EdXposed, but I uninstalled it and this problem is still happening. I've got Magisk installed too. Not sure if that could cause the problem, but I guess it's worth mentioning. The phone is rooted too.