First, mobile phone short video system source development mainly has the following four steps:

Front-end acquisition and coding equipment: provides the acquisition and coding compression functions of signal sources, and pushes the signals to the streaming media server.

Streaming media server: Responsible for publishing and rebroadcast distribution functions.

WEB server: short video is displayed on the terminal.

Terminal devices include PCS and mobile terminals. Coding and protocol are important steps to realize live broadcast:

1. Real Time Streaming Protocol (RTSP) is a multimedia Streaming Protocol used to control voice or image. B. Real Time Messaging Protocol (RTMP); C. HTTP Live Streaming (HLS) HTTP – based media transmission protocol.

2. Video coding: Mpeg4, H264, etc

3, audio coding: Mp3, AAC, etc

4, video resolution: STANDARD definition usually refers to 640×480 (or 768×480); Hd means 1280×720; Full HD means 1920 by 1080; Ultra hd 3840×2160.

Second, the development framework

System: Linux Database: mysql

Android side: Java language, using Android Studio development

IOS: Use OC language and Xcode tool for development

Front end: native, no frame

Background: USING PHP language, based on TP framework.

Three, short video system source building server deployment focus

The process of short video can be divided into acquisition, pre-processing, coding, transmission, decoding and rendering. After these steps, we can watch short video through PC or mobile terminal.

The short video system will use multiple business servers to complete the business logic process of the system together. Usually, dynamic and static separation distributed deployment is adopted in server deployment, which ensures the stable operation of live broadcast platform. The following service servers are used.

1) Message server: mainly used for message push, pushing room chat messages and private messages to users.

2) Business server: business part of mobile live broadcast, friend relationship, live broadcast management, currency system, gift system, etc.

3) Video server: video live broadcasting, vod, transcoding, storage and voD, etc.

Four, short video software development and demand docking

Product design, code implementation, BAI test and BUG repair steps, through the understanding of product managers to the requirements of the product architecture design, organization of software module functions to build the software architecture, in the development process, there are several points to consider in advance.

1, low latency to do short video experience, in the short video broadcast will be used when the software development RTMP streaming media transmission protocol, so as to ensure smooth live BuKa, can better reduce the distance between the host and the user, if because live caton various communication inconvenience caused, even if in the wonderful content in the beauty of the host can attract users.

2, the CDN is a content delivery network, main effect is to live to accelerate, there are a lot of domestic CDN tripartite service provider, set up a short video of friends can be to choose from, however, some short video source is only support a CDN, so everyone in the choice of short video system is to pay attention to whether consulting the system support arbitrary CDN.

3. Server problems. As the number of users of the short video platform increases, more and more servers are required for the operation of the platform.

4, Alipay, wechat pay, MAP QQ/ wechat login sharing, private message push and other three-party services, are bound to be used, because the short video software development will design many services, and the development is very difficult, and the three-party service root can adapt to the user’s operation habits.