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
The core idea to solve the problem of low latency: no buffer
Low latency: as the name suggests, it means that the smaller the time difference between the playback end and the streaming end, the better. So how to achieve low latency? One word summary: no buffer
First of all, let's explain the flow direction of video stream: push stream end --- CDN server --- pull stream end
1. No buffer on the push side, that is to ensure the minimum buffer on the push side. This basically ensures that in the case of network jitter or sudden deterioration at the streaming end, it can discard the buffered buffer and continue to push new generated video frames. This ensures that the video content is up-to-date when the network begins to transmit.
2. CDN nobuffer, adjust the configuration of CDN to make the GOP cached by CDN server as less as possible, so as to ensure that the streaming end gets the latest content.
3. The pull side nobuffer. Since the push and transfer CDN have nobuffer set, the meaning of setting nobuffer on the pull side should not be explained too much.
One thing to remember: the solution to the low latency problem is not a matter of one end. The configuration of three ends will affect the effect of latency.
Experience of low delay live broadcast at streaming end (based on ijkplayer)
In the process of live broadcast, there are first delay and content delay. The first start delay can be controlled at about 100ms; the content delay based on RTMP can be controlled at about 2 ~ 5 seconds according to the situation of CDN. Because RTMP is based on TCP protocol, it will be affected by network conditions in the process of playing, resulting in increased delay. By understanding the relevant knowledge of live streaming push and pull, we can know that according to the different control settings of push side (push strategy) and server (cache strategy), we are likely to get the content a few seconds ago (even more than ten seconds), which can be known by comparing the content of pull side and push side. For these contents, the data cached by the CDN server will be pulled over at the streaming end, and the buffer queue becomes larger. Then, the larger the buffer queue, the greater the delay between the pull end and the push end.
The core reason for the delay of the pull end is that the buffer queue becomes larger and the delay of the difference between the content played by the pull end and the push end increases.
terms of settlement:
1. Control max_ buffer_ Size, set Max reasonably_ buffer_ Size, so that the streaming end will not cache the content for a long time (after testing, it is found that it is not very practical, because the content delay can only be achieved by catching up with or discarding the currently played content and quickly skipping to the latest data)
2. Double speed playback is used to consume buffer queue quickly. After the consumption reaches a reasonable range, normal playback is performed (monitor and dynamically control buffer queue, which requires the decoding performance of the device to be able to support).
3. Use packet loss (frame loss) strategy. Strategy description:
In the case of audio stream and video stream, or only audio stream, when the audioq reaches a certain duration, the previous part of the packets will be lost, because the default is av_ SYNC_ AUDIO_ Master, the video will catch up.
Only in the case of video streaming, when the video Q reaches a certain duration, some of the previous packets will be lost.
|
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