当前位置:网站首页>A method of realizing video call and interactive live broadcast in small programs
A method of realizing video call and interactive live broadcast in small programs
2022-06-23 08:56:00 【pak】
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 Channel Key, 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 .
边栏推荐
- TDesign update weekly report (the first week of January 2022)
- Hongmeng reads the resource file
- @Response
- Unity grid programming 06
- New engine, new capability, new experience, Tencent host security flagship release
- 528. Random Pick with Weight
- Summary of Arthas vmtool command
- '教练,我想打篮球!' —— 给做系统的同学们准备的 AI 学习系列小册
- Subsets II of leetcode topic analysis
- Flink错误--Caused by: org.apache.calcite.sql.parser.SqlParseException: Encountered “time“
猜你喜欢

6月《中国数据库行业分析报告》发布!智能风起,列存更生

The fourth online workshop review

社区文章|MOSN 构建 Subset 优化思路分享

GeoServer adding mongodb data source

Install a WGet for your win10

In depth interpretation of poca smart contract platform gear: the road to parallel architecture public chain

Le rapport d'analyse de l'industrie chinoise des bases de données a été publié en juin. Le vent intelligent se lève, les colonnes se régénèrent

高通9x07两种启动模式

Object. Defineproperty() and data broker

Geoserver添加mongoDB数据源
随机推荐
523. Continuous Subarray Sum
Only 187 bytes of desktop dream code
5-rotating Daisy - rotating canvas and timer
usb peripheral 驱动 - debug
Flink错误--Caused by: org.apache.calcite.sql.parser.SqlParseException: Encountered “time“
Talk about the implementation principle of @autowired
MQTT+Flink实现实时消息的订阅与发布
New engine, new capability, new experience, Tencent host security flagship release
2022-06-22:golang选择题,以下golang代码输出什么?A:3;B:1;C:4;D:编译失败。
通用分页(1)
测试-- 自动化测试selenium(关于API)
Le rapport d'analyse de l'industrie chinoise des bases de données a été publié en juin. Le vent intelligent se lève, les colonnes se régénèrent
Happy number of leetcode topic analysis
In June, China database industry analysis report was released! Smart wind, train storage and regeneration
Assembly (receive several n-digit decimal values (0~65535) from the keyboard and display their sum in different base numbers.)
How can I handle the "unable to load" exception when easyplayer plays webrtcs?
6、 Web Architecture Design
528. Random Pick with Weight
node request模块cookie使用
Batch generation of code128- C barcode