FM radio works but no audio playing YouTube, Podcast or Scribd app

My problem clearly isn’t related to /e/ OS but to the stock ROM provided with Sony.

History:
I installed 50.2.A stock rom with Emma and used /e/OS for a while just using WIFI. When I placed a SIM Card it had no cellphone network service posted about below:

When I re-flashed stock rom all seemed to be working fine till I discovered I had no audio on headphones and phone speaker while playing streaming services. Bluetooth it worked fine.

I re-flashed the phone again with 50.2.A where after WIFI did not work. The camera did not work either.

I re-flashed again using another Windows PC to be sure it wasn’t the USB port or Windows machine with the same issues.

I re-flashed now to 50.1.A and cellphone network, calls, camera, video streaming, wifi all seems to work fine on stock Android. Now going ahead and install latest /e/ OS.

Then I installed 0.21-r and the issue with the audio on videos occurred again. So the problem is the same with the 50.1.A. Could it be just related to my phone? I wonder what could cause such an issue with the ROM and drivers to malfunction in this way.