CN112866345B - 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
CN112866345B
CN112866345B CN202011629112.5A CN202011629112A CN112866345B CN 112866345 B CN112866345 B CN 112866345B CN 202011629112 A CN202011629112 A CN 202011629112A CN 112866345 B CN112866345 B CN 112866345B
Authority
CN
China
Prior art keywords
frame
streaming media
video
connection
websocket
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.)
Active
Application number
CN202011629112.5A
Other languages
Chinese (zh)
Other versions
CN112866345A (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)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (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 method is used for exchanging the streaming media data and the control command 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 time delay and high real-time performance, can be effectively compatible with various video playing clients (such as a Web browser, an IOS/android APP, a Windows desktop player and the like), and provides basic guarantee for upper-layer applications such as streaming media monitoring and analysis.

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 streaming media low-delay communication implementation method 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 up, down, left, right, focal length, focus, aperture, and preset points, and the control speed includes fast, slow, and medium.
A streaming media low-delay communication implementation method 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 frames are divided into video I frames, video P frames and audio a frames, the video I frames and the video P frames contain video timestamps, coding formats, picture sizes, picture formats, frame rates and video data, and the audio a frames contain audio timestamps, coding formats, sampling rates, packet sizes, sampling modes, channel numbers and audio data.
Further, in the step of distributing the streaming media frames, the streaming media server unpacks the streaming media frame packages from the video monitoring devices of different manufacturers, packs the streaming media frames 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 discarding the frame in a video I frame waiting state;
if the received frame is not a video I frame and the frame number reaches the upper limit of the buffer frame, discarding the frame in a video I frame waiting state, if an audio A frame exists in the buffer frame, directly deleting the oldest audio A frame, adding the frame, if the audio A frame does not exist in the buffer frame but a video I frame exists in the buffer frame and the oldest frame is a video P frame, directly deleting the oldest video P frame, adding the frame, if the audio A frame does not exist in the buffer frame but a video I frame exists in the buffer frame and the oldest frame is the video I frame, discarding the frame and marking as a video I frame waiting state, if the audio A frame or the video I frame does not exist in the buffer frame and only the video P frame exists in the buffer frame, discarding the frame and marking as a video I frame waiting state;
the upper limit of the configured buffer frame is 2 to 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 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.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a streaming media low-delay communication implementation method 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 method is used for exchanging the streaming media data and the control command 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 time delay and high real-time performance, can be effectively compatible with various video playing clients (such as a Web browser, an IOS/android APP, a Windows desktop player and the like), and provides basic guarantee for upper-layer applications such as streaming media monitoring and analysis.
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 and do not constitute a limitation of the invention. In the drawings:
fig. 1 is a flowchart of a streaming media low-delay communication implementation method based on WebSocket according to the present invention.
Detailed Description
The present invention is further described with reference to the accompanying drawings and the detailed description, and it should be noted that, in the case of no conflict, any combination between the embodiments or technical features described below may form a new embodiment.
A method for realizing streaming media low-delay communication based on WebSocket is disclosed, as shown in FIG. 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 that the connection is invalid 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.
And 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 special reasons such as network jitter, the phenomenon of screen splash of video pictures 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 configuration is 2 to 3 times 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 deleted in sequence, 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 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, the frame is abandoned and marked as a waiting video I frame state (WAIT _ I), and the processing is finished;
if the audio A frame or the video I frame does not exist in the cache frame, and only the video P frame exists, the frame is abandoned, and the status is marked as waiting for the video I frame (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 streaming media low-delay communication implementation method 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 method is used for exchanging the streaming media data and the control command 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 time delay and high real-time performance, can be effectively compatible with various video playing clients (such as a Web browser, an IOS/android APP, a Windows desktop player and the like), and provides basic guarantee for upper-layer applications such as streaming media monitoring and analysis.
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 (9)

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;
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;
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;
the method comprises the steps that streaming media frames are pushed, when the streaming media server analyzes the streaming media frames from the video monitoring equipment, the streaming media frames are placed in a pushing queue of a subscription client and are pushed to the client through a WebSocket connection sequence;
the cloud deck control system comprises a cloud deck control system and a cloud deck control system, wherein the client controls a cloud deck of video equipment through a cloud deck control frame;
connection management, after receiving the WebSocket connection of the client, the streaming media server judges the rationality of the basic parameters, judges whether the number of the current existing connections is less than the upper limit of a client connection pool, if so, adds the connection into the connection pool, and initiates the connection to the video monitoring equipment subscribed by the connection;
distributing streaming media frames, wherein when a plurality of clients initiate subscription to the same video monitoring equipment, the streaming media server initiates connection to the video monitoring equipment only once, and simultaneously adds all the clients initiating subscription to a subscription list of the video monitoring equipment;
correcting error frames, wherein the streaming media server configures an upper limit of a buffer frame for each connection, when the streaming media server receives a new streaming media frame from a client and joins 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 or not according to the type of the streaming media frame, in the error frame correcting step, if the received video I frame is the video I frame, all the video I frames and the video P frames in the queue are removed and the 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, the state of waiting for the video I frame is removed, and then the frame is added.
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 step of cloud deck control, the cloud deck control frame comprises control types, control speed, start-stop marks and control parameters, the control types comprise upper, lower, left, right, focal length, focus, aperture and preset points, and the control speed comprises fast, slow and medium.
5. The method for realizing streaming media low-delay communication based on WebSocket of claim 1, 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 time stamp, a coding format, a picture size, a picture format, a frame rate and video data, and the audio A frame comprises an audio time stamp, a coding format, a sampling rate, a packet size, a sampling mode, a channel number and audio data.
6. The method for realizing streaming media low-delay communication based on WebSocket of claim 5, wherein: in the step of distributing the streaming media frames, the streaming media server unpacks the packaging of the streaming media frames from the video monitoring equipment of different manufacturers, packs the streaming media frames 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 client.
7. The method for realizing streaming media low-delay communication based on WebSocket of claim 5, wherein:
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 to 3 times of the actual code rate.
8. 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 carrying out the method according to any one of claims 1-7.
9. 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 according to any of claims 1-7.
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 CN112866345A (en) 2021-05-28
CN112866345B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (4)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152649B (en) * 2013-01-30 2016-01-06 北京佳讯飞鸿电气股份有限公司 An a kind of streaming media distribution transmission point rank subtracts frame control method automatically
US10142381B2 (en) * 2014-07-22 2018-11-27 Intellivision Technologies Corp. System and method for scalable cloud services

Patent Citations (4)

* 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
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

Also Published As

Publication number Publication date
CN112866345A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN111355669B (en) Method, device and system for controlling network congestion
CN107483144B (en) Forward error correction feedback information transmission method and device
CN112866345B (en) Websocket-based streaming media low-delay communication implementation method, electronic device and storage medium
US9030936B2 (en) Flow control with reduced buffer usage for network devices
EP2685742A2 (en) Method, device and system for transmitting and processing media content
US20220272402A1 (en) Video stream playing method, system, terminal and storage medium
EP2696595A2 (en) Channel switching processing method, system, and related devices
US20150271225A1 (en) Transport accelerator implementing extended transmission control functionality
JP2010154547A (en) Cooperation between adaptation of bit rate of packetized data, and retransmission of data packet
CN110113662B (en) Video monitoring client system suitable for various network conditions
JP6132116B2 (en) Method, device and system for assessing user experience value of video quality
US9654405B2 (en) Effective intra-frame refresh in multimedia communications over packet networks
JP2023130418A (en) Client, server, reception method and transmission method
CN112995048B (en) Blocking control and scheduling fusion method of data center network and terminal equipment
EP3742746A1 (en) Method and device for realizing video service, and communication system and computer-readable storage medium
WO2021000379A1 (en) Network data scheduling method and edge node
CN110086797B (en) Real-time receiving method of media stream, client, computer device and storage medium
CN109862400B (en) Streaming media transmission method, device and system
CN111385660B (en) Video on demand method, device, equipment and storage medium
CN114051173B (en) RTP extension header-based video frame reliable transmission method, device and equipment
WO2015135349A1 (en) Code rate control method for streaming media gateway
US11303573B2 (en) Method and system for managing the download of data
WO2023036163A1 (en) Video packet processing method and apparatus, computer device, and computer readable storage medium
EP3231149B1 (en) Buffer discard control for content streaming via intermediate node
CN114979793A (en) Live broadcast data transmission method, device, system, equipment and medium

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