Method and apparatus for displaying video image, electronic device and storage medium
Abstract:
The embodiment of the present disclosure provides a method and an apparatus for displaying a video image, an electronic device and a storage medium. The solution is as follows: receiving, by a server, a UDP request sent by a client based on an IP address of the server, wherein the UDP request includes identification information of a video to be played; acquiring the video to be played according to the identification information of the video to be played; encapsulating the video to be played from a key frame of the video to obtain a UDP packet; and sending the UDP packet to the client at a first transmission rate, so that the client, after receiving the UDP packet, decapsulates the UDP packet to obtain the video to be played, and display a first image frame of the video to be played, wherein the first transmission rate is the maximum transmission rate determined according to a network bandwidth. According to technical solutions provided in the embodiments of the present disclosure, the time required from initiating the request to displaying the first image frame of the video is reduced, and a display speed of the first image frame of the video is improved.
Information query
Patent Agency Ranking
0/0