Doppler effect is applicable for
Moving bodies
One is moving and other are stationary
For relative motion
None of these
Doppler effect is applicable when there is relative motion between source and observer.