camera showing black screen
good evening, i woke up to my iphone 13 camera showing a black screen when i open the front camera on the camera app, snapchat, Instagram and bereal. thankfully, the back camera works fine though. the front camera was completely fine the night before that. I'm unsure whether the defect is from the hardware or the software of the mobile.I fear taking it to a random mobile store to fix it as we don't have any Apple stores in Amman, Jordan because that will make me lose my warranty, which is valid until October 2023. i don't know what to do in my case. how can i fix my camera or what solutions can i resort to? I'm unsure when i will be flying to the UK to visit an apple store to fix it. could be in September which is a long time from now. any recommendations? please help. thank you
iPhone 13, iOS 16