CN109862438B - Method and equipment for proxy forwarding of real-time streaming protocol streaming media data - Google Patents
Method and equipment for proxy forwarding of real-time streaming protocol streaming media data Download PDFInfo
- Publication number
- CN109862438B CN109862438B CN201910124155.9A CN201910124155A CN109862438B CN 109862438 B CN109862438 B CN 109862438B CN 201910124155 A CN201910124155 A CN 201910124155A CN 109862438 B CN109862438 B CN 109862438B
- Authority
- CN
- China
- Prior art keywords
- target
- rtsp
- real
- rtp data
- time streaming
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention is suitable for the technical field of computers, and provides a method and equipment for transmitting real-time streaming protocol stream media data by proxy, wherein the method comprises the following steps: receiving real-time streaming protocol RTSP request information sent by a real-time streaming protocol client; when the target identity is searched from a database, acquiring a target RTSP response message corresponding to the target identity and target RTP data stream connection; and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification. According to the scheme, the real-time streaming protocol client can acquire the RTP data in the server without knowing the RTSP URL of the server providing the streaming media service, the RTP data forwarding efficiency is improved, the workload is reduced, and the maintenance between the local terminal equipment and the real-time streaming protocol client is facilitated.
Description
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a method and equipment for proxy forwarding of real-time streaming protocol streaming media data.
Background
Real Time Streaming Protocol (RTSP) is a text-based multimedia playing Control Protocol, belongs to an application layer Protocol, works in a client/server manner, is commonly used for controlling on-demand services of Real-Time multimedia, but is not used for transmitting Streaming media data, and must rely on services provided by Real Time Transport Protocol (RTP) and Real Time Transport Control Protocol (RTCP) to complete the transmission of the Streaming media data. RTSP is responsible for defining specific control information, operation methods, status codes, and describing the interaction with RTP.
The real-time streaming protocol Proxy (RTSP Proxy) is a network device between an RTSP Client (RTSP Client) and an RTSP Server (RTSP Server), and the RTSP Proxy has functions of forwarding RTSP signaling and forwarding RTP streaming media data to the RTSP Server and the RTSP Client.
In the existing method for forwarding data by using the real-time streaming protocol proxy, an RTSP Client must know a specific Uniform Resource Locator (URL) of an RTSP Server to forward the data, which results in low data forwarding efficiency, increased workload, and is not beneficial to the maintenance of a Client.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for proxy forwarding of real-time streaming protocol streaming media data, so as to solve the problems in the prior art that a real-time streaming protocol client must know an RTSP URL of a server to forward data, which results in low data forwarding efficiency, large workload, and inconvenient maintenance between a local device and the real-time streaming protocol client.
A first aspect of an embodiment of the present invention provides a method for forwarding real-time streaming protocol streaming media data by proxy, including:
receiving real-time streaming protocol RTSP request information sent by a real-time streaming protocol client; the RTSP request information carries a target identity corresponding to a target server providing streaming media service; the real-time streaming protocol client has a client identifier; the target identity is distributed and stored for the target server in advance by the home terminal;
when the target identity is searched from a database, acquiring a target RTSP response message corresponding to the target identity and target RTP data stream connection; the database stores RTSP response messages and RTP data stream connections which are sent by all servers for providing streaming media services after receiving RTSP request information sent by the local terminal;
and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification.
A second aspect of the embodiments of the present invention provides an apparatus for proxy forwarding of real-time streaming protocol streaming media data, where the apparatus includes:
the receiving unit is used for receiving real-time streaming protocol RTSP request information sent by a real-time streaming protocol client; the RTSP request information carries a target identity corresponding to a target server providing streaming media service; the real-time streaming protocol client has a client identifier; the target identity is distributed and stored for the target server in advance by the home terminal;
the acquisition unit is used for acquiring a target RTSP response message and a target RTP data stream connection corresponding to the target identity when the target identity is searched from a database; the database stores RTSP response messages and RTP data stream connections which are sent by all servers for providing streaming media services after receiving RTSP request information sent by the local terminal;
and the sending unit is used for sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client side which sends the RTSP request information based on the client side identification.
A third aspect of the embodiments of the present invention provides another device for proxying and forwarding real-time streaming protocol streaming media data, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program that supports a real-time streaming protocol client to execute the above method, the computer program includes program instructions, and the processor is configured to call the program instructions to perform the following steps:
receiving real-time streaming protocol RTSP request information sent by a real-time streaming protocol client; the RTSP request information carries a target identity corresponding to a target server providing streaming media service; the real-time streaming protocol client has a client identifier; the target identity is distributed and stored for the target server in advance by the home terminal;
when the target identity is searched from a database, acquiring a target RTSP response message corresponding to the target identity and target RTP data stream connection; the database stores RTSP response messages and RTP data stream connections which are sent by all servers for providing streaming media services after receiving RTSP request information sent by the local terminal;
and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of:
receiving real-time streaming protocol RTSP request information sent by a real-time streaming protocol client; the RTSP request information carries a target identity corresponding to a target server providing streaming media service; the real-time streaming protocol client has a client identifier; the target identity is distributed and stored for the target server in advance by the home terminal;
when the target identity is searched from a database, acquiring a target RTSP response message corresponding to the target identity and target RTP data stream connection; the database stores RTSP response messages and RTP data stream connections which are sent by all servers for providing streaming media services after receiving RTSP request information sent by the local terminal;
and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification.
The method and the equipment for proxy forwarding of the real-time streaming protocol streaming media data provided by the embodiment of the invention have the following beneficial effects:
in the embodiment of the invention, the real-time streaming protocol RTSP request information sent by the real-time streaming protocol client is received; when the target identity is searched from a database, acquiring a target RTSP response message corresponding to the target identity and target RTP data stream connection; and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification. According to the scheme, the proxy server distributes the identity identifications for all servers providing the streaming media service in advance, sends RTSP request information to the servers to acquire RTSP response messages and RTP data fed back by the servers, acquires the identity identifications and the client identifications in the RTSP request information sent by the real-time streaming protocol client, and sends the RTSP response messages and the RTP data fed back by the servers to the real-time streaming protocol client based on the client identifications.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a method for proxy forwarding of real-time streaming protocol streaming media data according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an implementation of a method for proxy forwarding of real-time streaming protocol streaming media data according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation of a method for proxy forwarding of real-time streaming protocol streaming media data according to yet another embodiment of the present invention;
fig. 4 is a schematic diagram of an apparatus for proxy forwarding of real-time streaming protocol streaming media data according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an apparatus for proxy forwarding of real-time streaming protocol streaming media data according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for proxy forwarding real-time streaming protocol streaming media data according to an embodiment of the present invention. The execution subject of proxy forwarding of the real-time streaming protocol streaming media data in this embodiment is a device for proxy forwarding of the real-time streaming protocol streaming media data, including but not limited to a proxy server. The method for proxy forwarding of real-time streaming protocol streaming media data as shown in fig. 1 may include:
s101: receiving real-time streaming protocol RTSP request information sent by a real-time streaming protocol client; the RTSP request information carries a target identity corresponding to a target server providing streaming media service; the real-time streaming protocol client has a client identifier; and the target identity is distributed and stored for the target server in advance by the home terminal.
A proxy server is a network device between a client of a Real Time Streaming Protocol (RTSP) and a server of the RTSP. The proxy server may be configured to receive an RTSP request message sent by the rtp client, and may also be configured to send the RTSP request message to each server for providing a streaming service. It should be noted that the proxy server in this embodiment is only an exemplary illustration, and is not limited thereto.
The real-time streaming protocol client sends real-time streaming protocol RTSP request information to the proxy server, and the proxy server receives the RTSP request information sent by the real-time streaming protocol client. The RTSP request information carries a target identity corresponding to a target server providing streaming media service, and the real-time streaming protocol client has a client identity. Specifically, the client identifier of the real-time streaming protocol client may be an IP address + a port number, or other identifiers that can be set by the user and identify the uniqueness of the real-time streaming protocol client, and the user may set the identifier according to actual conditions, which is not limited herein.
The target identity is allocated and stored for the target server by the proxy server in advance. Specifically, the proxy server sends RTSP request information to each server for providing the streaming service, allocates a unique identifier corresponding to the server to each server, and generates an RTSP URL of the server based on the unique identifier corresponding to the server. The identity is used for identifying a server providing a streaming media service, and may be set to a channel number, such as channel number 1, channel number 2, channel number 3, etc., or set to A, B, C, etc., or may be set to a number, a character, etc., and a user may set the identity according to an actual situation, which is not limited herein.
The RTSP request information sent by the real-time streaming protocol client is used for requesting to acquire a real-time streaming protocol RTSP response message and real-time transport protocol RTP data. The form of the RTSP URL in the RTSP request message may be set by the user according to a preset rule, which is not limited thereto. For example, the form of RTSP URL may be set to RTSP:// IP: port number/destination server identity. It should be noted that the RTSP URL form of the server generated based on the unique id of the server is consistent with the RTSP URL form in the RTSP request message sent by the real-time streaming protocol client to the proxy server. That is, when the RTSP URL form of the server generated based on the unique identity of the server is RTSP:// IP: when the port number/the target server identity is identified, the RTSP request information sent by the real-time streaming protocol client to the proxy server is also in a form of RTSP:// IP: port number/destination server identity.
In order to make proxy forwarding of real-time streaming protocol streaming media data more secure and reliable, the validity of the user identity using the RTSP client may be verified. When the real-time streaming protocol client sends the RTSP request information to the proxy server, the validity of the user identity using the RTSP client can be verified by sending verification information. Specifically, when the real-time streaming protocol client sends the RTSP request message to the proxy server, the RTSP request message without authentication information (verification information) is sent first, if an error feedback message, such as a 401 message, replied by the proxy server is received, it is proved that the validity of the user identity using the RTSP client needs to be verified at this time, the real-time streaming protocol client resends the RTSP request message with the authentication information to the proxy server, the proxy server verifies the RTSP request message with the authentication information, if the verification is passed, a response success is returned, and if the verification is not passed, a response failure is returned.
The authentication information is equivalent to verification information and is used for verifying whether the identity of the user using the RTSP client is legal or not. The authentication information is authentication information of all RTSP clients configured in the proxy server in advance by the user, and may be added, deleted, modified, and the like, and specifically may be information of a user name, a password, a login account, and the like, which is not limited herein.
S102: when the target identity is searched from a database, acquiring a target RTSP response message corresponding to the target identity and target RTP data stream connection; the database stores RTSP response messages and RTP data stream connections sent by all servers for providing streaming media services after receiving RTSP request information sent by the local terminal.
The proxy server searches the target identity mark from the database, and when the target identity mark is searched from the database, the proxy server acquires the target RTSP response message and the target RTP data stream connection corresponding to the target identity mark.
The database stores RTSP response messages and RTP data stream connections sent by all servers for providing streaming media services after receiving RTSP request information sent by the local terminal equipment.
Specifically, the proxy server sends RTSP request information to a server providing the streaming service, and after receiving the RTSP request information, the server sends an RTSP response message corresponding to the RTSP request information and encoded RTP data in the server to the proxy server. The proxy server stores the received RTSP response message and the RTP data connection established according to the RTP data in a database.
S103: and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification.
Due to the uniqueness of the client identification, the real-time streaming protocol client for sending the RTSP request information can be confirmed according to the client identification of the real-time streaming protocol client, and the target RTSP response message acquired from the database and the target RTP data received through the target RTP data streaming connection are sent to the real-time streaming protocol client for sending the RTSP request information.
In the embodiment of the invention, the real-time streaming protocol RTSP request information sent by the real-time streaming protocol client is received; when the target identity is searched from a database, acquiring a target RTSP response message corresponding to the target identity and target RTP data stream connection; and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification. According to the scheme, the proxy server distributes the identity identifications for all servers providing the streaming media service in advance, sends RTSP request information to the servers to acquire RTSP response messages and RTP data fed back by the servers, acquires the identity identifications and the client identifications in the RTSP request information sent by the real-time streaming protocol client, and sends the RTSP response messages and the RTP data fed back by the servers to the real-time streaming protocol client based on the client identifications.
Referring to fig. 2, fig. 2 is a schematic flowchart of a method for proxy forwarding real-time streaming protocol streaming media data according to another embodiment of the present invention. The execution subject of proxy forwarding of the real-time streaming protocol streaming media data in this embodiment is a device for proxy forwarding of the real-time streaming protocol streaming media data, including but not limited to a proxy server. The method for proxy forwarding of real-time streaming protocol streaming media data as shown in fig. 2 may include:
s201: the method comprises the steps of sending real-time streaming protocol (RTSP) request information to each server for providing streaming media services, distributing unique identification for each server, and generating RTSP URL of each server based on the unique identification of each server.
The proxy server sends RTSP request information to each server for providing the streaming media service, allocates a unique identity for each server at the same time, and generates an RTSP URL of each server based on the unique identity.
The RTSP request information includes, but is not limited to, request information (OPTIONS) for requesting to obtain an available method provided by the server, request information (DESCRIBE) for obtaining session description information, set-up session request information (SETUP), play request information (play), play PAUSE request information (PAUSE), close request information (TEARDOWN), GET PARAMETER request information (GET _ PARAMETER), and the like.
Specifically, the proxy server sends RTSP request information to each server for providing the streaming media service, and allocates a unique identity corresponding to each server according to a sending sequence of the RTSP request information sent to each server. The identity is used for identifying a server providing a streaming media service, and may be set to a channel number, such as channel number 1, channel number 2, channel number 3, etc., or set to A, B, C, etc., or may be set to a number, a character, etc., and a user may set the identity according to an actual situation, which is not limited herein. And then generating the RTSP URL of each server on the basis of the unique identity, wherein the RTSP URL comprises the unique identity. The form of the RTSP URL in the RTSP request message may be set by the user according to a preset rule, which is not limited thereto. For example, the form of the RTSP URL in the RTSP request message may be set to RTSP:// IP: port number/destination server identity. It should be noted that the RTSP URL form of the server generated based on the unique id of the server is consistent with the RTSP URL form in the RTSP request message sent by the real-time streaming protocol client to the proxy server.
In order to verify the validity of the user identity using the proxy server, when the proxy server transmits RTSP request information to each server for providing a streaming service, the validity of the proxy server can be verified by transmitting verification information. Specifically, when the proxy server sends RTSP request information to the server providing streaming media service, it first sends RTSP request information without authentication information (verification information), if an error feedback message, such as message 401, is received from the server, it proves that the validity of the user identity of the proxy server needs to be verified at this time, the proxy server resends the RTSP request information with the authentication information to the server providing streaming media service, the server providing streaming media service verifies the RTSP request information with the authentication information, and if the verification is passed, it sends RTSP response message to the proxy server sending the RTSP request information with the authentication information.
The authentication information is equivalent to verification information and is used for verifying the validity of the user identity using the proxy server. The authentication information is configured by the user according to actual conditions when the user uses the authentication information, and may be added, deleted, modified, and the like, and may specifically be information such as a user name, a password, a login account number, and the like, which is not limited herein.
S202: and receiving RTSP response messages and RTP data which are sent by each server based on the RTSP request information.
After receiving the RTSP request message, the server providing the streaming media service sends an RTSP response message corresponding to the RTSP request message and encoded RTP data in the server to the proxy server, and the proxy server receives the RTSP response message and the RTP data sent by the server providing the streaming media service.
The RTSP response information includes, but is not limited to, response information (OPTIONS RESP) for obtaining an available method provided by the server in response to the request, SETUP response information (SETUP RESP), response information of session description information (DESCRIBE RESP), play response information (play RESP), play PAUSE response information (PAUSE RESP), close response information (TEARDOWN RESP), and the like.
Further, after S202, S203 may be included: and establishing an association relation among the unique identity corresponding to each server, the RTSP URL of each server, the RTSP response message sent by each server and the RTP data stream connection, and storing the association relation to the database.
And establishing an association relation among the unique identity corresponding to each server, the RTSP URL of each server, the RTSP response message sent by each server and the RTP data stream connection, and storing the association relation into a database.
Specifically, the unique identity corresponding to each server, the RTSP URL of each server, the RTSP response message sent by each server, and the RTP data stream connection for receiving RTP data are all in one-to-one correspondence and associated. For example, when a proxy server sends an RTSP request message to a first server providing a streaming service, the server is assigned a unique identifier, such as channel number 1(chn1), an RTSP URL for the server is generated based on the unique identifier, such as RTSP:// IP1/chn1, an RTSP response message sent by the server, such as RTSP OPTION response message, and an RTP data stream connection for receiving RTP data. The record may be represented as:
unique identification: chn1
RTSP URL:rtsp://IP1/chn1
RTSP response message: RTSP OPTION response message
When the proxy server sends RTSP request information to a second server providing streaming service, the server is assigned a unique identifier, such as channel number 2(chn2), an RTSP URL for the server is generated based on the unique identifier, such as RTSP:// IP2/chn2, an RTSP response message sent by the server, such as RTSP DESCRIBE response information, and an RTP streaming connection for receiving RTP data.
The record may be represented as:
unique identification: chn2
RTSP URL:rtsp://IP2/chn2
RTSP response message: RTSP DESCRIBE response information
In the same manner as above, the corresponding association relationships are generated, and the association relationships may be stored in a form of a table or a TXT text format, etc. in a database, and a user may set a corresponding storage form according to an actual situation, which is not limited to this.
S204: receiving real-time streaming protocol RTSP request information sent by a real-time streaming protocol client; the RTSP request information carries a target identity corresponding to a target server providing streaming media service; the real-time streaming protocol client has a client identifier; and the target identity is distributed and stored for the target server in advance by the home terminal.
In this embodiment, S204 is identical to S101 in the previous embodiment, and please refer to the related description of S101 in the previous embodiment, which is not repeated herein.
S205: when the target identity is searched from a database, acquiring a target RTSP response message corresponding to the target identity and target RTP data stream connection; the database stores the RTSP response message and the RTP data stream connection information sent by all servers for providing the streaming media service after receiving the RTSP request information sent by the local terminal.
In this embodiment, S205 is identical to S102 in the previous embodiment, and please refer to the related description of S102 in the previous embodiment, which is not repeated herein.
Further, when the association relationship among the unique identity corresponding to each of the servers, the RTSP URL of each of the servers, the RTSP response message sent by each of the servers, and the RTP data stream connection is pre-established, S205 may include: and when the target identity is searched from the database, searching a target RTSP response message and a target RTP data stream connection corresponding to the target identity based on the association relation.
When the proxy server receives RTSP request information sent by the real-time streaming protocol client, the target identity in the RTSP request information is analyzed, and target RTSP response information corresponding to the target identity and target RTP data stream connection are searched in the association relation according to the obtained target identity.
For example, when the identity in the RTSP request message is analyzed as chn1, an association relationship including chn1 is obtained, and when the identity is obtained as chn1 from the association relationship, the corresponding RTSP response message and RTP data stream are connected. If the association relationship is stored in the form of a table, the whole table can be obtained, and the target RTSP response message corresponding to the target identity and the target RTP data stream connection are inquired from the table.
S206: and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification.
In this embodiment, S206 is identical to S103 in the previous embodiment, and please refer to the related description of S103 in the previous embodiment, which is not repeated herein.
Further, in order to increase the speed of reading data by the real-time streaming protocol client and improve the efficiency of forwarding data, S206 may include S2061 to S2062, which are specifically as follows:
s2061: adding a preset identifier before the RTP data; the preset identifier at least comprises a data identifier and a server identity identifier, and the data identifier is used for indicating that the current data is RTP data.
The proxy server adds a preset identifier before the RTP data. The preset identifier at least includes a data identifier for indicating that the current data is RTP data, data for identifying a target identity, data for identifying a length of an RTP packet, and the like.
The user can set a preset identifier according to actual conditions, the identifier can be in the form of numbers, letters, characters and the like, and the length can be 9 bytes, 12 bytes, 15 bytes and the like, which is not limited. For example, the preset identification may be represented by a 12-byte character. Specifically, the characters of 0-3 bytes are used as data identifiers, such as AABB, the characters of 4-7 bytes are used for identifying target identities, such as chn1, and the characters of 8-11 bytes are used for identifying the length of an RTP data packet.
S2062: and based on the client identification, sending the target RTSP response message and the RTP data added with the preset identification to a real-time streaming protocol client sending the RTSP request information.
The proxy server can confirm the real-time streaming protocol client side which sends the RTSP request information according to the client side identification of the real-time streaming protocol client side, and sends the target RTSP response message and the RTP data which is added with the preset identification to the real-time streaming protocol client side which sends the RTSP request information.
And after the proxy server sends the RTP data added with the preset identifier to a real-time streaming protocol client side which sends RTSP request information, the real-time streaming protocol client side analyzes the RTP data added with the preset identifier. For example, the real-time streaming protocol client reads bytes in the received RTP data in sequence, reads whether the characters of the 0 th byte to the 3 rd byte are AABB, if not, proves that the data are not the RTP data, and the real-time streaming protocol client does not read subsequent bytes any more; if the data is AABB, the data is proved to be RTP data, the real-time streaming protocol client side continuously reads the 4 th-7 th byte characters, the target identity is obtained by analyzing the 4 th-7 th byte characters, if the channel number is chn1, the 8 th-11 th byte characters are continuously read, the length of an RTP data packet is obtained by analyzing the 8 th-11 th byte characters, and the RTP data corresponding to the target identity is obtained by reading the data of the length byte based on the obtained length of the RTP data packet. For example, if the length of the acquired RTP data is 256 bytes, the RTP data corresponding to chn1 can be acquired by continuously reading the 256 bytes of data.
In the embodiment of the invention, the real-time streaming protocol RTSP request information sent by the real-time streaming protocol client is received; when the target identity is searched from a database, acquiring a target RTSP response message corresponding to the target identity and target RTP data stream connection; and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification. According to the scheme, the proxy server distributes the identity identifications for all servers providing the streaming media service in advance, sends RTSP request information to the servers to acquire RTSP response messages and RTP data fed back by the servers, acquires the identity identifications and the client identifications in the RTSP request information sent by the real-time streaming protocol client, and sends the RTSP response messages and the RTP data fed back by the servers to the real-time streaming protocol client based on the client identifications.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a method for proxy forwarding real-time streaming protocol streaming media data according to still another embodiment of the present invention. The execution subject of proxy forwarding of the real-time streaming protocol streaming media data in this embodiment is a device for proxy forwarding of the real-time streaming protocol streaming media data, including but not limited to a proxy server.
The difference between the present embodiment and the embodiment corresponding to fig. 1 is S303, S305, and S306, in which S301, S302, and S304 in the present embodiment are identical to S101, S102, and S103 in the embodiment corresponding to fig. 1, and specific reference is made to the description of S101, S102, and S103 in the embodiment corresponding to fig. 1, which is not repeated herein.
In order to improve the data transmission efficiency, S304 may further include S303:
s303: receiving an RTP connection request sent by the real-time streaming protocol client equipment, and establishing an RTP data transmission link between the local terminal and the real-time streaming protocol client equipment; wherein, the RTP data transmission link is used for transmitting the target RTP data to the real-time streaming protocol client device.
The real-time streaming protocol client device sends an RTP connection request to the proxy server, the proxy server receives the RTP connection request sent by the real-time streaming protocol client device, and an RTP data transmission link between the proxy server and the real-time streaming protocol client device is established. The RTP data transmission link is used for transmitting target RTP data to the real-time streaming protocol client equipment.
Specifically, the proxy server receives an RTP connection request sent by the real-time streaming protocol client device, establishes an RTP data transmission link between the proxy server and the real-time streaming protocol client device, allocates a device number to the real-time streaming protocol client device, and establishes and stores an association relationship between the device number, an RTP data transmission link identifier, and an IP address of the device. The device number is used for identifying the client device of the real-time streaming protocol, and can be set to dev1, dev2 and the like; the RTP data transmission link identifier is used for identifying different RTP data transmission links, and may be configured as numbers, characters, and the like, such as fd1, fd2, and the like, which is not limited herein. It should be noted that the same RTP client device and the proxy server only establish one RTP data transmission link.
When a first real-time streaming protocol client device sends an RTP connection request to a proxy server, a device number, such as dev1, is allocated to the real-time streaming protocol client device, an IP address, such as IP1, of the real-time streaming protocol client device is acquired, and an RTP data transmission link, such as fd1, between the real-time streaming protocol client device and the proxy server is established. The record may be represented as:
equipment number: dev1
RTP data transmission link: fd1
Real-time streaming protocol client device IP address: IP1
When the second real-time streaming protocol client device sends an RTP connection request to the proxy server, a device number, such as dev2, is allocated to the real-time streaming protocol client device, an IP address, such as IP2, of the real-time streaming protocol client device is acquired, and an RTP data transmission link, such as fd2, between the real-time streaming protocol client device and the proxy server is established. The record may be represented as:
equipment number: dev2
RTP data transmission link: fd2
Real-time streaming protocol client device IP address: IP2
In the same way, the corresponding association relations are generated, and the association relations can be stored in a database in a form of a table or a TXT text format, and the user can set the corresponding storage form according to the actual situation, which is not limited.
Further, in order to increase the data transmission rate and reduce the resource occupation, when an RTP data transmission link is established with the real-time streaming protocol client device, and the number of RTSP request messages sent by the real-time streaming protocol client is two or more, S303 may further include: and sending the RTP data to be transmitted corresponding to the unique identity carried by each RTSP request message to the RTSP client side which sends the RTSP request message through the RTP data transmission link corresponding to the RTSP client side equipment.
And searching an RTP data transmission link corresponding to the equipment number through the equipment number, acquiring the RTP data to be transmitted corresponding to the unique identity carried by each RTSP request message, and transmitting the RTP data to be transmitted to a real-time streaming protocol client side for sending the RTSP request message through the RTP data transmission link.
Specifically, the corresponding RTP data transmission link is searched for through the device number, when the proxy server receives that the unique identification carried in two or more RTSP request messages sent by the real-time streaming protocol client are different, the proxy server obtains the to-be-transmitted RTP data corresponding to the unique identification carried in the RTSP request messages, adds a preset identification to at least two pieces of the obtained RTP data, combines the RTP data added with the preset identification, and then transmits the combined RTP data to the real-time streaming protocol client device sending the RTSP request messages through the RTP data transmission link. And after receiving the transmitted RTP data, the real-time streaming protocol client equipment distributes the RTP data to each RTSP client according to whether the identity identifier of the target server requested by the RTSP client is consistent with the server identifier in the RTP data preset identifier.
And searching an RTP data transmission link corresponding to the equipment number through the equipment number, and acquiring RTP data to be transmitted corresponding to the unique identity carried by any RTSP request information when the proxy server receives that the unique identities carried by two or more RTSP request information sent by the real-time streaming protocol client are the same. Since the unique identity is the same, it is proved that the RTP data to be transmitted, which are requested to be acquired by the RTSP request information, are the same, so that only the RTP data to be transmitted, which are corresponding to the unique identity carried by any RTSP request information, need to be acquired. And transmitting the acquired RTP data to be transmitted to real-time streaming protocol client equipment for sending RTSP request information through an RTP data transmission link. Because the unique identity carried in the RTSP request information sent by the real-time streaming protocol client is the same, at this time, after receiving the transmitted RTP data, the real-time streaming protocol client device distributes the RTP data to each RTSP client according to the identity corresponding to the server in the preset identity of the RTP data and the server identity in the RTSP request information sent by the RTSP client.
When the proxy server receives that the unique identity carried in two or more RTSP request messages sent by the real-time streaming protocol client is the same, the proxy server can also acquire RTP data to be transmitted corresponding to the unique identity carried in each RTSP request message. When the RTP data is transmitted over the RTP data transmission link, only one copy of the RTP data is transmitted.
The method comprises the steps that only one RTP data transmission link is established between the same real-time streaming protocol client device and a proxy server, data transmission is carried out on the basis of the RTP data transmission link, and when the number of RTSP request information sent by the real-time streaming protocol client is two or more and the unique identity carried by the RTSP request information is the same, the RTP data to be transmitted are sent only once through the RTP data transmission link; and when the unique identity carried by the RTSP request information is different, combining the RTP data to be transmitted and then transmitting the RTP data through an RTP data transmission link. The transmission mode improves the data transmission rate and reduces the resource occupation.
It should be noted that, the number of the RTSP request messages sent by the real-time streaming protocol client is not limited. The number of the RTSP request messages sent by the actual real-time streaming protocol client may be one or multiple. And when the number of the RTSP request information sent by the real-time streaming protocol client is multiple, sending the RTP data to be transmitted only once through an RTP data transmission link, or transmitting the combined RTP data added with the preset identifier through the RTP data transmission link.
S304: and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification.
In this embodiment, S304 is identical to S103 in the previous embodiment, and please refer to the related description of S103 in the previous embodiment, which is not repeated herein.
Further, S304 may be followed by S305-S306, specifically as follows:
s305: and establishing a corresponding relation between the target identity identification and the client identification of the real-time streaming protocol client.
The proxy server establishes a corresponding relation between the target identity identification and the client identification of the real-time streaming protocol client.
Specifically, the proxy server sends a target RTSP response message and target RTP data received through the target RTP data stream connection to the real-time streaming protocol client sending the RTSP request information according to the client identifier, and then establishes a corresponding relationship between the client identifier of the real-time streaming protocol client and the target identity identifier carried in the RTSP request information.
The establishing of the corresponding relationship may be that the corresponding relationship between the target identity and the client identity of the live streaming protocol client is established separately. Assuming that the target identity is chn1 and the client identity of the real-time streaming protocol client is a, the established correspondence relationship is as follows:
unique identification: chn1
Client identification of the real-time streaming protocol client: a. the
Assuming that the target identity is chn2 and the client identity of the real-time streaming protocol client is B, the established correspondence is as follows:
unique identification: chn2
Client identification of the real-time streaming protocol client: b is
The establishment of the corresponding relationship may also add the client identifier of the real-time streaming protocol client to the previously established associated relationship according to the unique identity identifier, that is, add the client identifier of the real-time streaming protocol client to the associated relationship of the unique identity identifier corresponding to each server, the RTSP URL of each server, the RTSP response message sent by each server, and the RTP data connection.
Assuming that the target identity is chn1 and the client identity of the real-time streaming protocol client is a, the client identity a of the real-time streaming protocol client is added to the above-mentioned association relationship. The added association is as follows:
unique identification: chn1
RTSP URL:rtsp://IP1/chn1
RTSP response message: RTSP OPTION response message
Client identification of the real-time streaming protocol client: a. the
S306: and when receiving RTP data sent by any server based on the target RTP data stream connection, sending the received RTP data to a real-time stream protocol client corresponding to the client identifier corresponding to the unique identity identifier of the server based on the preset corresponding relation between the unique identity identifier and the client identifier.
When receiving RTP data sent by any server based on the target RTP data stream connection, the proxy server obtains the unique identity of the server by comparing RTP data connection information, searches a real-time stream protocol client corresponding to the client identity corresponding to the unique identity of the server according to the preset corresponding relation between the unique identity and the client identity, and sends the received RTP data to the real-time stream protocol client.
For example, when receiving the RTP data sent by the server again through the target RTP data stream connection, the proxy server obtains the unique identity of the server as chn1, and searches for the real-time streaming protocol client corresponding to the client identity corresponding to chn1 in the established correspondence. The corresponding relation between the target identity and the client identity of the real-time streaming protocol client can be found in the independent establishment, namely the following information is found:
unique identification: chn1
Client identification of the real-time streaming protocol client: a. the
When the unique identity of the server is chn1, the client identifier of the real-time streaming protocol client is a, that is, the real-time streaming protocol client corresponding to the client identifier corresponding to chn1 is the real-time streaming protocol client a, and the received RTP data is sent to the real-time streaming protocol client.
The association relationship after the addition can also be searched, that is, the following information is searched:
unique identification: chn1
RTSP URL:rtsp://IP1/chn1
RTSP response message: RTSP OPTION response message
Client identification of the real-time streaming protocol client: a. the
When the unique identity of the server is chn1, the client identifier of the real-time streaming protocol client is a, that is, the real-time streaming protocol client to which the client identifier corresponding to chn1 belongs is the real-time streaming protocol client a, and the received RTP data is sent to the real-time streaming protocol client.
In the embodiment of the invention, the real-time streaming protocol RTSP request information sent by the real-time streaming protocol client is received; when the target identity is searched from a database, acquiring a target RTSP response message corresponding to the target identity and target RTP data stream connection; and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification. According to the scheme, the proxy server distributes the identity identifications for all servers providing the streaming media service in advance, sends RTSP request information to the servers to acquire RTSP response messages and RTP data fed back by the servers, acquires the identity identifications and the client identifications in the RTSP request information sent by the real-time streaming protocol client, and sends the RTSP response messages and the RTP data fed back by the servers to the real-time streaming protocol client based on the client identifications.
Referring to fig. 4, fig. 4 is a schematic diagram of an apparatus for proxy forwarding real-time streaming protocol streaming media data according to an embodiment of the present invention. The device comprises units for performing the steps in the embodiments corresponding to fig. 1, 2, 3. Please refer to fig. 1, fig. 2 and fig. 3 for the corresponding embodiments. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 4, the device 4 for proxy forwarding of real-time streaming protocol streaming media data includes:
a receiving unit 410, configured to receive real-time streaming protocol RTSP request information sent by a real-time streaming protocol client; the RTSP request information carries a target identity corresponding to a target server providing streaming media service; the real-time streaming protocol client has a client identifier; the target identity is distributed and stored for the target server in advance by the home terminal;
an obtaining unit 420, configured to obtain, when the target identity is found in the database, a target RTSP response message and a target RTP data stream connection corresponding to the target identity; the database stores RTSP response messages and RTP data stream connections which are sent by all servers for providing streaming media services after receiving RTSP request information sent by a local terminal;
a sending unit 430, configured to send the target RTSP response message and the target RTP data received through the target RTP data stream connection to the real-time streaming protocol client sending the RTSP request information, based on the client identifier.
Further, the device for proxy forwarding of the real-time streaming protocol streaming media data further includes:
the distribution unit is used for sending real-time streaming protocol (RTSP) request information to each server for providing streaming media services, distributing unique identification for each server, and generating an RTSP URL (real time streaming protocol) of each server based on the unique identification of each server;
and the receiving unit is used for receiving the RTSP response message and the RTP data which are sent by each server based on the RTSP request information.
Further, the device for proxy forwarding of the real-time streaming protocol streaming media data further includes:
and the association relationship establishing unit is used for establishing an association relationship among the unique identity corresponding to each server, the RTSP URL of each server, the RTSP response message sent by each server and the RTP data stream connection information, and storing the association relationship into the database.
Further, the obtaining unit 420 is specifically configured to: and searching a target RTSP response message and a target RTP data stream connection corresponding to the target identity identification based on the association relation.
Further, the sending unit 430 is specifically configured to:
adding a preset identifier before the RTP data; the preset identification at least comprises a data identification and a server identity identification, and the data identification is used for indicating that the current data is RTP data;
and based on the client identification, sending the target RTSP response message and the RTP data added with the preset identification to a real-time streaming protocol client sending the RTSP request information.
Further, the device for proxy forwarding of the real-time streaming protocol streaming media data further includes:
a transmission link establishing unit, configured to receive an RTP connection request sent by the real-time streaming protocol client device, and establish an RTP data transmission link between the local terminal and the real-time streaming protocol client device; wherein, the RTP data transmission link is used for transmitting the target RTP data to the real-time streaming protocol client device.
Further, the device for proxy forwarding of the real-time streaming protocol streaming media data further includes:
the establishing unit is used for establishing a corresponding relation between the target identity identification and the client identification of the real-time streaming protocol client;
and the data sending unit is used for sending the received RTP data to the real-time streaming protocol client corresponding to the client identifier corresponding to the unique identifier of the server based on the corresponding relation between the unique identifier and the client identifier when the RTP data sent by any server is received based on the target RTP data stream connection.
Further, the sending unit 430 is specifically configured to: and sending the RTP data to be transmitted corresponding to the unique identity carried by each RTSP request message to the RTSP client side which sends the RTSP request message through the RTP data transmission link corresponding to the RTSP client side equipment.
Referring to fig. 5, fig. 5 is a schematic diagram of an apparatus for proxy forwarding real-time streaming protocol streaming media data according to another embodiment of the present invention. As shown in fig. 5, the apparatus 5 for proxy forwarding of real-time streaming protocol streaming media data according to this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The processor 50 executes the computer program 52 to implement the steps in the above-mentioned method embodiment of forwarding data by the real-time streaming protocol proxy of each device, for example, S101 to S103 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the units in the device embodiments, such as the functions of the units 410 to 430 shown in fig. 4.
Illustratively, the computer program 52 may be divided into one or more units, which are stored in the memory 51 and executed by the processor 50 to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the device 5 for proxy forwarding of real-time streaming protocol streaming media data. For example, the computer program 52 may be divided into a receiving unit, an acquiring unit, and a transmitting unit, each unit functioning specifically as described above.
The apparatus may include, but is not limited to, a processor 50, a memory 51. It will be understood by those skilled in the art that fig. 5 is merely an example of the apparatus 5 for proxy forwarding of real-time streaming protocol streaming media data and does not constitute a limitation of the apparatus 5 for proxy forwarding of real-time streaming protocol streaming media data and may include more or less components than those shown, or combine certain components, or different components.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 51 may be an internal storage unit of the device 5 for proxy forwarding of the rtp streaming media data, for example, a hard disk or a memory of the device 5 for proxy forwarding of the rtp streaming media data. The memory 51 may also be an external storage real-time streaming protocol client of the device 5 for proxy forwarding of real-time streaming protocol streaming Media data, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped on the device 5 for proxy forwarding of real-time streaming protocol streaming Media data. Further, the memory 51 may also include both an internal storage unit of the device 5 for proxy forwarding of the real-time streaming protocol streaming media data and an external storage real-time streaming protocol client. The memory 51 is used for storing the computer program and other programs and data required by the real-time streaming protocol client. The memory 51 may also be used to temporarily store data that has been output or is to be output.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (9)
1. A method for proxy forwarding of real-time streaming protocol streaming media data is characterized by comprising the following steps:
sending real-time streaming protocol (RTSP) request information to each server for providing streaming media services, allocating a unique identity to each server, and generating an RTSP URL (real time streaming protocol) of each server based on the unique identity of each server; receiving RTSP response messages and RTP data which are sent by each server based on RTSP request information;
receiving real-time streaming protocol RTSP request information sent by a real-time streaming protocol client; the RTSP request information carries a target identity corresponding to a target server providing streaming media service; the real-time streaming protocol client has a client identifier; the target identity is distributed and stored for the target server in advance by the home terminal;
when the target identity is searched from a database, acquiring a target RTSP response message corresponding to the target identity and target RTP data stream connection; the database stores RTSP response messages and RTP data stream connections which are sent by all servers for providing streaming media services after receiving RTSP request information sent by a local terminal;
and sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client sending the RTSP request information based on the client identification.
2. The method of claim 1, wherein said receiving RTSP response messages and RTP data sent by each of said servers based on RTSP request information further comprises:
establishing an association relation among a unique identity corresponding to each server, an RTSP URL of each server, an RTSP response message sent by each server and an RTP data stream connection, and storing the association relation to the database;
when the target identity is found from the database, acquiring a target RTSP response message corresponding to the target identity and a target RTP data stream connection includes:
and searching a target RTSP response message and a target RTP data stream connection corresponding to the target identity identification based on the association relation.
3. The method of claim 2, wherein after said transmitting said target RTSP response message and target RTP data received over said target RTP data streaming connection to a real-time streaming protocol client sending said RTSP request message based on said client identification, further comprising:
establishing a corresponding relation between the target identity identification and a client identification of the real-time streaming protocol client;
and when receiving RTP data sent by any server based on the target RTP data stream connection, sending the received RTP data to a real-time stream protocol client corresponding to the client identifier corresponding to the unique identifier of the server based on the corresponding relation between the unique identifier and the client identifier.
4. The method of claim 1, wherein said sending said target RTSP response message, and target RTP data received over said target RTP data streaming connection, to a real-time streaming protocol client sending said RTSP request message based on said client identification comprises:
adding a preset identifier before the RTP data; the preset identification at least comprises a data identification and a server identity identification, and the data identification is used for indicating that the current data is RTP data;
and based on the client identification, sending the target RTSP response message and the RTP data added with the preset identification to a real-time streaming protocol client sending the RTSP request information.
5. The method of any of claims 1 to 4, wherein said sending said target RTSP response message and target RTP data received over said target RTP data streaming connection to a real-time streaming protocol client sending said RTSP request information based on said client identification, further comprises:
receiving an RTP connection request sent by the real-time streaming protocol client equipment, and establishing an RTP data transmission link between the local terminal and the real-time streaming protocol client equipment; wherein, the RTP data transmission link is used for transmitting the target RTP data to the real-time streaming protocol client device.
6. The method of claim 5, wherein said sending said target RTSP response message and target RTP data received over said target RTP data streaming connection to a real-time streaming protocol client sending said RTSP request information based on said client identification comprises:
and sending the RTP data to be transmitted corresponding to the unique identity carried by each RTSP request message to the RTSP client side which sends the RTSP request message through the RTP data transmission link corresponding to the RTSP client side equipment.
7. An apparatus for proxy forwarding of real-time streaming protocol streaming media data, comprising:
a receiving unit, configured to send real-time streaming protocol RTSP request information to each server for providing a streaming media service, allocate a unique identity to each server, and generate an RTSP URL of each server based on the unique identity of each server; receiving RTSP response messages and RTP data which are sent by each server based on RTSP request information; receiving real-time streaming protocol RTSP request information sent by a real-time streaming protocol client; the RTSP request information carries a target identity corresponding to a target server providing streaming media service; the real-time streaming protocol client has a client identifier; the target identity is distributed and stored for the target server in advance by the home terminal;
the acquisition unit is used for acquiring a target RTSP response message and a target RTP data stream connection corresponding to the target identity when the target identity is searched from a database; the database stores RTSP response messages and RTP data stream connections which are sent by all servers for providing streaming media services after receiving RTSP request information sent by a local terminal;
and the sending unit is used for sending the target RTSP response message and the target RTP data received through the target RTP data stream connection to a real-time streaming protocol client side which sends the RTSP request information based on the client side identification.
8. An apparatus for proxying real time streaming protocol streaming media data, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910124155.9A CN109862438B (en) | 2019-02-19 | 2019-02-19 | Method and equipment for proxy forwarding of real-time streaming protocol streaming media data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910124155.9A CN109862438B (en) | 2019-02-19 | 2019-02-19 | Method and equipment for proxy forwarding of real-time streaming protocol streaming media data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109862438A CN109862438A (en) | 2019-06-07 |
CN109862438B true CN109862438B (en) | 2021-05-07 |
Family
ID=66898312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910124155.9A Active CN109862438B (en) | 2019-02-19 | 2019-02-19 | Method and equipment for proxy forwarding of real-time streaming protocol streaming media data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109862438B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266802A (en) * | 2019-06-24 | 2019-09-20 | 深圳市网心科技有限公司 | Reverse proxy method of servicing, server, system and medium based on ID identification |
CN111294355B (en) * | 2020-02-10 | 2021-12-17 | 浙江大华技术股份有限公司 | Sub-connection creating method, client device and server device |
CN111405029B (en) * | 2020-03-12 | 2023-06-02 | 北京字节跳动网络技术有限公司 | Request processing method and device |
CN114244908B (en) * | 2021-11-05 | 2024-08-23 | 浙江蓝卓工业互联网信息技术有限公司 | RTSP stream media transmission method crossing network domain |
CN115242760B (en) * | 2022-07-20 | 2023-12-26 | 深圳市灵镜技术有限公司 | SFU system and method based on WebRTC |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968227A (en) * | 2006-06-29 | 2007-05-23 | 华为技术有限公司 | System and method for enabling wireless access gateway to support transparent agent |
CN101282356A (en) * | 2008-05-26 | 2008-10-08 | 张建中 | Method, apparatus and system for real-time data transmission |
CN103220371A (en) * | 2012-01-18 | 2013-07-24 | 中国移动通信集团公司 | Method and system for conducting content adaptation |
CN104137564A (en) * | 2011-12-29 | 2014-11-05 | 皇家Kpn公司 | Controlled streaming of segmented content |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8689313B2 (en) * | 2004-06-21 | 2014-04-01 | Insors Integrated Communications | Real time streaming data communications through a security device |
US7826401B2 (en) * | 2004-06-21 | 2010-11-02 | Insors Integrated Communications | Methods and program products for mapping a network address translator |
-
2019
- 2019-02-19 CN CN201910124155.9A patent/CN109862438B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968227A (en) * | 2006-06-29 | 2007-05-23 | 华为技术有限公司 | System and method for enabling wireless access gateway to support transparent agent |
CN101282356A (en) * | 2008-05-26 | 2008-10-08 | 张建中 | Method, apparatus and system for real-time data transmission |
CN104137564A (en) * | 2011-12-29 | 2014-11-05 | 皇家Kpn公司 | Controlled streaming of segmented content |
CN103220371A (en) * | 2012-01-18 | 2013-07-24 | 中国移动通信集团公司 | Method and system for conducting content adaptation |
Also Published As
Publication number | Publication date |
---|---|
CN109862438A (en) | 2019-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109862438B (en) | Method and equipment for proxy forwarding of real-time streaming protocol streaming media data | |
US8566395B2 (en) | Method and apparatus for transmitting hypertext transfer protocol media | |
CN107948762B (en) | Live video transmission method, device and system | |
US9300733B2 (en) | System and/or method for client-driven server load distribution | |
US20060112422A1 (en) | Data transfer using hyper-text transfer protocol (HTTP) query strings | |
CN112738140B (en) | Video stream transmission method, device, storage medium and equipment based on WebRTC | |
CN104581374B (en) | A kind of method, node and server for obtaining section file and generating sub- m3u8 files | |
CN113287283B (en) | Method and system for audiovisual live content delivery | |
US10348680B2 (en) | UDP-based control command transmission method, sender and receiver | |
EP4135296B1 (en) | Real-time communication (rtc) connection method, server, and storage medium | |
CN111464493B (en) | Management method and device for user rights of video networking | |
CN104010001A (en) | Method and system for carrying out connection communication on same networking requests in mobile terminal | |
CN114172929A (en) | Communication method, device and gateway | |
CN106817629B (en) | Media information transmission method, device and system | |
US20150074234A1 (en) | Content system and method for chunk-based content delivery | |
CN104065688B (en) | A kind of method and device for calling underlying services | |
SE522794C2 (en) | Device and method for communicating electronic data via a network infrastructure having a unicast mechanism and multicast mechanism | |
US10834179B2 (en) | Load balancing | |
JP5745164B2 (en) | Server, system, method, computer program, and computer program product for accessing a server in a computer network | |
CN111193941B (en) | Method, device and equipment for transmitting media data and storage medium | |
CN111212253B (en) | Monitoring processing method and device in video conference, electronic equipment and storage medium | |
US20170142218A1 (en) | Method for caching a piece of content in a distribution network | |
CN112612770A (en) | Distributed file uploading method and system | |
KR100280825B1 (en) | How to Manage Session Membership in Internet Multicast Applications | |
CN110022485B (en) | Online quantity statistical method and device |
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 |