当前位置:网站首页>怎样能在小程序中实现视频通话及互动直播功能?
怎样能在小程序中实现视频通话及互动直播功能?
2022-06-23 03:41:00 【InfoQ】
准备开发环境
- https://miniapp.agoraio.cn
- https://uni-webcollector.agora.io
- wss://miniapp.agoraio.cn
- https://www.finclip.com?channel=infoqseo
- https://miniapp-2.agoraio.cn
- https://miniapp-3.agoraio.cn
- https://miniapp-4.agoraio.cn
运行示例程序
- 在 FinClip 与 Agora.io 注册账号,并创建自己的测试项目,获取 App ID。如需获取 Token 或 Channel Key,请启用 App Certificate
- 下载本页示例程序
- 打开 utils 文件夹,在 config.js 文件中填入获取到的 App ID:
const APPID = 'abcdefg'
- 下载 Agora Miniapp SDK,并将 SDK 重新命名为 “mini-app-sdk-production.js"
- 将更名后的 "mini-app-sdk-production.js" 文件保存在本示例程序的 lib 文件夹下
- 启动微信开发者工具并导入该示例程序
- 输入频道名,加入频道。邀请你的朋友加入同一个频道,就可以开始视频互通了。
边栏推荐
- Customization of openfeign
- 1-1 introduction to VMWare
- [machine learning] wuenda's machine learning assignment ex2 logistic regression matlab implementation
- pyspark,有偿询问数据清洗和上传到数据库的问题
- Tcapulusdb Jun · industry news collection (III)
- Static code block, code block, constructor execution order
- Fetch request details
- 如何处理大体积 XLSX/CSV/TXT 文件?
- [JS reverse hundreds of cases] the login of a HN service network is reverse, and the verification code is null and void
- 电商如何借助小程序发力
猜你喜欢
随机推荐
【LeetCode】翻转链表II
Frequent actions to expand the scale of new energy industry Guangzhou plans to invest 1.4 billion in photovoltaic power generation projects
[leetcode] sum of two numbers II
页面导出excel的三种方式
[tcapulusdb knowledge base] [list table] sample code for inserting data into the specified position in the list
TDesign update weekly report (the second week of January 2022)
Is LinkedList a one-way linked list or a two-way linked list?
[OWT] OWT client native P2P E2E test vs2017 build 3: no test unit comparison, manually generate vs projects
[advanced Android] entrusted by kotlin
【二分】leetcode1011. Capacity To Ship Packages Within D Days
redis 精讲系列介绍八 - 淘汰策略
What if the self incrementing IDs of online MySQL are exhausted?
Which insurance company is the most cost-effective for purchasing serious illness insurance?
1-1VMware介绍
【LeetCode】179. Maximum number
What about the high cost of storage system? The original computer room can save so much money!
选择排序法
【曾书格激光SLAM笔记】Gmapping基于滤波器的SLAM
mysql优化,sql执行非常卡顿,不改变sql结构达到10秒内结束
Parsing the implementation of easygbs compatible token as parameter passing









