All Projects → AgoraIO → Agora Miniapp Tutorial

AgoraIO / Agora Miniapp Tutorial

Hello world for Agora SDK running in https://en.wikipedia.org/wiki/WeChat#WeChat_Mini_Program

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Agora Miniapp Tutorial

Crmeb wechatminiprogram
CRMEBv2.6以客户管理为中心+电商营销系统,微信小程序商城,带分销、秒杀、积分、优惠券等功能
Stars: ✭ 158 (+110.67%)
Mutual labels:  wechat-mini-program, wechat, weixin
Weixin Minigame Tutorial
Flappy Bird adaptation on Wechat Minigame using PhaserJS + English Wechat Minigames Tutorial
Stars: ✭ 56 (-25.33%)
Mutual labels:  wechat-mini-program, wechat, weixin
Mina Webpack
🍱 Mina single-file-component meets Webpack
Stars: ✭ 77 (+2.67%)
Mutual labels:  wechat-mini-program, wechat, weixin
Taro
开放式跨端跨框架解决方案,支持使用 React/Vue/Nerv 等框架来开发微信/京东/百度/支付宝/字节跳动/ QQ 小程序/H5/React Native 等应用。 https://taro.zone/
Stars: ✭ 30,230 (+40206.67%)
Mutual labels:  wechat-mini-program, wechat, weixin
Juejin
💰 Unofficial JueJin wechat mini program application - 掘金非官方微信小程序
Stars: ✭ 771 (+928%)
Mutual labels:  wechat-mini-program, wechat, weixin
Wepy Mall
微信小程序--基于wepy 商城(微店)微信小程序 欢迎学习交流
Stars: ✭ 3,224 (+4198.67%)
Mutual labels:  wechat-mini-program, wechat, weixin
Wxapp Webpack Plugin
📦 微信小程序 webpack 插件
Stars: ✭ 185 (+146.67%)
Mutual labels:  wechat-mini-program, wechat, weixin
Taro scaffold
基于 Taro / dva / redux-saga / react 的微信小程序脚手架,同时集成了 sprite 。
Stars: ✭ 24 (-68%)
Mutual labels:  wechat-mini-program, wechat, weixin
Quietweather
☀️ Develop a weather wechat mini program application in two days - 两天撸一个天气应用微信小程序
Stars: ✭ 677 (+802.67%)
Mutual labels:  wechat-mini-program, wechat, weixin
Planmaster
套餐助手:手机套餐对比选购小程序
Stars: ✭ 487 (+549.33%)
Mutual labels:  wechat-mini-program, wechat, weixin
Weixin Java Miniapp Demo
基于Spring Boot 和 WxJava 实现的微信小程序Java后端Demo
Stars: ✭ 779 (+938.67%)
Mutual labels:  wechat-mini-program, wechat, weixin
Tina
💃 一款轻巧的渐进式微信小程序框架
Stars: ✭ 1,153 (+1437.33%)
Mutual labels:  wechat-mini-program, wechat, weixin
Anka Tracker
Miniprogram user behavior tracking library. Supports task queues, automatically suspended and retry strategies.
Stars: ✭ 29 (-61.33%)
Mutual labels:  wechat-mini-program, wechat
Node Tenpay
微信支付 for nodejs
Stars: ✭ 947 (+1162.67%)
Mutual labels:  wechat, weixin
Mpvue Animated Number
微信小程序 mpvue 数字更新滚动动画组件 / An animated number component for mpvue
Stars: ✭ 33 (-56%)
Mutual labels:  wechat-mini-program, wechat
Antmove
小程序转换器,基于支付宝/微信小程序, 轻松地转换成其它平台的小程序。
Stars: ✭ 1,078 (+1337.33%)
Mutual labels:  wechat-mini-program, wechat
Steamcn Mini Program
SteamCN Forum WeChat Mini Program. SteamCN 蒸汽动力论坛微信小程序
Stars: ✭ 54 (-28%)
Mutual labels:  wechat-mini-program, wechat
Dragtodismiss Pangesture
仿微信,微博的大图查看和视频播放 拖拽消失的手势动画。手势单独已抽离出来,可用于任何视图。Simulate Wechat's disappeared gesture animation by dragging when the big picture viewing or video playback . Gestures are separated and can be used in any view
Stars: ✭ 55 (-26.67%)
Mutual labels:  wechat, weixin
Weixin Sdk
微信公众平台和微信支付Python-SDK
Stars: ✭ 20 (-73.33%)
Mutual labels:  wechat, weixin
Wxjava
Wechat-Group/WxJava的备份,有问题请到对应项目下讨论
Stars: ✭ 56 (-25.33%)
Mutual labels:  wechat, weixin

Agora Miniapp Tutorial

其他语言版本:简体中文

Introduction

Built upon the Agora Miniapp SDK, the Agora Miniapp Sample App is an open-source demo that integrates video chat and live broadcast into your Wechat Mini Application.

With this sample app, you can:

  • Integrate the Agora Miniapp SDK
  • Join a channel
  • Push your local stream to the channel
  • Subscribe to remote streams in the same channel
  • Leave a channel

Preparing the Developer Environment

  1. Ensure that you have installed the WeChat Developer Tool.
  2. Ensure that you have a wechat OpenPlatform account that supports live-pusher and live-player. Only certified corporate accounts in certain industry have access to these two components. For details, click here .
  3. Ensure that you have granted access to the following domains in your OpenPlatform account:

Running the App

  1. Create a developer account at Agora.io, create a new project and obtain an App ID, and enable the App Certificate.

  2. Download this project.

  3. Fill in the App ID in config.js in the utils folder of this project:

     const APPID = 'abcdefg'
    
  4. Contact [email protected] to abtain the Agora Miniapp SDK, and rename the SDK to "mini-app-sdk-production.js".

  5. Save the "mini-app-sdk-production.js" under the lib folder of this project.

  6. Start the WeChat Developer Tool and import this project.

  7. Enter a channel name and join a channel. Invite your friend to join in the same channel and you will be able to see each other.

About the Token/Dynamic Key

If you have enabled the App Certificate, you will need to generate the Token/Dynamic Key at the server for authentication purposes. Use it in the following method:

	//...
	client.join(<your key/access token here>, channel, uid, () => {
	//...

See Token or Dynamic Key for generating the Token or Key at the server.

Contact Us

License

The MIT License (MIT).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].