An electronic device comprising: a housing; a display; a camera module coupled to one side of the housing, and configured to be capable of changing a sightline; a driving module configured to control changing of a sightline of the camera module; at least one processor operatively connected to the display, the camera module, and the driving module; and a memory operatively connected to the at least one processor, and configured to store instructions, wherein, upon execution, the instructions enable the at least one processor to perform operations, the operations comprising: in response to a video shooting request, obtaining a first image via the camera module, based on a first set value mapped to a first direction in which the camera module faces, displaying a preview image of the obtained first image on the display, and recording the first image as video, receiving an input for requesting changing of the sightline of the camera module to a second direction, which is different from the first direction, while recording the first image, in response to the received input, pausing recording of the video, providing a sightline change effect image as a preview image, and controlling the driving module so that the camera module faces in the second direction, adjusting the first set value to a second set value mapped to the second direction, in response to changing of the sightline of the camera module, after completing changing of the sightline and adjustment, obtaining a second image via the camera module, based on the second set value, and providing the preview image, based on the obtained second image, and recording the second image to be subsequent to the recorded first image, to resume recording the video, wherein the first set value includes various register values and parameter values which are tuned for the camera module to obtain a high-quality image in the first direction, wherein the second set value includes various register values and parameter values which are tuned for the camera module to obtain a high-quality image in the second direction. a housing; a display; a camera module coupled to one side of the housing, and configured to be capable of changing a sightline; a driving module configured to control changing of a sightline of the camera module; at least one processor operatively connected to the display, the camera module, and the driving module; and a memory operatively connected to the at least one processor, and configured to store instructions, wherein, upon execution, the instructions enable the at least one processor to perform operations, the operations comprising: in response to a video shooting request, obtaining a first image via the camera module, based on a first set value mapped to a first direction in which the camera module faces, displaying a preview image of the obtained first image on the display, and recording the first image as video, receiving an input for requesting changing of the sightline of the camera module to a second direction, which is different from the first direction, while recording the first image, in response to the received input, pausing recording of the video, providing a sightline change effect image as a preview image, and controlling the driving module so that the camera module faces in the second direction, adjusting the first set value to a second set value mapped to the second direction, in response to changing of the sightline of the camera module, after completing changing of the sightline and adjustment, obtaining a second image via the camera module, based on the second set value, and providing the preview image, based on the obtained second image, and recording the second image to be subsequent to the recorded first image, to resume recording the video, in response to a video shooting request, obtaining a first image via the camera module, based on a first set value mapped to a first direction in which the camera module faces, displaying a preview image of the obtained first image on the display, and recording the first image as video, receiving an input for requesting changing of the sightline of the camera module to a second direction, which is different from the first direction, while recording the first image, in response to the received input, pausing recording of the video, providing a sightline change effect image as a preview image, and controlling the driving module so that the camera module faces in the second direction, adjusting the first set value to a second set value mapped to the second direction, in response to changing of the sightline of the camera module, after completing changing of the sightline and adjustment, obtaining a second image via the camera module, based on the second set value, and providing the preview image, based on the obtained second image, and recording the second image to be subsequent to the recorded first image, to resume recording the video,