CN112866345A - Websocket-based streaming media low-delay communication implementation method, electronic device and storage medium - Google Patents

Websocket-based streaming media low-delay communication implementation method, electronic device and storage medium Download PDF

Info

Publication number
CN112866345A
CN112866345A CN202011629112.5A CN202011629112A CN112866345A CN 112866345 A CN112866345 A CN 112866345A CN 202011629112 A CN202011629112 A CN 202011629112A CN 112866345 A CN112866345 A CN 112866345A
Authority
CN
China
Prior art keywords
frame
streaming media
video
frames
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011629112.5A
Other languages
Chinese (zh)
Other versions
CN112866345B (en
Inventor
朱培金
刘玉明
王炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Pilot Technology Co ltd
Original Assignee
Zhuhai Pilot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Pilot Technology Co ltd filed Critical Zhuhai Pilot Technology Co ltd
Priority to CN202011629112.5A priority Critical patent/CN112866345B/en
Publication of CN112866345A publication Critical patent/CN112866345A/en
Application granted granted Critical
Publication of CN112866345B publication Critical patent/CN112866345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for realizing streaming media low-delay communication based on WebSocket, which comprises the following steps: sending handshake information, sending heartbeat information, controlling a holder, judging connection, managing connection, pushing streaming media frames, distributing the streaming media frames, and correcting error frames. The invention relates to an electronic device and a storage medium, which are used for executing a streaming media low-delay communication implementation method based on WebSocket. The invention is used for exchanging streaming media data and control commands between the streaming media server and the video playing client in real time, does not depend on a third-party plug-in, has the advantages of low delay and high real-time performance, can be effectively compatible with various video playing clients (such as Web browsers, IOS/android APPs, Windows desktop players and the like), and provides basic guarantee for upper-layer applications such as streaming media monitoring, analysis and the like.

Description

Websocket-based streaming media low-delay communication implementation method, electronic device and storage medium
Technical Field
The invention relates to the technical field of data acquisition of the Internet of things, in particular to a streaming media low-delay communication implementation method based on WebSocket, electronic equipment and a storage medium.
Background
In the existing streaming media service, a streaming media manufacturer mostly uses a self-defined plug-in to realize streaming media playing based on TCP/UDP Socket, so that the universality is low, and browsers such as Chrome, Firefox and the like cannot be compatible. Other slice communication and playing technologies of HLS have the problem of high delay (basically more than 5 seconds), and cannot meet the scene with the requirement on real-time performance.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a WebSocket-based streaming media low-latency communication implementation method, which is used for exchanging streaming media data and control commands between a streaming media server and a video playing client (such as a Web browser, an IOS/android APP, a Windows desktop player and the like) in real time, does not depend on a third-party plug-in, and has the advantages of low latency and high real-time performance.
The invention provides a method for realizing streaming media low-delay communication based on WebSocket, which comprises the following steps:
sending handshake information, and after the client is successfully connected to the streaming media server through the WebSocket mode, sending the handshake information;
sending heartbeat information, and sending a frame of heartbeat information when the client and the streaming media server do not send any information within a time threshold;
and the client controls the cloud deck of the video equipment through the cloud deck control frame.
Further, in the step of sending handshake information, the handshake information includes a subscribed video device ID, a channel number, a code stream type, and an audio switch; the code stream types comprise a default code stream, a main code stream, a sub code stream and a mobile code stream.
Further, in the step of sending heartbeat information, the heartbeat information includes local timestamp information, and when no information is received from the WebSocket connection after a preset time is exceeded, it is determined that the connection is failed, and the connection is forcibly interrupted.
Further, in the cradle head control step, the cradle head control frame includes a control type, a control speed, a start-stop flag, and a control parameter, the control type includes an upper, a lower, a left, a right, a focal length, a focus, an aperture, and a preset point, and the control speed includes a fast speed, a slow speed, and a medium speed.
A method for realizing streaming media low-delay communication based on WebSocket comprises the following steps:
judging connection, namely judging that the connection is invalid if no handshake information is received within preset time after the streaming media server receives the connection of the client, and forcibly interrupting the connection;
connection management, after receiving the WebSocket connection of the client, the streaming media server passes the rationality judgment of the basic parameters, and then judges whether the current existing connection number is smaller than the upper limit of a client connection pool, if all the connection number is met, the connection is added into the connection pool, and connection is initiated to the video monitoring equipment subscribed by the connection;
pushing streaming media frames, and when the streaming media server analyzes the streaming media frames from the video monitoring equipment, putting the streaming media frames into a pushing queue of a subscription client, and pushing the streaming media frames to the client through a WebSocket connection sequence;
distributing streaming media frames, wherein when a plurality of clients initiate subscription to the same video monitoring device, the streaming media server initiates connection to the video monitoring device only once, and simultaneously adds all the clients initiating subscription to a subscription list of the video monitoring device;
and correcting error frames, wherein the streaming media server configures an upper limit of a buffer frame for each connection, and when the streaming media server receives a new streaming media frame from a client and joins in a push queue of the client, the streaming media error frames are corrected by judging whether the frame number reaches the upper limit of the buffer frame according to the type of the streaming media frame and then are joined in the frame.
Further, the streaming media frame is divided into a video I frame, a video P frame, and an audio a frame, where the video I frame and the video P frame include a video timestamp, a coding format, a picture size, a picture format, a frame rate, and video data, and the audio a frame includes an audio timestamp, a coding format, a sampling rate, a packet size, a sampling manner, a number of channels, and audio data.
Further, in the streaming media frame distribution step, the streaming media server unpacks the streaming media frame encapsulation from the video monitoring devices of different manufacturers, packs the streaming media frame encapsulation into a uniform video I frame, a video P frame and an audio a frame, and distributes the video I frame, the video P frame and the audio a frame to the subscribed clients.
Further, in the error frame correction step, if a video I frame is received, all video I frames and video P frames in the queue are removed, and a new streaming media frame is added to the push queue, and if the frame number exceeds the upper limit of the buffer frame, the oldest audio a frame is sequentially deleted, and the state of waiting for the video I frame is removed;
if the received frame is not a video I frame and the frame number does not reach the upper limit of the cache frame, directly adding the frame into a push queue, and waiting for the video I frame state to discard the frame;
if the received frame is not a video I frame and the frame number reaches the upper limit of the buffer frame, waiting for the state of the video I frame to discard the frame, if the buffer frame has an audio A frame, directly deleting the oldest audio A frame, adding the frame, if the buffer frame does not have the audio A frame but has the video I frame and the oldest frame is the video P frame, directly deleting the oldest video P frame, adding the frame, if the buffer frame does not have the audio A frame but has the video I frame and the oldest frame is the video I frame, discarding the frame and marking as the state of waiting for the video I frame, and if the buffer frame does not have the audio A frame or the video I frame but only has the video P frame, discarding the frame and marking as the state of waiting for the video I frame;
the upper limit of the configured buffer frame is 2-3 times of the actual code rate.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for performing a WebSocket-based streaming low-latency communication implementation method.
A computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement a WebSocket-based streaming media low-latency communication implementation method.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a method for realizing streaming media low-delay communication based on WebSocket, which comprises the following steps: sending handshake information, sending heartbeat information, controlling a holder, judging connection, managing connection, pushing streaming media frames, distributing the streaming media frames, and correcting error frames. The invention relates to an electronic device and a storage medium, which are used for executing a streaming media low-delay communication implementation method based on WebSocket. The invention is used for exchanging streaming media data and control commands between the streaming media server and the video playing client in real time, does not depend on a third-party plug-in, has the advantages of low delay and high real-time performance, can be effectively compatible with various video playing clients (such as Web browsers, IOS/android APPs, Windows desktop players and the like), and provides basic guarantee for upper-layer applications such as streaming media monitoring, analysis and the like.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings. The detailed description of the present invention is given in detail by the following examples and the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a streaming media low-delay communication implementation method based on WebSocket in the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
A method for implementing streaming media low-delay communication based on WebSocket is shown in figure 1 and comprises the following steps:
sending handshake information, wherein the handshake information needs to be sent immediately after the client is successfully connected to the streaming media server through the WebSocket mode; the handshake information comprises subscribed video equipment ID, channel number, code stream type and audio switch; the code stream types comprise 1-default code stream, 2-main code stream, 3-sub code stream and 4-mobile code stream.
And judging connection, namely judging invalid connection if no handshake information is received within preset time (such as 5 seconds) after the streaming media server receives the connection of the client, and forcibly interrupting the connection.
And sending heartbeat information, wherein when the client and the streaming media server do not send any information within a time threshold, one frame of heartbeat information needs to be sent for keeping the validity of the connection. In this embodiment, the time threshold is 10 seconds. The heartbeat frame contains only local timestamp information. And when the preset time (such as 25 seconds) is exceeded and no information is received from the WebSocket connection, determining that the connection is invalid, and forcibly interrupting the connection.
The streaming media frame is pushed to the client in real time, and is divided into a video I frame, a video P frame and an audio A frame, and the streaming media frame is pushed to the client in real time by the streaming media server, and is usually required to be sent by tens of frames per second according to the actual condition of the code rate. When the streaming media server analyzes the streaming media frame from the video monitoring equipment, the streaming media server immediately puts the frame into a push queue of a subscription client and pushes the frame to the client through the WebSocket connection sequence. The video I frame and the video P frame include a video timestamp, a coding format, a picture size, a picture format, a frame rate, video data, and the like, and the audio a frame includes an audio timestamp, a coding format, a sampling rate, a packet size, a sampling mode, a channel number, audio data, and the like.
And the cloud platform control function of the video equipment is realized by the client through the cloud platform control frame, the push can be initiated at any time, and the real-time performance of the cloud platform control is guaranteed. The information contained in the cradle head control frame mainly comprises control types (upper, lower, left, right, focal length, focus, aperture and preset point), control speed (fast, slow and medium), start-stop marks, control parameters and the like.
The low-delay streaming media data communication is realized by sending handshake information, heartbeat information, streaming media frames, holder control and the like.
The connection of the streaming media server is divided into two parts, one part is subscription connection from the video client, and the other part is connection to the video monitoring equipment.
And (4) connection management, wherein the upper limit of a client connection pool is configured to be MAX _ CONN. After receiving WebSocket connection of a client, a streaming media server judges the rationality of basic parameters, judges whether the current existing connection number is smaller than the upper limit of a client connection pool, and if the current existing connection number is completely met, adds the connection into the connection pool and initiates connection to video monitoring equipment subscribed by the connection;
and (2) distributing streaming media frames, wherein when a plurality of clients (such as 10 clients) initiate subscription to the same video monitoring device, the streaming media server initiates connection to the video monitoring device only once, and simultaneously adds all the clients initiating subscription to a subscription list of the video monitoring device, so that server resources can be effectively reduced, and traffic is saved.
Streaming media frames from video monitoring equipment of different manufacturers may be packaged differently, the packaging needs to be unpacked according to actual conditions, the streaming media frames are packaged into uniform I/P/A frames and then distributed to subscribed clients, decoding and encoding operations do not exist in the process, and therefore the special effect of low delay can be guaranteed, and the clients do not need differences of processing manufacturers.
When frame loss or frame error occurs due to network jitter and other special reasons, the phenomenon of screen splash of a video image may be caused, and the communication process can be automatically corrected by the following method.
And correcting error FRAMEs, and configuring a buffer FRAME upper limit MAX _ FRAME for each connection by the streaming media server. In this embodiment, the allocation is 2-3 times of the actual code rate. When the streaming media server receives a new streaming media frame from the client and joins in a push queue of the client, the streaming media server corrects the streaming media error frame according to the type of the streaming media frame and whether the judgment frame number reaches the upper limit of a buffer frame, and then joins in the frame. Specifically, if the received video I frame is a video I frame, all the video I frames and video P frames in the queue are removed, and a new streaming media frame is added to the push queue, and if the frame number exceeds the upper limit of the buffer frame, the oldest audio a frame is sequentially deleted, and the processing is completed. Here WAIT _ I (WAIT for I frame status) needs to be cleared.
If the received video I frame is not the video I frame and the frame number does not reach the upper limit of the buffer frame, the video I frame is directly added into a push queue to finish the processing. Note that: the WAIT I state needs to discard the frame.
If a video I-frame is not received and the frame number has reached the upper limit of the buffer frame, the following processing is subdivided (WAIT _ I state needs to discard the frame):
if the audio A frame exists in the cache frame, directly deleting the oldest audio A frame, adding the audio A frame into the cache frame, and finishing the processing;
if the audio A frame does not exist in the cache frame, but a video I frame exists, and the oldest frame is a video P frame, directly deleting the oldest video P frame, adding the oldest video P frame into the cache frame, and finishing the processing;
if the audio A frame does not exist in the cache frame, but a video I frame exists, and the oldest frame is the video I frame, abandoning the frame, marking the frame as a waiting video I frame state (WAIT _ I), and finishing the processing;
if the audio A frame or the video I frame does not exist in the buffer frame and only the video P frame exists, the frame is abandoned and marked as a waiting video I frame state (WAIT _ I), and the processing is finished.
The reliability of the communication process is guaranteed through the management of client connection, including the management of a connection pool, the distribution of streaming media frames, the automatic correction of error frames and the like.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for performing a WebSocket-based streaming media low-latency communication implementation method.
A computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement a WebSocket-based streaming media low-latency communication implementation method.
The invention provides a method for realizing streaming media low-delay communication based on WebSocket, which comprises the following steps: sending handshake information, sending heartbeat information, controlling a holder, judging connection, managing connection, pushing streaming media frames, distributing the streaming media frames, and correcting error frames. The invention relates to an electronic device and a storage medium, which are used for executing a streaming media low-delay communication implementation method based on WebSocket. The invention is used for exchanging streaming media data and control commands between the streaming media server and the video playing client in real time, does not depend on a third-party plug-in, has the advantages of low delay and high real-time performance, can be effectively compatible with various video playing clients (such as Web browsers, IOS/android APPs, Windows desktop players and the like), and provides basic guarantee for upper-layer applications such as streaming media monitoring, analysis and the like.
The foregoing is merely a preferred embodiment of the invention and is not intended to limit the invention in any manner; those skilled in the art can readily practice the invention as shown and described in the drawings and detailed description herein; however, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the scope of the invention as defined by the appended claims; meanwhile, any changes, modifications, and evolutions of the equivalent changes of the above embodiments according to the actual techniques of the present invention are still within the protection scope of the technical solution of the present invention.

Claims (10)

1. A method for realizing streaming media low-delay communication based on WebSocket is characterized by comprising the following steps:
sending handshake information, and after the client is successfully connected to the streaming media server through the WebSocket mode, sending the handshake information;
sending heartbeat information, and sending a frame of heartbeat information when the client and the streaming media server do not send any information within a time threshold;
and the client controls the cloud deck of the video equipment through the cloud deck control frame.
2. The method for realizing streaming media low-delay communication based on WebSocket of claim 1, wherein: in the step of sending handshake information, the handshake information includes subscribed video equipment ID, channel number, code stream type, and audio switch; the code stream types comprise a default code stream, a main code stream, a sub code stream and a mobile code stream.
3. The method for realizing streaming media low-delay communication based on WebSocket of claim 1, wherein: in the step of sending heartbeat information, the heartbeat information contains local timestamp information, and when no information is received from the WebSocket connection after the preset time is exceeded, the connection is judged to be invalid, and the connection is forcibly interrupted.
4. The method for realizing streaming media low-delay communication based on WebSocket of claim 1, wherein: in the cradle head control step, the cradle head control frame comprises control types, control speeds, start-stop marks and control parameters, the control types comprise an upper part, a lower part, a left part, a right part, a focal length, a focus, an aperture and a preset point, and the control speeds comprise a fast speed, a slow speed and a medium speed.
5. A method for realizing streaming media low-delay communication based on WebSocket is characterized by comprising the following steps:
judging connection, namely judging that the connection is invalid if no handshake information is received within preset time after the streaming media server receives the connection of the client, and forcibly interrupting the connection;
connection management, after receiving the WebSocket connection of the client, the streaming media server passes the rationality judgment of the basic parameters, and then judges whether the current existing connection number is smaller than the upper limit of a client connection pool, if all the connection number is met, the connection is added into the connection pool, and connection is initiated to the video monitoring equipment subscribed by the connection;
pushing streaming media frames, and when the streaming media server analyzes the streaming media frames from the video monitoring equipment, putting the streaming media frames into a pushing queue of a subscription client, and pushing the streaming media frames to the client through a WebSocket connection sequence;
distributing streaming media frames, wherein when a plurality of clients initiate subscription to the same video monitoring device, the streaming media server initiates connection to the video monitoring device only once, and simultaneously adds all the clients initiating subscription to a subscription list of the video monitoring device;
and correcting error frames, wherein the streaming media server configures an upper limit of a buffer frame for each connection, and when the streaming media server receives a new streaming media frame from a client and joins in a push queue of the client, the streaming media error frames are corrected by judging whether the frame number reaches the upper limit of the buffer frame according to the type of the streaming media frame and then are joined in the frame.
6. The method for realizing streaming media low-delay communication based on WebSocket of claim 5, wherein: the streaming media frame is divided into a video I frame, a video P frame and an audio A frame, wherein the video I frame and the video P frame comprise a video timestamp, a coding format, a picture size, a picture format, a frame rate and video data, and the audio A frame comprises an audio timestamp, a coding format, a sampling rate, a packet size, a sampling mode, a channel number and audio data.
7. The method for realizing streaming media low-delay communication based on WebSocket of claim 6, wherein: in the step of distributing the streaming media frames, the streaming media server unpacks the streaming media frame packages of the video monitoring equipment from different manufacturers, packs the streaming media frames into uniform video I frames, video P frames and audio A frames, and distributes the video I frames, the video P frames and the audio A frames to the subscribed clients.
8. The method for realizing streaming media low-delay communication based on WebSocket of claim 6, wherein: in the error frame correcting step, if a video I frame is received, all video I frames and video P frames in the queue are removed, new streaming media frames are added into the pushing queue, if the number of frames exceeds the upper limit of the cache frame, the oldest audio A frame is deleted in sequence, and the state of waiting for the video I frame is removed;
if the received frame is not a video I frame and the frame number does not reach the upper limit of the cache frame, directly adding the frame into a push queue, and waiting for the video I frame state to discard the frame;
if the received frame is not a video I frame and the frame number reaches the upper limit of the buffer frame, waiting for the state of the video I frame to discard the frame, if the buffer frame has an audio A frame, directly deleting the oldest audio A frame, adding the frame, if the buffer frame does not have the audio A frame but has the video I frame and the oldest frame is the video P frame, directly deleting the oldest video P frame, adding the frame, if the buffer frame does not have the audio A frame but has the video I frame and the oldest frame is the video I frame, discarding the frame and marking as the state of waiting for the video I frame, and if the buffer frame does not have the audio A frame or the video I frame but only has the video P frame, discarding the frame and marking as the state of waiting for the video I frame;
the upper limit of the configured buffer frame is 2-3 times of the actual code rate.
9. An electronic device, characterized by comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for performing the method of any of claims 1-4 or the method of any of claims 5-8.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program is executed by a processor for performing the method of any one of claims 1 to 4 or the method of any one of claims 5 to 8.
CN202011629112.5A 2020-12-31 2020-12-31 Websocket-based streaming media low-delay communication implementation method, electronic device and storage medium Active CN112866345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011629112.5A CN112866345B (en) 2020-12-31 2020-12-31 Websocket-based streaming media low-delay communication implementation method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011629112.5A CN112866345B (en) 2020-12-31 2020-12-31 Websocket-based streaming media low-delay communication implementation method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112866345A true CN112866345A (en) 2021-05-28
CN112866345B CN112866345B (en) 2022-12-16

Family

ID=75999665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011629112.5A Active CN112866345B (en) 2020-12-31 2020-12-31 Websocket-based streaming media low-delay communication implementation method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112866345B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810767A (en) * 2021-09-13 2021-12-17 南京国电南自电网自动化有限公司 Websocket-based video real-time monitoring method and system
CN114268612A (en) * 2021-12-22 2022-04-01 中电福富信息科技有限公司 Websocket-based webpage real-time voice communication method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360058A (en) * 2008-09-08 2009-02-04 华为技术有限公司 Method and apparatus for cache overflow control
CN103152649A (en) * 2013-01-30 2013-06-12 北京佳讯飞鸿电气股份有限公司 Streaming media distribution transmission hierarchical automatic frame reducing control method
US20170195386A1 (en) * 2014-07-22 2017-07-06 Intellivision Technologies Corp. System and Method for Scalable Cloud Services
CN109660764A (en) * 2018-12-24 2019-04-19 武汉长江通信智联技术有限公司 The monitoring method of vehicle real-time video based on HTML5, apparatus and system
CN111031059A (en) * 2019-12-23 2020-04-17 河南派亚尼尔自动化设备有限公司 Websocket-based Internet of things large-screen monitoring system and method
CN111953791A (en) * 2020-08-17 2020-11-17 浪潮云信息技术股份公司 High-concurrency message dynamic synchronous processing scheme based on webSocket

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360058A (en) * 2008-09-08 2009-02-04 华为技术有限公司 Method and apparatus for cache overflow control
CN103152649A (en) * 2013-01-30 2013-06-12 北京佳讯飞鸿电气股份有限公司 Streaming media distribution transmission hierarchical automatic frame reducing control method
US20170195386A1 (en) * 2014-07-22 2017-07-06 Intellivision Technologies Corp. System and Method for Scalable Cloud Services
CN109660764A (en) * 2018-12-24 2019-04-19 武汉长江通信智联技术有限公司 The monitoring method of vehicle real-time video based on HTML5, apparatus and system
CN111031059A (en) * 2019-12-23 2020-04-17 河南派亚尼尔自动化设备有限公司 Websocket-based Internet of things large-screen monitoring system and method
CN111953791A (en) * 2020-08-17 2020-11-17 浪潮云信息技术股份公司 High-concurrency message dynamic synchronous processing scheme based on webSocket

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810767A (en) * 2021-09-13 2021-12-17 南京国电南自电网自动化有限公司 Websocket-based video real-time monitoring method and system
CN113810767B (en) * 2021-09-13 2024-02-13 南京国电南自电网自动化有限公司 Video real-time monitoring method and system based on websocket
CN114268612A (en) * 2021-12-22 2022-04-01 中电福富信息科技有限公司 Websocket-based webpage real-time voice communication method

Also Published As

Publication number Publication date
CN112866345B (en) 2022-12-16

Similar Documents

Publication Publication Date Title
CN111355669B (en) Method, device and system for controlling network congestion
US10764610B2 (en) Media user client, a media user agent and respective methods performed thereby for providing media from a media server to the media user client
RU2514854C2 (en) Method, system and corresponding channel switching processing device
CN112866345B (en) Websocket-based streaming media low-delay communication implementation method, electronic device and storage medium
US20140032777A1 (en) Method, apparatus, and system for transmitting and processing media content
US9769239B2 (en) Systems and methods for user agent signaling request acceleration by transport accelerator
WO2021179557A1 (en) Video stream playback method, system and terminal, and storage medium
US8873590B2 (en) Apparatus and method for correcting jitter
JP7307211B2 (en) Client, Server, Receiving Method and Sending Method
JP6132116B2 (en) Method, device and system for assessing user experience value of video quality
CN110166804B (en) Method, device, communication system and computer readable storage medium for implementing video service
US9654405B2 (en) Effective intra-frame refresh in multimedia communications over packet networks
CN112995048B (en) Blocking control and scheduling fusion method of data center network and terminal equipment
WO2021000379A1 (en) Network data scheduling method and edge node
WO2015089772A1 (en) Video acceleration method, client and network element
CN110086797B (en) Real-time receiving method of media stream, client, computer device and storage medium
US20180006764A1 (en) Method and System for Controlling the Forwarding of Error Correction Data
CN105704052A (en) Quantized congestion notification message generation method and apparatus
WO2015135349A1 (en) Code rate control method for streaming media gateway
US11218412B2 (en) Method and system for managing the download of data
CN111385660B (en) Video on demand method, device, equipment and storage medium
EP3231149B1 (en) Buffer discard control for content streaming via intermediate node
WO2023036163A1 (en) Video packet processing method and apparatus, computer device, and computer readable storage medium
CN114979793A (en) Live broadcast data transmission method, device, system, equipment and medium
JP7496022B2 (en) Client, server, receiving method and transmitting method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant