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 live broadcast application, RTMP and HLS are two mature and widely used streaming media protocols, which can cover all clients basically. RTMP is the protocol of application layer in the five layer Internet tcp/ip architecture. The main advantage is high real-time performance, which can basically control the live broadcast delay within 3 seconds, so it is widely used in low delay live broadcast.
HLS is an HTTP based streaming media transport protocol implemented by Apple company, which has the advantages of high performance and perfect support for IOS. Compared with RTMP, HLS does not need to install app on mobile side and is compatible with HTML5. Therefore, HLS has great advantages in the spread and experience of mobile live broadcast. However, the real-time performance of HLS is poor, and the average live broadcast delay in the industry is 10s-35s.
In the HLS delay problem that makes many users most headache, the cloud shooting has been targeted to optimize the technology, and the ultra-low delay of HLS is realized, and the HLS delay is stable controlled for about 4 seconds.
Analysis of the reason of HLS high delay
Theoretically, HLS delay = the length of time of 1 slice + 0-1 TD (TD is ext-x-targetduration, which can be simply understood as the interval time between player chip taking) + 0-n startup slices (Apple officially suggests that the player should start playing after three pieces of film) + network delay of the first requested slice (Network connection time consuming).
From the formula of delay composition, the delay of HLS is mainly composed of the following four parts:
When the encoder and stream divider at the server generate TS files, HLS protocol is used to cut the media files into TS files corresponding to the media segment when they are used in live video transmission.
The interval between player chip taking and before the client starts downloading, it is necessary to wait for the encoder and stream divider on the server side to generate at least one TS file.
The time of client downloading slice and the number of slices required to start playing. Usually, after downloading two media files, seamless connection between different segments of audio and video can be ensured.
The time when the client first decodes and starts playing.
The delay optimization of HLS is mainly for the first three parts, and the fourth part is dependent on the performance of the user client.
Detailed explanation of delay hls+ technology of cloud 4S
Since the client requests ts or m3u8 every time it is a new connection request, we can not identify the client effectively. Once there is a problem, it is impossible to locate the problem effectively. Therefore, the general server will make some improvements to the traditional HLS.
It is also called streaming HLS technology. It can greatly reduce the delay of standard HLS and improve the compatibility of HTML5 live broadcast, and has the advantages of small amount of return source, simple system, easy error elimination, anti-theft chain and avoiding HLS 404.
The cloud hls+ can mark the HLS requests of each client, establish a connection for each HLS request, then dynamically generate an independent m3u8 list for each playback request, and dynamically and quickly generate the small slice file only for the playback request.
In order to solve the problem of unfriendly HLS request, the cloud uses variant hls+http 302 to identify the behavior of the client.
1、Variant HLS
First, download a m3u8 file that takes pictures of the cloud again:
one
wget http://uplive.bo.upaiyun.com/live/loading.m3u8
Then, open the playlist file that you downloaded:
#EXTM3U
#EXT-X- VERSION:3
#EXT-X-ALLOW- CACHE:YES
#EXT-X-MEDIA- SEQUENCE:0
#EXT-X-TARGE TDURATION:1
# EXTINF:0.998 , no desc
http://183.158.35.12 :8080/uplive.b0. upaiyun.com/live/loading -0.ts?shp_ uuid=e4989f34fcab282e21ef1fd2980284cb&shp_ ts=1490172420851&shp_ cid=17906&shp_ pid=3370578&shp_ sip0=127.0.0.1&shp_ sip1=183.158.35.12&domain=uplive.b0. upaiyun.com&shp_ seqno=0
It can be seen that the hls+ which is shooting cloud supports this variant HLS method to identify an HLS connection, and UUID is used to represent an HLS connection.
2、HTTP 302
First, the playback address is requested in HTTP 302 mode.
❯ curl -v http://uplive.b0.upaiyun.com/live/loading.m3u8 \?shp_ identify\=302 -o playlist
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 183.158.35.59...
* TCP_ NODELAY set
* Connected to uplive.b0. upaiyun.com (183.158.35.59) port 80 (#0)
> GET /live/loading.m3u8?shp_ identify=302 HTTP/1.1
> Host: uplive.b0. upaiyun.com
> User-Agent: curl/7.51.0
> Accept: */*
>
< HTTP/1.1 302 Found
< Server: marco/0.26
< Date: Wed, 22 Mar 2017 08:54:11 GMT
< Content-Type: text/plain; charset=utf-8
< Content-Length: 259
< Connection: keep-alive
< Access-Control-Allow-Methods: GET
< Access-Control-Allow-Origin: *
< Location: http://183.158.35.19 :8080/uplive.b0. upaiyun.com/live/loading .m3u8?shp_ uuid=2862b1b817a74cf719b1cd8f554616cd&shp_ ts=1490172851450&shp_ cid=59553&shp_ pid=1730488&shp_ sip0=127.0.0.1&shp_ sip1=183.158.35.19&domain=uplive.b0. upaiyun.com&shp_ identify=302
<
{ [259 bytes data]
* Curl_ http_ done: called premature == 0
100 259 100 259 0 0 4813 0 --:--:-- --:--:-- --:--:-- 4886
* Connection #0 to host uplive.b0. upaiyun.com left intact
|
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