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
1. Technical realization level:
The technology is relatively mature, and the equipment also supports hard coding. IOS provides a ready-made Video ToolBox framework that can process the camera and streaming media data structure, but the Video ToolBox framework is only compatible with versions 8.0 and above, and x264 library software is required for those below 8.0. There are ready-made open source implementations on github, including streaming, beauty, watermark, bullet screen, like animation, filters, and playback.
Two, streaming media transmission
1. TCP:
TCP is a point-to-point protocol. Although it can ensure the reliability of data transmission, it consumes a lot of server resources, and it is difficult to guarantee the real-time transmission of data streams in situations with large data streams.
<!--[if !supportLists]-->2. <!--[endif]-->UDP:
UDP is an unreliable transmission protocol. It does not need to maintain the connection state and does not think that every data packet must reach the receiving end. Therefore, the network load is smaller than TCP, and the transmission speed is faster than TCP; but the more congested the network, the more likely it is. More packets are lost.
<!--[if !supportLists]-->3. <!--[endif]-->RTMP:
RTMP is a protocol designed for efficient transmission of video, audio and data. It realizes real-time video and sound transmission by establishing a binary TCP connection or connecting an HTTP tunnel.
<!--[if !supportLists]-->4. <!--[endif]-->FFmpeg:
FFmpeg is an open source computer program that can be used to record, convert digital audio and video, and convert them into streams. Adopt LGPL or GPL license. It provides a complete solution for recording, converting, and streaming audio and video.
3. Project construction:
Acquisition terminal
1. VideoCore is currently more well-known
At present, many well-known domestic push streaming frameworks are the secondary development of VideoCore. This framework is mainly written in C++ and supports RTMP streaming, but it is a bit obscure for iOS developers (except those who are proficient in C++). If you want to open source and free, you can choose from several well-known projects VideoCore + GPUImage + GPU-based beauty filters, and use IJKPlayer to modify them.
2. Domestically popular LiveVideoCoreSDK
The framework provides the RTMP streaming of IOS Apple mobile phone. Fill in the RTMP service address, and you can directly push the streaming. After the SDK is downloaded, the simple project configuration can be directly run, and the beauty live broadcast and filter functions are realized. Based on OpenGL, the front and rear cameras can be switched at any time , Provide callback of RTMP connection status.
This framework is one of the earliest push streaming frameworks in China. Many of them are using this SDK. The function is very complete. The author is also quite good. It is very good for learning push streaming collection related content, but it is difficult to integrate into the project (for me Say). In general, this is a very powerful push streaming SDK, almost all written in C++, and the compilation efficiency is very good. If you have the strength, it is recommended to use this framework to do the push end of your own project.
Implementation of the push end
LFLiveKit is used, and the streaming end can choose many open source projects on GitHub to replace LFLiveKit, such as VideoCore and LiveVideoCoreSDK mentioned above. For commercial use, you can choose the SDKs of major manufacturers, Alibaba Cloud and Qiniu, among them, Alibaba Cloud Live Cloud has used it. The advantage of using the live cloud is that the app can be launched quickly, and the functions are very complete. It can be a player, a push end, a set of servers, and professional customer service staff can help integrate it into the project.
Realization of the player
The player uses ijkplayer() optimized for RTMP. ijkplayer is a cross-platform player based on FFmpeg. This open source project has been used by multiple apps. Among them, Inke, Meipai and Douyu use ijkplayer (5700+). We have already packaged the ijkplayer, just drag it into the project and use it. Save the compilation process (compilation is very troublesome and error-prone).
|
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