agoraio / agora-miniapp-tutorial Goto Github PK
View Code? Open in Web Editor NEWHello world for Agora SDK running in https://en.wikipedia.org/wiki/WeChat#WeChat_Mini_Program
Hello world for Agora SDK running in https://en.wikipedia.org/wiki/WeChat#WeChat_Mini_Program
rtc监听 stream-removed事件,回调函数中uid按文档不是个number吗,但实际拿到的是个数组类型
小程序真机调试没问题,但是扫二维码 就不行了,不知道为什么? 就是下载的Demo 就修改了一下Appid 没有开启证书,测试环境,怀疑SDK 有问题了
输入房间名进入meeting界面后会出现该错误“miniapp service is not enabled for this AppID”,我是还没有申请live-plaer和live-pusher这两个的情况下测试,请问有可能是这个原因吗?还是其它原因导致?
双方都进入同一个channel后,语音是通的,但在小程序端视频只能看到一个黑色小窗口,里边显示uid号码,而在app上则只有本地视频,无对方视频。
使用官方demo时,如果从meeting页面使用wx.reLaunch跳转到其他页面后,然后在跳转到meeting页面时发现有用户没订阅到(页面跳转过程中房间里面的用户谁都没有退出),比如原来房间5个人,切换回来时可能只有3个或四个人了,这是什么问题
提供 .d.ts,这样开发更方便些。
您好,没有lib文件夹,sdk的js文件应该放在哪里呢?
sdk版本:v2.4.6
rtm SDK 小程序 报错:
[ appservice 生成错误] lib/rtm-miniapp.js: file: lib/rtm-miniapp.js
lib/rtm-miniapp.js: Unexpected token, expected ( (22:134826)
sdk 为官网下载: agora-rtm-miniapp-1.1.0.js
使用demo 说明 更换了appid 和token 加入频道成功了,但是看不到对方,也听不到任何声音,是为什么
错误信息如下:
["Sat Nov 10 2018 14:27:27 GMT+0800 (**标准时间) [DEBUG]: ", "From choose server", {
"data": {
"reason": "Inner error, request timeout",
"code": 500
},
"statusCode": 200,
"header": {
"Server": "nginx/1.4.6 (Ubuntu)",
"Access-Control-Allow-Origin": "*",
"Connection": "keep-alive",
"Content-Type": "application/json; charset=utf-8",
"Date": "Sat, 10 Nov 2018 06:27:27 GMT",
"X-Powered-By": "Express",
"Content-Length": "52",
"Access-Control-Allow-Headers": "X-Requested-With,content-type",
"Access-Control-Allow-Methods": "GET, POST, OPTIONS, PUT, PATCH, DELETE",
"Etag": "W/\"34-lZwxwkNgNxU5H/3GS68MkyBsamQ\""
},
"errMsg": "request:ok"
}]
["Sat Nov 10 2018 14:27:27 GMT+0800 (**标准时间) [DEBUG]: ", "Report succcess: ", {
"uri": 8001,
"miniappSession": null,
"miniappJoinChooseServer": {
"header": {
"sid": "9F2A3E31C7E8454D8B1FAFD0EF6BA859",
"cname": "1000",
"cid": null,
"lts": 1541831247196,
"ip": null,
"uid": 385882,
"success": false,
"elapse": 10594,
"peer": null
},
"csurl": "https://miniapp-2.agoraio.cn/appcenter/1-1-1/getWorkerManager/",
"ec": "{\"code\":901,\"reason\":\"choose server fail\"}",
"details": "{\"seq\":3}"
},
"miniappConnectWebSocket": null,
"miniappJoin": null,
"miniappPublish": null,
"miniappUnpublish": null,
"miniappSubscribe": null,
"miniappUnsubscribe": null,
"miniappLeave": null,
"miniappServerEvent": null,
"miniappPusherState": null,
"miniappPlayerState": null
}]
当我点击视频切换视图时(大屏变小屏,小屏变大屏),这个时候在其他player看到pusher端的画面就是黑屏,布局使用的是layout.js的这个文件来计算的
订阅远端流只能拿到rtmp协议的流,能否拿到hls协议的纯音频流?
在小程序中使用sdk2.5.5版本,因为要使用特殊格式G711u,我是用2.5.5版本,加入房间所获得的url为空,导致房间一直加入不了,然后采取重连,url还是为空,请问如何解决?
小程序这个demo运行后,没有任何报错,一直显示加载中,请问是什么原因?
除了微信/QQ 小程序外,是否支持其他平台小程序呢?比如 百度/字节/快手 。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.