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
For live broadcasts, avoiding delays has always been a difficult bone to chew, but this "bone" has carved out "pits" one after another for the development of mobile live broadcast source code. According to the experience summarized in practice, the video on the mobile platform There are two main aspects of live broadcast: equipment differences, and technical tests brought about by these scenarios in the network environment. So how to effectively avoid these pits, let's take a look at it in detail below.
1. Understand the coding differences on different chip platforms
Regardless of whether it is hard-coded or soft-coded on the iOS platform, since it is made by Apple, there are almost no coding differences due to different chip platforms.
However, on the Android platform, the MediaCodec encoder provided by the Android Framework SDK has very different performance on different chip platforms. Different manufacturers use different chips, and the performance of Android MediaCodec on different chip platforms is slightly different. The cost of achieving full platform compatibility is not low.
In addition, the H.264 encoding image quality parameters at the hard-coded level of Android MediaCodec are a fixed baseline, so the image quality is usually average. Therefore, under the Android platform, it is recommended to use soft editing. The advantage is that the image quality can be adjusted and the compatibility is better.
2. High-performance acquisition and coding on low-end equipment
For example, what the Camera collects and outputs may be pictures, and the volume of a picture is not small. If the acquisition frequency is very high, the encoded frame rate is very high, and each picture passes through the encoder, the encoder may be overloaded.
At this time, you can consider to perform selective frame loss before encoding without affecting the image quality (we talked about the microscopic meaning of the frame rate before), so as to reduce the power consumption of the encoding link.
3. Ensure smooth HD streaming in a weak network environment
In the mobile network, it is usually easy to encounter network instability, the connection is reset, and the connection is disconnected. On the one hand, frequent reconnections require overhead to establish a connection. On the other hand, especially when GPRS / 2G / 3G / 4G handover occurs, bandwidth bottlenecks may appear. When the bandwidth is not enough, the content with higher frame rate/higher bit rate is more difficult to send out. At this time, variable bit rate support is required.
That is, at the push end, the network status and simple speed measurement can be detected, and the bit rate can be dynamically switched to ensure smooth push during network switching.
Secondly, the logic of encoding, packetization, and streaming can also be fine-tuned. You can try to selectively drop frames, such as preferentially dropping video reference frames (not losing I-frames and audio frames), which can also reduce the data content to be transmitted, but At the same time, the goal of not affecting the picture quality and the smoothness of the audiovisual version is achieved.
Doing the above in the development process of the live broadcast source code can cleverly avoid the delay "pits" in the mobile live broadcast scene.
|
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