1. If users want to watch live broadcast, they have to go to the server for streaming. What is streaming? When you open the video website and click on the video, the time between clicking on the video and opening the video is when your client requests streaming to the server. What should be paid attention to in this step is the opening time of the first screen. The shorter the opening time, the more likely the audience will be left behind. 2. If there is coding, there will be decoding. Android adaptation problems will occur when coding, and this problem will also occur when decoding. 3, the rendering link can be handed over to the mobile phone, after playing the user can watch.

Live source of live broadcast system server deployment key system source code consists of which a few pieces of live video of the process in general can be divided into before the acquisition, processing, coding, transmission, decoding, rendering this a few link, after a few rings, live video of the process in general can be divided into before the acquisition, processing, coding, transmission, decoding, rendering this a few link, after this several parts, We can watch live video through PC or mobile terminal. Multiple business servers will be used in the construction of the live broadcast system to jointly complete the business logic process of the live broadcast system. 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: mobile phone live broadcast business, friend relationship, live broadcast management, currency system, gift system, etc.

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

(4) IM instant chat: Use Node.js service to independently build and deploy the chat server.

(5) Video streaming (streaming media server) : It is recommended to use a third-party CDN, which can be used after opening an account. As for the content of CDN, we will focus on it in the future.

(6) Business server: the website logic is based on PHP-TlinkPHP, ThinkCMF, mysql and Redis. The MYSQL service provides static data storage, while the REDIS service provides data caching and dynamic data storage.