An electronic device includes: a camera; one communication circuitry to communicate with an external electronic device; and one processor configured to: obtain an image for the external electronic device, based on a first camera setting; receive, from the external electronic device, speed information of the external electronic device; and change the first camera setting to a second camera setting, based on the received speed information; wherein the first camera setting comprises a first frame length, wherein the second camera setting comprises a second frame length, wherein, in a first case that the speed information is greater than or equal to a threshold value, the second frame length is shorter than the first frame length, and wherein, in a second case that the speed information is smaller than the threshold value, the second frame length is longer than the first frame length.