mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 1461|reply: 4

获取群组通话的会议列表

[copyURL]

22

主题

41

帖子

176

积分

member

Rank: 2

积分
176
poston 2021-8-24 09:33 | 显示全部楼层 |阅读模式
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

主题

441

帖子

1732

积分

vipMem

Rank: 6Rank: 6

积分
1732
poston 2021-8-24 10:31 | 显示全部楼层
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

主题

441

帖子

1732

积分

vipMem

Rank: 6Rank: 6

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

使用道具 report

22

主题

41

帖子

176

积分

member

Rank: 2

积分
176
 Owner| poston 2021-8-24 10:11 | 显示全部楼层
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
 Owner| poston 2021-8-24 10:39 | 显示全部楼层
IBeli post on2021-8-24 10:31
参考下,下面的代码

已经获取到了 谢谢
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2025-3-23 12:09 , Processed in 0.068369 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList