Video playing method and system

By monitoring network status in real time in the video playback system and dynamically adjusting the frame data sending strategy, the problem of video playback quality decline caused by network fluctuations is solved, the stability and fluency of video playback are achieved, and the user experience is optimized.

CN119255004APending Publication Date: 2025-01-03FUJIAN FUNO MOBILE COMM TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411160521.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The fluctuations in network status cause the quality of streaming video playback to decline, and problems such as buffering, lag and screen dissipation have occurred, affecting the user experience.

Method used

By monitoring network status in real time in the video playback system, dynamically adjusting the sending strategy of frame data, including frame drop strategy and frame recovery strategy, ensuring the stability and smoothness of video playback.

Benefits of technology

Effectively reduce the impact of network congestion on video playback, reduce lag and delay, avoid users in low-quality video playback status for a long time, and optimize user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119255004A_ABST
    Figure CN119255004A_ABST
Patent Text Reader

Abstract

The invention relates to a video playing method and system, and the method comprises the steps: building a transmission buffer region between a playing end link of a player according to a received on-demand request of the player, monitoring and calculating the video frame data size in the transmission buffer region in real time, thereby obtaining a current network state, and when a forwarding request of frame data is received, sending the frame data to the playing end link of the player. And dynamically adjusting a sending strategy to forward the frame data according to the current network state, wherein the sending strategy comprises a frame loss strategy and a frame recovery strategy. Therefore, the sending cache region is independent of each playing end link, when network congestion occurs, only the network congestion of a single playing end link is caused, the whole is not influenced, the stability of frame data forwarding is ensured, the sending strategy is dynamically adjusted according to the current network state, and the sending speed is improved. And the sending strategy not only comprises a frame loss strategy, but also comprises a frame recovery strategy, so that the flexibility and stability of frame data forwarding are improved, the stability and smoothness of video playing are ensured, and the user experience is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a video playback method and system. Background Art

[0002] With the advent of the digital age, the consumption pattern of video content has undergone tremendous changes. From the traditional TV broadcasting era to the current online streaming services, the way of obtaining video content has become increasingly dependent on the Internet. Streaming services allow users to watch video content in real time or on demand without downloading the entire video file, which greatly improves the convenience of viewing.

[0003] However, the quality of the network directly affects the quality of streaming media services. When the network is congested, it will cause video buffering, freezes, screen distortion, and gray screens, affecting the video playback quality and user experience. Summary of the invention

[0004] The technical problem to be solved by the present invention is: the present invention provides a method and system for video playback, which can dynamically adjust the frame data sending strategy according to the network status, ensure the video playback quality, and optimize the user experience.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0006] In a first aspect, the present invention provides a method for playing a video, comprising:

[0007] Receive a video-on-demand request from a player, establish a sending buffer between the player's playback end link and the player according to the video-on-demand request, monitor and calculate the amount of video frame data in the sending buffer in real time, and obtain the current network status according to the amount of video frame data;

[0008] When a forwarding request for frame data is received, a sending strategy is dynamically adjusted according to the current network state, and the frame data is forwarded according to the sending strategy to achieve video playback. The sending strategy includes a frame loss strategy and a frame recovery strategy.

[0009] The beneficial effects of the present invention are as follows: only when a VOD request from a player is received will a sending buffer area be established between the player's playback end link, so the sending buffer area is independent and dynamic, and each playback end link corresponds to a sending buffer area. The sending strategy is dynamically adjusted in real time according to the network status of the sending buffer area, that is, an independent sending buffer area and an independent sending strategy, thereby improving compatibility. When network congestion occurs, only the network congestion of a single playback end link will occur, and the overall situation will not be affected, thereby ensuring the stability of frame data forwarding. The sending strategy of frame data is dynamically adjusted according to the network status, and the sending strategy includes not only a frame loss strategy but also a frame recovery strategy, rather than simply dropping frames. The flexibility of frame data forwarding is improved, and the impact of network congestion on video playback can be effectively reduced, reducing video playback freezes and delays, ensuring the smoothness and stability of video playback, and the frame recovery strategy can prevent users from being in a low-quality video playback state for a long time, thereby optimizing user experience.

[0010] Optionally, obtaining the current network status from the video frame data volume includes:

[0011] Determine whether the video frame data volume is less than a first threshold value. If so, the current network state is a smooth state. If not, determine whether the video frame data volume is greater than a second threshold value. If so, the current network state is a first-level congestion state. If not, the current network state is a second-level congestion state.

[0012] According to the above description, the current network state includes a smooth state, a first-level congestion state and a second-level congestion state. The multi-level fine-grained division of the current network state improves the accuracy of the obtained current network state.

[0013] Optionally, dynamically adjusting the sending strategy according to the current network state, and forwarding the frame data according to the sending strategy includes:

[0014] When the current network state is a smooth state, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and the first encapsulated frame data is forwarded; when the current network state is a first-level congestion state, the frame data is discarded according to the frame loss strategy; when the current network state is a second-level congestion, it is determined whether the type of the frame data is a key frame; if so, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain second encapsulated frame data, and the second encapsulated frame data is forwarded; if not, the frame data is discarded according to the frame loss strategy.

[0015] According to the above description, when the sending strategy is dynamically adjusted according to the current network status, it is not a simple frame loss. A layered frame loss strategy is implemented to ensure the transmission of key frames as much as possible, ensure the continuity of frame data, avoid freezes, and improve the stability and smoothness of video playback.

[0016] Optionally, when the current network state is a smooth state, encapsulating the frame data into frame data corresponding to a request stream protocol format of the play request to obtain first encapsulated frame data, and forwarding the first encapsulated frame data includes:

[0017] When the current network status is unobstructed, determine whether there is a historical network status of a first-level congestion status or a second-level congestion status. If so, forward the frame data according to the frame recovery strategy, and determine whether the type of the frame data is a key frame. If so, delete the historical network status of a first-level congestion status or a second-level congestion status and encapsulate the frame data into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and forward the first encapsulated frame data.

[0018] According to the above description, when the current network status is smooth, the sending strategy can be automatically adjusted. That is, if the frame loss strategy was adopted before, when the current network status is restored to a smooth state, it can adaptively restore normal frame sending to ensure that the frame data transmission is restored to the optimal state, improve the smoothness and stability of video playback, avoid users from being in a low-quality video playback state for a long time, and optimize the user experience.

[0019] Optionally, the first threshold is two-thirds of the second threshold, and the second threshold is a maximum value of a preset sending buffer area.

[0020] In a second aspect, the present invention provides a system for video playback, comprising:

[0021] A network detection module is used to receive a video-on-demand request from a player, establish a sending buffer between the player's playback end link and the player according to the video-on-demand request, monitor and calculate the amount of video frame data in the sending buffer in real time, and obtain the current network status according to the amount of video frame data;

[0022] The dynamic sending module is used to dynamically adjust the sending strategy according to the current network status when receiving a forwarding request for frame data, forward the frame data according to the sending strategy, and realize video playback. The sending strategy includes a frame loss strategy and a frame recovery strategy.

[0023] The beneficial effects of the present invention are as follows: only when a VOD request from a player is received will a sending buffer area be established between the player's playback end link, so the sending buffer area is independent and dynamic, and each playback end link corresponds to a sending buffer area. The sending strategy is dynamically adjusted in real time according to the network status of the sending buffer area, that is, an independent sending buffer area and an independent sending strategy, thereby improving compatibility. When network congestion occurs, only the network congestion of a single playback end link will occur, and the overall situation will not be affected, thereby ensuring the stability of frame data forwarding. The sending strategy of frame data is dynamically adjusted according to the network status, and the sending strategy includes not only a frame loss strategy but also a frame recovery strategy, rather than simply dropping frames. The flexibility of frame data forwarding is improved, and the impact of network congestion on video playback can be effectively reduced, reducing video playback freezes and delays, ensuring the smoothness and stability of video playback, and the frame recovery strategy can prevent users from being in a low-quality video playback state for a long time, thereby optimizing user experience.

[0024] Optionally, the network detection module is specifically:

[0025] Determine whether the video frame data volume is less than a first threshold value. If so, the current network state is a smooth state. If not, determine whether the video frame data volume is greater than a second threshold value. If so, the current network state is a first-level congestion state. If not, the current network state is a second-level congestion state.

[0026] According to the above description, the current network state includes a smooth state, a first-level congestion state and a second-level congestion state. The multi-level fine-grained division of the current network state improves the accuracy of the obtained current network state.

[0027] Optionally, the dynamic sending module is specifically:

[0028] When the current network state is a smooth state, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and the first encapsulated frame data is forwarded; when the current network state is a first-level congestion state, the frame data is discarded according to the frame loss strategy; when the current network state is a second-level congestion, it is determined whether the type of the frame data is a key frame; if so, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain second encapsulated frame data, and the second encapsulated frame data is forwarded; if not, the frame data is discarded according to the frame loss strategy.

[0029] According to the above description, when the sending strategy is dynamically adjusted according to the current network status, it is not a simple frame loss. A layered frame loss strategy is implemented to ensure the transmission of key frames as much as possible, ensure the continuity of frame data, avoid freezes, and improve the stability and smoothness of video playback.

[0030] Optionally, the dynamic sending module is specifically:

[0031] When the current network status is unobstructed, determine whether there is a historical network status of a first-level congestion status or a second-level congestion status. If so, forward the frame data according to the frame recovery strategy, and determine whether the type of the frame data is a key frame. If so, delete the historical network status of a first-level congestion status or a second-level congestion status and encapsulate the frame data into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and forward the first encapsulated frame data.

[0032] According to the above description, when the current network status is smooth, the sending strategy can be automatically adjusted. That is, if the frame loss strategy was adopted before, when the current network status is restored to a smooth state, it can adaptively restore normal frame sending to ensure that the frame data transmission is restored to the optimal state, improve the smoothness and stability of video playback, avoid users from being in a low-quality video playback state for a long time, and optimize the user experience.

[0033] Optionally, the first threshold is two-thirds of the second threshold, and the second threshold is a maximum value of a preset sending buffer area. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A flowchart of a video playback method provided by an embodiment of the present invention;

[0035] Figure 2 A schematic diagram of the overall flow of a video playback method provided by an embodiment of the present invention;

[0036] Figure 3 A schematic diagram of the structure of a video playback system provided by an embodiment of the present invention.

[0037] [Description of Reference Numerals]

[0038] 1. A video playback system;

[0039] 2. Network detection module;

[0040] 3. Dynamic sending module. DETAILED DESCRIPTION

[0041] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a clearer and more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0042] Embodiment 1

[0043] Please refer to Figure 1 to Figure 2 The present invention provides a method for video playback, comprising the steps of:

[0044] S1. Receive a video-on-demand request from a player, establish a sending buffer between the player and the player end link according to the video-on-demand request, monitor and calculate the amount of video frame data in the sending buffer in real time, and obtain the current network status according to the amount of video frame data;

[0045] In this embodiment, if Figure 2 As shown, the streaming media service receives the on-demand request of the player, and establishes a sending buffer area between the player's playback end link according to the on-demand request, that is, the sending buffer area is established only when the on-demand request is received, and the sending buffer area is separate. Each playback end link corresponds to a sending buffer area, and the amount of video frame data in the sending buffer area is monitored and calculated in real time to obtain the current network status.

[0046] At this time, obtaining the current network status according to the video frame data volume in step S1 includes:

[0047] S11. Determine whether the amount of video frame data is less than a first threshold value. If so, the current network state is a smooth state. If not, determine whether the amount of video frame data is greater than a second threshold value. If so, the current network state is a first-level congestion state. If not, the current network state is a second-level congestion state.

[0048] In this embodiment, the first threshold is two-thirds of the second threshold, and the second threshold is the maximum value of the preset sending buffer. For example, if the sending buffer is in bytes and its maximum value is 963 bytes, the second threshold is 963, and the first threshold is two-thirds of the second threshold, that is, the first threshold is 642 bytes. If the video frame data volume is less than the first threshold, that is, less than 642 bytes, the current network state is a smooth state. Otherwise, if the video frame data volume is not less than the first threshold, it is determined whether it is greater than the second threshold. That is, if the video frame data volume is greater than 963 bytes, the current network state is a first-level congestion state. Otherwise, if the video frame data volume is not greater than 963 bytes, the current network state is a second-level congestion state, and the congestion degree of the first-level congestion state is greater than the congestion degree of the second-level congestion state.

[0049] S2. When a forwarding request for frame data is received, the sending strategy is dynamically adjusted according to the current network state, and the frame data is forwarded according to the sending strategy to achieve video playback. The sending strategy includes a frame loss strategy and a frame recovery strategy.

[0050] At this time, dynamically adjusting the sending strategy according to the current network state in step S2, and forwarding the frame data according to the sending strategy includes:

[0051] S21. When the current network state is a smooth state, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and the first encapsulated frame data is forwarded. When the current network state is a first-level congestion state, the frame data is discarded according to the frame loss strategy. When the current network state is a second-level congestion, it is determined whether the type of the frame data is a key frame. If so, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain second encapsulated frame data. The second encapsulated frame data is forwarded. If not, the frame data is discarded according to the frame loss strategy.

[0052] At this time, in step S21, when the current network state is unobstructed, encapsulating the frame data into frame data corresponding to the request stream protocol format of the play request to obtain first encapsulated frame data, and forwarding the first encapsulated frame data includes:

[0053] S211. When the current network status is unobstructed, determine whether there is a historical network status of a first-level congestion status or a second-level congestion status. If so, forward the frame data according to the frame recovery strategy, and determine whether the type of the frame data is a key frame. If so, delete the historical network status of a first-level congestion status or a second-level congestion status and encapsulate the frame data into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and forward the first encapsulated frame data.

[0054] In this embodiment, if Figure 2As shown, when the current network state is unobstructed, it will first determine whether there is a historical network state of a first-level congestion state or a second-level congestion state, that is, determine whether a frame loss strategy has been adopted before. If there is a historical network state of a first-level congestion state or a second-level congestion state, that is, a frame loss strategy has been adopted before, the sending strategy will be dynamically adjusted to forward according to the recovery frame strategy. First, it is determined whether the type of frame data is a key frame. If so, the historical network state of the first-level congestion state or the second-level congestion state is deleted and the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request, and the first encapsulated frame data is forwarded, wherein the The judgment of whether there is a historical network status of a first-level congestion state or a second-level congestion state, that is, whether a frame loss strategy is adopted, in addition to the deletion method described above, a marking method can also be adopted, that is, the historical network status with a first-level congestion state or a second-level congestion state is marked as "true", and the judgment is made according to the mark. When the frame strategy is restored to forward the frame data, the historical network status mark is modified to "false", that is, there is no first-level congestion state or a second-level congestion state. Specifically, the judgment of whether there is a historical network status of a first-level congestion state or a second-level congestion state can be adjusted according to actual conditions.

[0055] Embodiment 2

[0056] Please refer to Figure 3 The present invention provides a video playback system 1, including: a network detection module 2 and a dynamic sending module 3.

[0057] The network detection module 2 is used to receive a video-on-demand request from a player, establish a sending buffer between the link to the player's playback end according to the video-on-demand request, monitor and calculate the amount of video frame data in the sending buffer in real time, and obtain the current network status according to the amount of video frame data;

[0058] The dynamic sending module 3 is used to dynamically adjust the sending strategy according to the current network status when receiving a forwarding request for frame data, and forward the frame data according to the sending strategy to achieve video playback. The sending strategy includes a frame loss strategy and a frame recovery strategy.

[0059] Specifically, the network detection module 2 is specifically:

[0060] Determine whether the video frame data volume is less than a first threshold value. If so, the current network state is a smooth state. If not, determine whether the video frame data volume is greater than a second threshold value. If so, the current network state is a first-level congestion state. If not, the current network state is a second-level congestion state.

[0061] Specifically, the first threshold is two-thirds of the second threshold, and the second threshold is a preset maximum value of the sending buffer area.

[0062] Specifically, the dynamic sending module 3 is specifically:

[0063] When the current network state is a smooth state, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and the first encapsulated frame data is forwarded; when the current network state is a first-level congestion state, the frame data is discarded according to the frame loss strategy; when the current network state is a second-level congestion, it is determined whether the type of the frame data is a key frame; if so, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain second encapsulated frame data, and the second encapsulated frame data is forwarded; if not, the frame data is discarded according to the frame loss strategy.

[0064] Specifically, the dynamic sending module 3 is specifically:

[0065] When the current network status is unobstructed, determine whether there is a historical network status of a first-level congestion status or a second-level congestion status. If so, forward the frame data according to the frame recovery strategy, and determine whether the type of the frame data is a key frame. If so, delete the historical network status of a first-level congestion status or a second-level congestion status and encapsulate the frame data into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and forward the first encapsulated frame data.

[0066] Since the system / device described in the above embodiments of the present invention is a system / device used to implement the method of the above embodiments of the present invention, a person skilled in the art can understand the specific structure and deformation of the system / device based on the method described in the above embodiments of the present invention, and thus will not be described in detail here. All systems / devices used in the method of the above embodiments of the present invention belong to the scope of protection of the present invention.

[0067] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0068] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions.

[0069] It should be noted that in the claims, any reference numerals placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the claims enumerating several means, several of these means may be embodied by the same hardware. The use of the words first, second, third, etc., is for convenience of expression only and does not indicate any order. These words may be understood as part of the component name.

[0070] In addition, it should be noted that, in the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0071] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments after knowing the basic creative concept. Therefore, the claims should be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.

[0072] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include these modifications and variations.

Claims

1. A method for video playback, characterized in that: include: Receive a video-on-demand request from a player, establish a sending buffer between the player's playback end link and the player according to the video-on-demand request, monitor and calculate the amount of video frame data in the sending buffer in real time, and obtain the current network status according to the amount of video frame data; When a forwarding request for frame data is received, a sending strategy is dynamically adjusted according to the current network state, and the frame data is forwarded according to the sending strategy to achieve video playback. The sending strategy includes a frame loss strategy and a frame recovery strategy.

2. A video playback method as claimed in claim 1, characterized in that: The obtaining of the current network status according to the video frame data volume comprises: Determine whether the video frame data volume is less than a first threshold value. If so, the current network state is a smooth state. If not, determine whether the video frame data volume is greater than a second threshold value. If so, the current network state is a first-level congestion state. If not, the current network state is a second-level congestion state.

3. A video playback method as claimed in claim 1, characterized in that: The dynamically adjusting the sending strategy according to the current network state and forwarding the frame data according to the sending strategy includes: When the current network state is a smooth state, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and the first encapsulated frame data is forwarded; when the current network state is a first-level congestion state, the frame data is discarded according to the frame loss strategy; when the current network state is a second-level congestion, it is determined whether the type of the frame data is a key frame; if so, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain second encapsulated frame data, and the second encapsulated frame data is forwarded; if not, the frame data is discarded according to the frame loss strategy.

4. A video playback method as claimed in claim 3, characterized in that: When the current network state is a smooth state, encapsulating the frame data into frame data corresponding to the request stream protocol format of the play request to obtain first encapsulated frame data, and forwarding the first encapsulated frame data includes: When the current network status is unobstructed, determine whether there is a historical network status of a first-level congestion status or a second-level congestion status. If so, forward the frame data according to the frame recovery strategy, and determine whether the type of the frame data is a key frame. If so, delete the historical network status of a first-level congestion status or a second-level congestion status and encapsulate the frame data into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and forward the first encapsulated frame data.

5. A video playback method as claimed in claim 2, characterized in that: The first threshold is two-thirds of the second threshold, and the second threshold is a preset maximum value of the sending buffer area.

6. A video playback system, characterized in that: include: A network detection module is used to receive a video-on-demand request from a player, establish a sending buffer between the player's playback end link and the player according to the video-on-demand request, monitor and calculate the amount of video frame data in the sending buffer in real time, and obtain the current network status according to the amount of video frame data; The dynamic sending module is used to dynamically adjust the sending strategy according to the current network status when receiving a forwarding request for frame data, forward the frame data according to the sending strategy, and realize video playback. The sending strategy includes a frame loss strategy and a frame recovery strategy.

7. A video playback system as claimed in claim 6, characterized in that: The network detection module is specifically: Determine whether the video frame data volume is less than a first threshold value. If so, the current network state is a smooth state. If not, determine whether the video frame data volume is greater than a second threshold value. If so, the current network state is a first-level congestion state. If not, the current network state is a second-level congestion state.

8. A video playback system as claimed in claim 6, characterized in that: The dynamic sending module is specifically: When the current network state is a smooth state, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and the first encapsulated frame data is forwarded; when the current network state is a first-level congestion state, the frame data is discarded according to the frame loss strategy; when the current network state is a second-level congestion, it is determined whether the type of the frame data is a key frame; if so, the frame data is encapsulated into frame data corresponding to the request stream protocol format of the playback request to obtain second encapsulated frame data, and the second encapsulated frame data is forwarded; if not, the frame data is discarded according to the frame loss strategy.

9. A video playback system as claimed in claim 8, characterized in that: The dynamic sending module is specifically: When the current network status is unobstructed, determine whether there is a historical network status of a first-level congestion status or a second-level congestion status. If so, forward the frame data according to the frame recovery strategy, and determine whether the type of the frame data is a key frame. If so, delete the historical network status of a first-level congestion status or a second-level congestion status and encapsulate the frame data into frame data corresponding to the request stream protocol format of the playback request to obtain first encapsulated frame data, and forward the first encapsulated frame data.

10. A video playback system as claimed in claim 7, characterized in that: The first threshold is two-thirds of the second threshold, and the second threshold is a preset maximum value of the sending buffer area.

Citation Information

Cited By

  • Video live broadcast frame chasing method and device, equipment, storage medium and program product

    CN120434425A