Live stream load balancing algorithm based on RTMP
A load balancing algorithm and load balancing technology, which is applied in the field of live streaming, can solve the problems of not supporting multiplexing of live streaming and not supporting simultaneous playback of multiple players, so as to improve response speed and overall performance, and eliminate load imbalance , the effect of simplifying management
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 2
[0079] Embodiment two, such as figure 2 Shown, embodiment, live streaming load balancing algorithm configuration example of the present invention is as follows:
[0080] Mobile device 1, mobile device 2, mobile device 3, mobile device 4, mobile device 5, and mobile device 6 can all play audio and video streams; network devices generate video streams and transmit them to the mobile device, and then the mobile device pushes the stream to the stream In the media distribution server 1, streaming media distribution server 2, and streaming media distribution server N, other personal computers and mobile devices obtain the audio and video data stream address through the load balancing module to request to play the real-time stream of the mobile device
[0081] Scenario 1: PC 1 pulls the stream To access the real-time video of mobile device 1:
[0082] 1. The mobile device 1 sends a streaming request to the network content system service;
[0083] 2. The network content system serv...
Embodiment 3
[0093] Embodiment three, as image 3 As shown, the application scenarios of the present invention are as follows:
[0094] The playback client plays the video, sends a request to the network content service to obtain the address of the audio and video data stream, plays the video resource according to the address of the audio and video data stream, and publishes the client to push the audio and video data stream to the media distribution server; for the playback client to play the stream specifically Proceed as follows:
[0095] 1: The playback client initiates a request to the network content service to obtain the address of the audio and video data stream, and the network content service then sends a request to the load balancing service, and the load balancing service generates the address of the audio and video data stream by judging the working status of the media distribution server. The audio and video data flow address is returned to the network content service throug...
Embodiment 4
[0098] Embodiment four, such as Figure 4 As shown, the application scenario calculates the audio and video data stream address as shown in the flow chart:
[0099] Calculate the audio and video data stream address, and the parameters include session ID and resource ID. Search the request table according to the resource ID and playback status, and the playback status includes playable and playback status. If the search exists, perform the following steps:
[0100] 1. Traverse the playlist, count the total load of all online servers playing the resource in the playlist and the number of resources played, including IP, total load, and play quantity, and count the total load of all online servers in the playlist, including IP, total load.
[0101] 2. Determine whether the IP, total load, and the number of playbacks are zero. If the number here is zero, it means that there is a request but the playback has not been completed. If so, multiplex the audio and video data stream addr...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com