当前位置:网站首页>Explore small program audio and video calls and interactive live broadcast from New Oriental live broadcast
Explore small program audio and video calls and interactive live broadcast from New Oriental live broadcast
2022-06-26 05:49:00 【Finbird】
lately , The live broadcast room of New Oriental online is selected to bring goods in bilingual 、 Features such as teaching in fun, etc. quickly come out of the circle . Selected by Dongfang for live broadcast “ Coil powder ” Direct call from ,“ Escaped via 、 Li Jiaqi , But I didn't avoid dongyuhui ”. In recent years , video 、 Live broadcast e-commerce is growing rapidly , The main reason is video 、 The live broadcast content can carry more abundant information than the graphic content 、 Higher user acceptance . As the penetration rate of live broadcast continues to deepen , Already with entertainment 、 Study 、 shopping 、 More and more scenes such as work are integrated together . In the second half of the development of the Internet , With the layout of Internet platform and the development of vertical field application , Live broadcast industry will usher in more diversified application scenarios , The scale of potential users will continue to expand .
In the live broadcasting industry in full swing , More and more enterprises choose to develop their own live broadcasting platform , Or hope in the original app Medium and upper shelves audio and video 、 Live broadcast function . How difficult is it to develop a live broadcast function ?
Live broadcast is difficult : If you want to make the live broadcast from scratch , The technical difficulty is still very high , Because there are many technical difficulties in live broadcasting , video / Audio processing , Graph processing , video / Audio compression ,CDN distribution , Instant messaging and other technologies , Every technology is very professional .
Live broadcast is easy : The good news is that the current giants in various fields , A lot of awesome frameworks have been encapsulated , We just need to use the framework that others have written , Can quickly build a live broadcast app, It's the legendary programming on the shoulders of Daniel .
How can we simply and conveniently build a live broadcast platform ? The following is used by developers in FinClip Applet Examples of video call and interactive live broadcast in :
Prepare the development environment
1、 Please ensure that wechat developer tools have been installed locally
2、 Please make sure there is a support live-pusher and live-player Wechat public platform account of the component . Only certified enterprise accounts in specific industries can use these two components . View details FinClip Document center :https://www.finclip.com/mop/document/develop/component/media.html#live-pusher
3、 Please ensure that in the development and setting of wechat public platform account , Give the following domain name request permission :
https://miniapp.agoraio.cn
https://uni-webcollector.agora.io
wss://miniapp.agoraio.cn
4、 If you use 1.1.2 BETA Later version , You need to add the following additional domain names
https://miniapp-1.agoraio.cn
https://miniapp-2.agoraio.cn
https://miniapp-3.agoraio.cn
https://miniapp-4.agoraio.cn
Run the sample program
- stay FinClip And Agora.io Registered account , And create your own test project , obtain App ID. If you need to get Token or ChannelKey, Please enable App Certificate
- Download the sample program on this page
- open utils Folder , stay config.js Fill the file with the obtained App ID:const APPID = ‘abcdefg’
- download Agora Miniapp SDK, And will SDK Rename as “mini-app-sdk-production.js"
- Will be renamed “mini-app-sdk-production.js” The file is saved in the... Of this sample program lib Under the folder
- Start the wechat developer tool and import the sample program
- Enter channel name , Join the channel . Invite your friends to join the same channel , You can start video exchange .
The network of Native SDK It can communicate with applet directly .
About Token/Dynamic Key
If enabled App Certificate, You also need to generate on the server side Token or Dynamic Key Used for authentication . The generated Token or Dynamic Key Fill in the following methods :
//...
client.join(<your key/access token here>, channel, uid, () => {
//...
About how to generate Token or Dynamic Key See Token or Dynamic Key.
边栏推荐
- Machine learning 05: nonlinear support vector machines
- 电商借助小程序技术发力寻找增长突破口
- 原型模式,咩咩乱叫
- 【PHP】PHP二维数组按照多个字段进行排序
- About abstact and virtual
- Mise en file d'attente des messages en utilisant jedis Listening redis stream
- 睛天霹雳的消息
- 转帖——不要迷失在技术的海洋中
- 423- binary tree (110. balanced binary tree, 257. all paths of binary tree, 100. same tree, 404. sum of left leaves)
- Adapter mode
猜你喜欢
![[C language] deep analysis of data storage in memory](/img/2e/ff0b5326d796b9436f4a10c10cfe22.png)
[C language] deep analysis of data storage in memory

LeetCode_ Binary search tree_ Simple_ 108. convert an ordered array to a binary search tree

使用Jenkins执行TestNg+Selenium+Jsoup自动化测试和生成ExtentReport测试报告

The difference between get and post in small interview questions

There are applications related to web network request API in MATLAB (under update)

Uni app ceiling fixed style

适配器模式

SDN based DDoS attack mitigation

String类学习

Kolla ansible deploy openstack Yoga version
随机推荐
Security problems in wireless networks and modern solutions
Cyclic displacement
新的征程
LeetCode_ Binary search tree_ Simple_ 108. convert an ordered array to a binary search tree
小程序第三方微信授权登录的实现
Bingc (inheritance)
FindControl的源代码
Introduction to lcm32f037 series of MCU chip for motor
Customize WebService as a proxy to solve the problem of Silverlight calling WebService across domains
Using Jenkins to perform testng+selenium+jsup automated tests and generate extendreport test reports
MySQL source code reading (II) login connection debugging
MySQL数据库-01数据库概述
【MYSQL】MySQL 百万级数据量分页查询方法及其优化
Lesson 4 serial port and clock
解决在win10下cmder无法使用find命令
How to use the tablet as the second extended screen of the PC
类和对象的学习
There are applications related to web network request API in MATLAB (under update)
小小面试题之GET和POST的区别
Day3 - variables and operators