mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
12NextPage
backToList newPost
view: 2072|reply: 12
打印 prevThread nextThread

web二次开发对讲功能

[copyURL]

8

主题

17

帖子

62

积分

member

Rank: 2

积分
62
jumpTo
owner
poston 2018-9-30 16:38 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
通过
swOpenIntercom(param:OptionsOpenIntercom)jSW.RcCode打开对讲
接口打开对讲,打开方式:
var chanel = session.swGetPuChanel(id, 0);
chanel.swOpenIntercom({
                                        isSendAudio: true,
                                        isRecvAudio: false,
                                        callback:function (sender,response) {
                                                console.log(2);
                                                if(response.emms.code === 0) {
                                                        alert("可以开始喊话了~")
                                                }
                                        }
                                })


但是并没有任何反应,callback里面的内容也没有任何反应console中的2并没有打印出来

使用官方提供的对讲案例也音频发送也没有任何反应,这是什么情况?(确定当前浏览器模式为插件模式)

reply

使用道具 report

10

主题

531

帖子

2437

积分

admin

Rank: 9Rank: 9Rank: 9

积分
2437
sofa
poston 2018-9-30 18:27 | authorOnly
确定是OCX模式吧?
reply agree Against

使用道具 report

8

主题

17

帖子

62

积分

member

Rank: 2

积分
62
bench
 Owner| poston 2018-9-30 18:30 | authorOnly
admin post on2018-9-30 18:27
确定是OCX模式吧?

确定是OCX模式
reply agree Against

使用道具 report

13

主题

373

帖子

2023

积分

vipMem

Rank: 6Rank: 6

积分
2023
ground
poston 2018-9-30 19:21 | authorOnly
是自建服务器的吗?用我们的61.191.27.18服务器测试对比下
reply agree Against

使用道具 report

8

主题

17

帖子

62

积分

member

Rank: 2

积分
62
5#
 Owner| poston 2018-10-8 10:47 | authorOnly
hardfire post on2018-9-30 19:21
是自建服务器的吗?用我们的61.191.27.18服务器测试对比下

是自建服务器,你们提供的61.191.27.18服务器测试登录不上去,报错为:登录结果序列化失败:服务器也许不在线
login fail 20115
internal error: logincmd: login fail 20115
reply agree Against

使用道具 report

0

主题

6

帖子

66

积分

member

Rank: 2

积分
66
6#
poston 2018-10-8 13:24 | authorOnly
可以先在客户端上登陆61的服务器,如果显示连接失败,说明是服务器的原因。
解决:1.修改网关,2.更新插件 3.重新登陆
reply agree Against

使用道具 report

6

主题

409

帖子

1622

积分

vipMem

Rank: 6Rank: 6

积分
1622
7#
poston 2018-10-8 14:19 | authorOnly
masque post on2018-10-8 10:47
是自建服务器,你们提供的61.191.27.18服务器测试登录不上去,报错为:登录结果序列化失败:服务器也许不 ...

1、20115是登录用户名密码有问题
2、我们的WebSdk自带有对讲的测试样例

可以用这个来测试

本帖子中包含更多资源

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

x
reply agree Against

使用道具 report

8

主题

17

帖子

62

积分

member

Rank: 2

积分
62
8#
 Owner| poston 2018-10-8 14:29 | authorOnly
aisling post on2018-10-8 13:24
可以先在客户端上登陆61的服务器,如果显示连接失败,说明是服务器的原因。
解决:1.修改网关,2.更新插件 ...

客户端用61也是显示连接失败哈
reply agree Against

使用道具 report

13

主题

373

帖子

2023

积分

vipMem

Rank: 6Rank: 6

积分
2023
9#
poston 2018-10-8 14:37 | authorOnly
reply agree Against

使用道具 report

8

主题

17

帖子

62

积分

member

Rank: 2

积分
62
10#
 Owner| poston 2018-10-8 14:37 | authorOnly
IBeli post on2018-10-8 14:19
1、20115是登录用户名密码有问题
2、我们的WebSdk自带有对讲的测试样例

可以登录了,但是对讲demo中,设备ID使用我们自己的设备ID(设备ID在线状态!!)
登录成功!但是点击打开video报这个错

本帖子中包含更多资源

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

x
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-6-13 16:35 , Processed in 0.066409 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList