FMUSER Wirless Transmit Video And Audio More Easier !
es.fmuser.org
it.fmuser.org
fr.fmuser.org
de.fmuser.org
af.fmuser.org ->Afrikaans
sq.fmuser.org ->Albanian
ar.fmuser.org ->Arabic
hy.fmuser.org ->Armenian
az.fmuser.org ->Azerbaijani
eu.fmuser.org ->Basque
be.fmuser.org ->Belarusian
bg.fmuser.org ->Bulgarian
ca.fmuser.org ->Catalan
zh-CN.fmuser.org ->Chinese (Simplified)
zh-TW.fmuser.org ->Chinese (Traditional)
hr.fmuser.org ->Croatian
cs.fmuser.org ->Czech
da.fmuser.org ->Danish
nl.fmuser.org ->Dutch
et.fmuser.org ->Estonian
tl.fmuser.org ->Filipino
fi.fmuser.org ->Finnish
fr.fmuser.org ->French
gl.fmuser.org ->Galician
ka.fmuser.org ->Georgian
de.fmuser.org ->German
el.fmuser.org ->Greek
ht.fmuser.org ->Haitian Creole
iw.fmuser.org ->Hebrew
hi.fmuser.org ->Hindi
hu.fmuser.org ->Hungarian
is.fmuser.org ->Icelandic
id.fmuser.org ->Indonesian
ga.fmuser.org ->Irish
it.fmuser.org ->Italian
ja.fmuser.org ->Japanese
ko.fmuser.org ->Korean
lv.fmuser.org ->Latvian
lt.fmuser.org ->Lithuanian
mk.fmuser.org ->Macedonian
ms.fmuser.org ->Malay
mt.fmuser.org ->Maltese
no.fmuser.org ->Norwegian
fa.fmuser.org ->Persian
pl.fmuser.org ->Polish
pt.fmuser.org ->Portuguese
ro.fmuser.org ->Romanian
ru.fmuser.org ->Russian
sr.fmuser.org ->Serbian
sk.fmuser.org ->Slovak
sl.fmuser.org ->Slovenian
es.fmuser.org ->Spanish
sw.fmuser.org ->Swahili
sv.fmuser.org ->Swedish
th.fmuser.org ->Thai
tr.fmuser.org ->Turkish
uk.fmuser.org ->Ukrainian
ur.fmuser.org ->Urdu
vi.fmuser.org ->Vietnamese
cy.fmuser.org ->Welsh
yi.fmuser.org ->Yiddish
In recent years, with the increase in bandwidth requirements in video fields such as live broadcast and short video, and the intensification of competition in the CDN industry, many CDN companies have begun to develop in the direction of P2P-CDN. P2P-CDN has always been an excellent solution in reducing costs and accelerating video services.
Today, I will use the HLS protocol as an entry point to explain the P2P-CDN project-PrismCDN.
Live P2P-CDN is usually used to transmit FLV protocol video. Why did Paiyun develop P2P-CDN that supports HLS transmission protocol? Because some customers use the Web player, they don't want to use the FLV protocol. In order to meet the needs of customers, P2P-CDN has made HLS adaptation to P2P-CDN so that it can support the HLS protocol.
First look at HLS and HLS+. Although HLS has been widely used, its average delay is 10-30 seconds, which has the disadvantage of high delay. The HLS+ technology reduces the delay to 4 seconds by slicing and trans-encapsulating the video at the edge node of the CDN. Currently, PrismCDN has fully supported HLS+ services.
P2P-CDN supports HLS implementation principle
Taking PrismCDN as an example, the current practice is that P2P-CDN needs to be a P2P downloader SDK, and then download data through the P2P protocol, and at the same time use the CDN server to supplement the data download, and get the intermediate result—FLV data stream. Then the SDK is locally transferred and encapsulated, converted into M3U8 and TS data streams, and finally HTTP service is provided on the local IP address 127.0.0.1, and finally the player can access the HLS data stream.
△PrismCDN supports HLS protocol process
The way that PrismCDN supports the HLS protocol is similar to the way that HLS+ reduces latency. HLS+ slices at CDN edge nodes, while PrismCDN completes slices and transmits FLV data streams locally on the client.
The idea of P2P HLS is the same as HLS+. Each TS segment is cut very small, and the TARGETDURATION is made 1 second, so that the end-to-end delay is 4 seconds.
High efficiency and low price, the secret under the unique live broadcast architecture
The above mainly explained the local transfer encapsulation of the HLS protocol, which is the most critical data stream transmission method compared to P2P-CDN.
△ Another cloud PrismCDN live broadcast architecture
First, the anchor pushes the live stream to the CDN server through the RTMP protocol, and the CDN server will instantly push one-twentieth of the data stream to fog nodes such as optical modems, routers, and set-top boxes. The fog node then forwards the data to the SDK downloader. The downloader then supplements the data to the CDN server, and finally composes the FLV stream.
The key point of PrismCDN data transmission is to rely on the upstream capabilities of fog nodes such as optical modems and routers to provide CDN bandwidth, thereby reducing the supplementary data flow of CDN servers. Most of the data is forwarded through the fog node, ultimately achieving the goal of saving costs.
Unique live broadcast model creates low latency
Compared with other P2P products, the biggest feature of PrismCDN is its low latency.
P2P live broadcasting has a history of many years. As early as 2004, P2P technology was already used in the web TV live broadcast application, and some TV station signals were put on the Internet for live broadcast. However, limited by technology, the P2P live broadcast delay was quite large at that time.
Why was the P2P live broadcast delay in 2004 so large?
This is because the live broadcast format data stream at that time downloads data from the top-level playback node and CDN, and then delivers it to each lower-level node layer by layer. This kind of live tree structure floods the data all the way, causing a very large delay.
PrismCDN does not need to build a live broadcast tree, only one layer of live broadcast model can achieve the effect of a relatively high P2P account. In the one-layer model, the end-to-end delay is within 3 seconds. With such a delay, the current live broadcast services on the market, such as game live broadcasts and show live broadcasts, can all be implemented with PrismCDN.
To sum up, PrismCDN low-latency technology mainly simplifies the data transmission model.
△The traditional P2P live broadcast tree is on the left, and the PrismCDN live broadcast model is on the right.
90% sharing rate achieves low latency and low cost features
The share ratio of PrismCDN nodes is more than 90%. The key to increasing the share ratio is the introduction of third-party equipment to supply data. Compared with traditional live broadcast trees, PrismCDN does not have the limitation of "the player is the supplier". For example, if there are 10,000 concurrent players, the traditional live tree structure cannot support sharing bandwidth with other users while playing, especially when the data pressure is high. PrismCDN has increased the number of third-party devices, increased the supply of upstream bandwidth, and reduced the pressure on CDN nodes, thereby increasing the node sharing ratio.
The key to PrismCDN's ability to improve fluency lies in the UDP protocol. Compared with the TCP protocol, the UDP protocol has more room for optimization. In the actual test, we let some nodes use TCP to run, and some other nodes use UDP to run. Compared with TCP, UDP can improve fluency by 5%.
In terms of fog node selection, with the help of an intelligent scheduling system, the nearest node is selected to solve the interconnection and interoperability problems between operators and avoid cross-operator situations.
Various tests to determine the most suitable parameters
The indicators of low latency, high sharing rate, and fluency in PrismCDN are very important. However, several of these indicators are contradictory, such as sharing rate and fluency. How to improve the fluency while increasing the sharing rate? We are adjusting these parameters during the development process, and constantly looking for suitable parameters through large-scale AB testing of the online system, finding the right time to supplement the data, how many nodes are used to transmit data, and how many redundant nodes are used.
future development
In addition to P2PHLS, YouPaiyun is also developing WebP2P, which will use WebRTC, DataChannel, MSE, Webassembly and other technologies. When we go to sell P2P products, there will indeed be some resistance in the market, because customers may not trust the P2P products of the SDK, including its upgrade and distribution channels, and how to roll back if something goes wrong. But if you use WebP2P to do it, customers will feel more at ease. If there is a problem with the P2P system, you can quickly roll back to the old version.
|
Enter email to get a surprise
es.fmuser.org
it.fmuser.org
fr.fmuser.org
de.fmuser.org
af.fmuser.org ->Afrikaans
sq.fmuser.org ->Albanian
ar.fmuser.org ->Arabic
hy.fmuser.org ->Armenian
az.fmuser.org ->Azerbaijani
eu.fmuser.org ->Basque
be.fmuser.org ->Belarusian
bg.fmuser.org ->Bulgarian
ca.fmuser.org ->Catalan
zh-CN.fmuser.org ->Chinese (Simplified)
zh-TW.fmuser.org ->Chinese (Traditional)
hr.fmuser.org ->Croatian
cs.fmuser.org ->Czech
da.fmuser.org ->Danish
nl.fmuser.org ->Dutch
et.fmuser.org ->Estonian
tl.fmuser.org ->Filipino
fi.fmuser.org ->Finnish
fr.fmuser.org ->French
gl.fmuser.org ->Galician
ka.fmuser.org ->Georgian
de.fmuser.org ->German
el.fmuser.org ->Greek
ht.fmuser.org ->Haitian Creole
iw.fmuser.org ->Hebrew
hi.fmuser.org ->Hindi
hu.fmuser.org ->Hungarian
is.fmuser.org ->Icelandic
id.fmuser.org ->Indonesian
ga.fmuser.org ->Irish
it.fmuser.org ->Italian
ja.fmuser.org ->Japanese
ko.fmuser.org ->Korean
lv.fmuser.org ->Latvian
lt.fmuser.org ->Lithuanian
mk.fmuser.org ->Macedonian
ms.fmuser.org ->Malay
mt.fmuser.org ->Maltese
no.fmuser.org ->Norwegian
fa.fmuser.org ->Persian
pl.fmuser.org ->Polish
pt.fmuser.org ->Portuguese
ro.fmuser.org ->Romanian
ru.fmuser.org ->Russian
sr.fmuser.org ->Serbian
sk.fmuser.org ->Slovak
sl.fmuser.org ->Slovenian
es.fmuser.org ->Spanish
sw.fmuser.org ->Swahili
sv.fmuser.org ->Swedish
th.fmuser.org ->Thai
tr.fmuser.org ->Turkish
uk.fmuser.org ->Ukrainian
ur.fmuser.org ->Urdu
vi.fmuser.org ->Vietnamese
cy.fmuser.org ->Welsh
yi.fmuser.org ->Yiddish
FMUSER Wirless Transmit Video And Audio More Easier !
Contact
Address:
No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620
Categories
Newsletter