Method and device of adjusting image quality of video based on network environment

The invention discloses a method and a device of adjusting image quality of a video based on network environment. The method comprises the following steps of receiving target frame numbers of lost video frames, which are transmitted by a terminal, and taking the time for receiving the target frame numbers as time stamps of the target frame numbers; determining the number of the target frame numbers corresponding to the time stamps in a preset time bucket; when the number of the target frame numbers is greater than a first threshold, reducing appointed image quality parameters according to preset configuration conditions; and when the number of the target frame numbers is less than a second threshold, improving the appointed image quality parameters according to the preset configuration conditions, wherein the first threshold is greater than the second threshold. According to the scheme disclosed by the invention, an intelligent camera is guaranteed to adjust the image quality parameters of the video according to the current network environment, so that the terminal can play the video smoothly.