急急急,github下载的小程序demo运行后一直显示加载中,请问如何排查

急急急,github下载的小程序demo运行后一直显示加载中,声网appid已经开通,live-pusher这两个组件也都有了,请问该如何排查??
1.日志没有看到报错,静音、前后摄像头切换都没反应,挂断ok
2019/08/09 10:50:35:943: {“errMsg”:“getSystemInfo:ok”,“model”:“iPhone 5”,“pixelRatio”:2,“windowWidth”:320,“windowHeight”:504,“system”:“iOS 10.0.1”,“language”:“zh”,“version”:“7.0.4”,“screenWidth”:320,“screenHeight”:568,“SDKVersion”:“2.7.7”,“brand”:“devtools”,“fontSizeSetting”:16,“batteryLevel”:100,“statusBarHeight”:20,“safeArea”:{“right”:320,“bottom”:568,“left”:0,“top”:20,“width”:320,“height”:548},“platform”:“devtools”}
VM548:4 Fri Aug 09 2019 10:50:35 GMT+0800 (中国标准时间) sitemap 索引情况提示
VM510:1 根据 sitemap 的规则[0],当前页面 [pages/index/index] 将被索引
console.warn @ VM510:1
(anonymous) @ VM548:6
(anonymous) @ VM548:13
VM550:4 Fri Aug 09 2019 10:50:42 GMT+0800 (中国标准时间) sitemap 索引情况提示
VM510:1 根据 sitemap 的规则[0],当前页面 [pages/meeting/meeting?channel=7777&uid=530829&role=broadcaster] 将被索引
console.warn @ VM510:1
(anonymous) @ VM550:6
(anonymous) @ VM550:13
util.js:59 2019/08/09 10:50:42:642: onLoad
util.js:59 2019/08/09 10:50:42:685: onReady
util.js:59 2019/08/09 10:50:42:695: client init success
util.js:59 2019/08/09 10:50:42:960: [“Fri Aug 09 2019 10:50:42 GMT+0800 (中国标准时间) [INFO]: websocket onopen”]
mini-app-sdk-production.js:1 Fri Aug 09 2019 10:50:42 GMT+0800 (中国标准时间) [INFO]: websocket onopen
util.js:59 2019/08/09 10:50:43:107: client join channel success
util.js:59 2019/08/09 10:50:43:156: client publish success
util.js:59 2019/08/09 10:50:43:156: channel: 7777, uid: 530829
util.js:59 2019/08/09 10:50:43:157: pushing rtmp://120.92.35.95:7237/live/COfEzHLLSfO477psR1TrXEAF0wAM30PT
util.js:59 2019/08/09 10:50:43:157: add media 0 530829 rtmp://120.92.35.95:7237/live/COfEzHLLSfO477psR1TrXEAF0wAM30PT
util.js:59 2019/08/09 10:50:43:158: updating media: [{“key”:1565319043157,“type”:0,“uid”:“530829”,“holding”:false,“url”:“rtmp://120.92.35.95:7237/live/COfEzHLLSfO477psR1TrXEAF0wAM30PT”,“left”:“0.00”,“top”:“0.00”,“width”:“320.00”,“height”:“440.00”}]
util.js:59 2019/08/09 10:50:43:163: pusher url changed from to rtmp://120.92.35.95:7237/live/COfEzHLLSfO477psR1TrXEAF0wAM30PT, path: url
util.js:59 2019/08/09 10:50:43:181: pusher ready
util.js:59 2019/08/09 10:51:13:946: switching camera

2.就是点击静音,显示
VM510:1 thirdScriptError
this.client.muteLocal is not a function; [Component] Event Handler Error @ pages/meeting/meeting#bound onMute
TypeError: this.client.muteLocal is not a function
at ye.onMute (http://127.0.0.1:29199/appservice/pages/meeting/meeting.js:417:19)
at Object.r.safeCallback (WAService.js:1:1035130)
at WAService.js:1:1227197
at r (WAService.js:1:1159525)
at WAService.js:1:1159647
at WAService.js:1:392339
at n (http://127.0.0.1:29199/appservice/appservice?t=1565319034538:1237:27790)
at e.exports. (http://127.0.0.1:29199/appservice/appservice?t=1565319034538:1237:28132)
at http://127.0.0.1:29199/appservice/appservice?t=1565319034538:1237:13287
at Array.forEach ()

看着像是没有导入SDK。muteLocal 是最新版 SDK 才增加的方法,你看下你有没有正确导入?

  1. 下载 Agora Miniapp SDK,并将 SDK 重新命名为 “mini-app-sdk-production.js"
  2. 将更名后的 “mini-app-sdk-production.js” 文件保存在本示例程序的 lib 文件夹下

刚刚升级了最新的SDK,mutelocal没有报错了,但是switch camera还是不行,并且还是显示加载中
2019/08/09 11:22:19:872: onLoad
util.js:59 2019/08/09 11:22:20:484: onReady
util.js:59 2019/08/09 11:22:20:488: client init success
VM305 [VM 48]:1 [2019-08-09 11:22:20:7920]request begin
VM306 [VM 49]:1 [2019-08-09 11:22:20:7950]request begin
VM307 [VM 50]:1 [2019-08-09 11:22:20:7970]request begin
VM308 [VM 0]:1 [2019-08-09 11:22:20:7980]request begin
VM309 [VM 1]:1 [2019-08-09 11:22:20:7990]request begin
VM312 [VM 4]:1 [2019-08-09 11:22:21:2060]request success
VM315 [VM 7]:1 [2019-08-09 11:22:21:3100]request success
VM318 [VM 10]:1 [2019-08-09 11:22:21:3430]request success
VM320 [VM 12]:1 [2019-08-09 11:22:21:3690]request success
VM323 [VM 15]:1 [2019-08-09 11:22:21:6650]request begin
VM324 [VM 16]:1 [2019-08-09 11:22:21:6710]request begin
VM325 [VM 17]:1 [2019-08-09 11:22:21:7310]request success
VM328 [VM 20]:1 [2019-08-09 11:22:21:7510]request begin
VM329 [VM 21]:1 [2019-08-09 11:22:21:7530]request begin
VM331 [VM 23]:1 [2019-08-09 11:22:21:8450]request success
VM333 [VM 25]:1 [2019-08-09 11:22:21:9880]request success
VM337 [VM 29]:1 [2019-08-09 11:22:22:0980]request success
util.js:59 2019/08/09 11:22:22:227: [“Fri Aug 09 2019 11:22:22 GMT+0800 (China Standard Time) [INFO]: websocket onopen”]
mini-app-sdk-production.js:1 Fri Aug 09 2019 11:22:22 GMT+0800 (China Standard Time) [INFO]: websocket onopen
util.js:59 2019/08/09 11:22:22:681: client join channel success
VM341 [VM 33]:1 [2019-08-09 11:22:22:9050]request begin
VM342 [VM 34]:1 [2019-08-09 11:22:22:9740]request success
util.js:59 2019/08/09 11:22:23:147: client publish success
util.js:59 2019/08/09 11:22:23:149: channel: 7777, uid: 559912
util.js:59 2019/08/09 11:22:23:150: pushing rtmp://120.92.45.248:7218/live/IcxgMYTW1JMD92qjCa6VBVVYBMU94bVq
util.js:59 2019/08/09 11:22:23:151: add media 0 559912 rtmp://120.92.45.248:7218/live/IcxgMYTW1JMD92qjCa6VBVVYBMU94bVq
util.js:59 2019/08/09 11:22:23:152: updating media: [{“key”:1565320943151,“type”:0,“uid”:“559912”,“holding”:false,“url”:“rtmp://120.92.45.248:7218/live/IcxgMYTW1JMD92qjCa6VBVVYBMU94bVq”,“left”:“0.00”,“top”:“0.00”,“width”:“375.00”,“height”:“539.00”}]
util.js:59 2019/08/09 11:22:23:157: pusher url changed from to rtmp://120.92.45.248:7218/live/IcxgMYTW1JMD92qjCa6VBVVYBMU94bVq, path: url
VM346 [VM 38]:1 [2019-08-09 11:22:23:3850]request begin
VM348 [VM 40]:1 [2019-08-09 11:22:23:4460]request success
util.js:59 2019/08/09 11:22:23:509: pusher ready
util.js:59 2019/08/09 11:22:29:29: switching camera
meeting.js:407 muteLocal success
VM363 [VM 4]:1 [2019-08-09 11:22:31:3440]request success
VM367 [VM 8]:1 [2019-08-09 11:22:31:6670]request begin
VM369 [VM 10]:1 [2019-08-09 11:22:31:9320]request success
util.js:59 2019/08/09 11:22:35:128: switching camera
util.js:59 2019/08/09 11:22:35:215: switching camera

麻烦帮忙排查下,谢谢~

你看下在 工具 中,有没有开启音视频?
以及 有没有配置好域名?

451bbcd6f14d4ee0a26ac9068a93af7