Basic elements to build a free webcast live system
With the popularity of mobile Internet and the popularity of webcast, everyone can show on webcasting room. You can use a mobile APP to do webcast, or you can use PC-side software to do webcasting. Mobile phone apps are usually platform-bound so live stream by your mobile phone can only be published on the platform which the APP is bound. you cannot build your own webcast platform. how to build our own live broadcast platform?
Three following modules are required for webcast according to our past experience in video and audio transmission area.
Three modules are required for webcast, as follows:
1. Front-end H.264 H.265 encoder and streaming software
It is used to collect, encode and transmit audio and video signals. It is the source of live video. Content cannot be produced without the front-end encoder and software. At present, the front-end encoder pushes streaming by H264 or H.265 compression encoding methods for video. Audio uses AAC compression. Steaming network protocol uses RTMP.
2. Streaming media forwarding server
It is used to receive the live media stream encoded by the front-end encoder and forward it through the network. The player of the final audience communicates with the streaming media server, and the streaming media server provides the live broadcast service to the user.
3. Live broadcast management platform
It is used to manage application functions such as live channels, user information, interaction and logs. Users can query channels, log in through the functions provided by this module, and receive live broadcasts through browsers.
The above three modules are indispensable when doing live broadcasting. Now we simply list the software that we has used (only free software, and the paid software is temporarily not focused or ignored).
1. Front-end coding and streaming software
1)Flash Media Live Encoder 3.2
Produced by the well-known Adobe company, it is trustworthy. Adobe has stopped updating for a long time. The era is relatively old, but it is still a good encoder software.
Website: http://www.adobe.com
2) Open Broadcaster Software
Open source and free live broadcast software is currently very popular live broadcast software. It is used in many game live broadcasts, such as betta live broadcast, and many people in China have changed it to another look.
Website: http://www.obsproject.com
2. the streaming media forwarding server
1) Adobe Media Server 4.5
The professional live broadcast server developed by Adobe is not open source and free. But with the help of the Internet, you can find a solution yourself, you know. I used to use this software as a live broadcast server.
2) Red5
The open source and free live broadcast system, developed in Java, can be ported to any platform, but requires the installation of a Java virtual machine.
3) Nginx RTMP Module
The Nginx add-on module developed by the fighting ethnic Russian has powerful functions and superior performance, but unfortunately it can only be used under Linux, which is still a bit inconvenient to use.
4) CRtmpServer
The open source and free live broadcast server software has excellent performance and needs to be compiled under Linux.
3. Live broadcast management platform
1) It must support H264 encoding and MP3 or AAC encoding.
H264: Also known as AVC (Advanced Video Coding), it is the current preferred coding standard for mobile terminals.
MP3: It is an audio coding standard, everyone is familiar with it, not much to say.
AAC: Advanced audio coding, better than MP3 sound quality, is the first choice for live broadcast, it has AAC-LC and HE-AAC connected grades, AAC-LC is the ground complexity AAC, good compatibility, HE-AAC is High-performance AAC, high compression, and sound quality equivalent to AAC-LC.
2) Support RTMP push streaming
RTMP: Short for Real Time Messaging Protocol, developed by Adobe. Although it has not become an international standard, it is the de facto industry standard. No matter which company, as long as it is live broadcast, it has to be used. Today ’s mobile live broadcast apps push streaming The protocols used are all RTMP protocols.