mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 650|reply: 4
打印 prevThread nextThread

获取群组通话的会议列表

[copyURL]

22

主题

41

帖子

176

积分

member

Rank: 2

积分
176
jumpTo
owner
poston 2021-8-24 09:33 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
1.对于API中,提到的获取会议列表的方法swGetConfList(),跟创建时获取会议列表方法var json = session.swGetConfManager().swGetConfList()中的swGetConfList是同一个吗?具体用法上有什么区别?
http://61.191.27.18:8081/doc/class/jSW.SwConfManager.html
https://61.191.27.18:9443/Demo/conference.html


2.麻烦看下我这写法是哪里不对吗?还是没有总会议列表数据
var confManager = session.swGetConfManager();
console.log('confManager:',confManager);
               
var json = session.swGetConfManager().swGetConfList();
console.log('json:', json);

本帖子中包含更多资源

pls login 才可以下载或查看,没有帐号?registerNow

x
reply

使用道具 report

6

主题

407

帖子

1614

积分

vipMem

Rank: 6Rank: 6

积分
1614
recommend
poston 2021-8-24 10:31 | authorOnly
hw123 post on2021-8-24 10:11
麻烦看下我这写法是哪里不对吗?还是没有总会议列表数据
var confManager = session.swGetConfManager() ...
参考下,下面的代码
  1. var confManager = session.swGetConfManager()
  2. console.log("call conf manager init")
  3. confManager.swInit({callback: (rc) => {
  4.     if(rc == 0){
  5.     console.log("conf manager dispatch init success")
  6.     console.log("call get conf list")
  7.     var json = session.swGetConfManager().swGetConfList();
  8.     console.log('json:', json);
  9. }
  10. }})
copycode

reply agree 1 Against 0

使用道具 report

6

主题

407

帖子

1614

积分

vipMem

Rank: 6Rank: 6

积分
1614
sofa
poston 2021-8-24 09:40 | authorOnly
你好
是同一个
var confManager = session.swGetConfManager()
需要先初始化confManager.swInit,并等待回调过来通知初始化成功,才能调用swGetConfList()
没有初始化,会调用失败
reply agree Against

使用道具 report

22

主题

41

帖子

176

积分

member

Rank: 2

积分
176
bench
 Owner| poston 2021-8-24 10:11 | authorOnly
IBeli post on2021-8-24 09:40
你好
是同一个
var confManager = session.swGetConfManager()

麻烦看下我这写法是哪里不对吗?还是没有总会议列表数据
var confManager = session.swGetConfManager();
console.log('confManager:',confManager);
               
var json = session.swGetConfManager().swGetConfList();
console.log('json:', json);
reply agree Against

使用道具 report

22

主题

41

帖子

176

积分

member

Rank: 2

积分
176
5#
 Owner| poston 2021-8-24 10:39 | authorOnly
IBeli post on2021-8-24 10:31
参考下,下面的代码

已经获取到了 谢谢
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-2 11:24 , Processed in 0.062502 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList