Hey there and welcome to the Samsung UK and EU Community Forum
If you head to Settings > Advanced features, can you see an option called 'Screenshots and screen recordings'? If not, then the screen recording feature is not supported on your Galaxy A15.
Credit to
@AndrewL for this solution from a previous thread.
S24 Ultra