Yesterday, we talked about the key content that needs to be prepared before the construction of live broadcasting platform — CDN of streaming media. CDN is an important link in the construction and operation of live broadcasting platform. In addition, they are also needed to build a live broadcast platform through live source code:
Low cloud storage
● Push and private message interface
● SMS verification code
Low bugly
What we will introduce in this article is related to the normal operation of live broadcasting platform and live broadcasting experience.
1. Cloud storage (Using Qiniu Cloud Storage as an example)
1.1 Preparations
● A registered domain name
● A real-name authentication seven niuyun account, account number remember to recharge 100 yuan
1.2 Commissioning Process
1.2.1 Open the web page and log in to Qiniuyun. The interface is as follows:
1.2.2 Click Object Storage, and then click “Add Now” to enter the following operation interface. Fill in the name of storage control phonelive, select a region based on your requirements, and select public space for access control
1.2.3 Then add the Qiniuyun CDN domain name, and refer to the official operation process for binding the domain name
1.2.4 Click the profile picture in the upper right corner to enter the personal center, select key management, and then copy and paste AK and SK in key management for reserve, which will be used in formal construction. By this end, seven Niuyun storage is completed
Here we take “Aurora push” to make a simple introduction, this part of the registration application process is relatively simple, there will be detailed registration operation guide on the website of relevant service providers
2.1 Register an account, log in to the aurora home page, click “Register” in the upper right corner to apply for an account, fill in the user name, email address and password, click next to complete the registration, and verify login via email after registration
2.2 Creating an Application
2.2.1 Click user’s personal center on the home page of Aurora Push and enter the console to create an application from the drop-down menu
2.2.2 Configuration Fill in the platform information and submit it
Step1: basic information: enter the application name (mandatory) and upload an icon; Configure android platform information: fill in the application package name, JPush system will generate push Android application Demo based on the package name you input in the background, the Demo contains the configuration information;
Step2: configure iOS platform information. Upload the push certificate of the related environment and fill in the password matching the certificate.
2.3 After the configuration, view the application information as follows:
2.4 Go back to the home page, re-enter the console, and select App — Push
2.5 Filling in a Push Message This section takes sending a notification as an example. You can also customize a message. A dialog box is displayed asking you whether to send a notification
2.6 After the test is successful, keep the account password and uploaded certificate, and access it when building and deploying the livestreaming app
3. SMS interface application (Taking Huyi Wireless as an example)
3.1 To register an account, open the official website of Huyi Wireless, click on the upper right corner to register and enter the registration information
3.2 Obtaining the Key, log in to the background after registration, and record the APIID and APIKEY
4. Open Bugly
4.1 Register an account, open the official website of Bugly, log in directly using QQ, and then create an application
4.2 Creating an iOS application, fill in the following items and save the Settings
4.3 Create an Android application, fill in the product name, platform (Android), type software, fill in the product description, and click Save
4.4 Obtain the Key. Click the created application to enter the application configuration interface
4.5 Make a Note of the App ID and Key, which will be used in the encapsulation of the App
At this point, the content that needs to be prepared before the construction of the live broadcast platform is basically completed. We will continue to share more dry content in the development and construction of the live broadcast system.