I have the same problem with my Galaxy 22. I think the Samsung August update messed up the audio en screen recording. Now when I do a screen recording of a video call, I cannot hear my voice but only the voice of the other caller. I hope Samsung fixes this problem soon.
The new update S901BXXS2AVHD /S901BOXM2AVHE / S901BXXU2AVHE dated 1st September 2022 has fixed this problem. I updated and now can hear both voices (mine and caller) when I use Screen Recorder.
Problem is back with the new update of 1st October 2023 - S901BXXS2AVI7. I updated to this firmware, and I am now experiencing the same old problem. Now when I do a screen recording of a video call, I cannot hear my voice but only the voice of the other caller. Samsung should fix this problem once and for all, and not mess it up again with every new update.