Doppler's effect is sound in addition of relative velocity between source and observer, also depends while source and observer or both are moving. Doppler's effect in light depend only on the relative velocity of source and observer. The reason of this is.