All that matters in special relativity is the relative motion, so you can always think of yourself as standing still and make the source of electromagnetic radiation move to you, or away from you, relative to you. 