mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
Owner: dw11111
打印 prevThread nextThread

升级之后,原来的多人对讲不能使用

[copyURL]

2

主题

98

帖子

394

积分

midMem

Rank: 3Rank: 3

积分
394
21#
poston 2019-10-12 14:17 | authorOnly
dw11111 post on2019-10-12 13:45
是所有的访问都要使用9443的端口还是仅仅多人对讲的部分使用9443端口啊?

非插件的多人对讲是需要浏览器开启麦克风权限,在chrome 浏览器上,要获取麦克风权限就必须通过https 方式访问网站。
reply agree Against

使用道具 report

6

主题

38

帖子

130

积分

member

Rank: 2

积分
130
22#
 Owner| poston 2019-10-12 14:19 | authorOnly
确实是使用了https协议,但是还是不行,就是上面的错误
reply agree Against

使用道具 report

6

主题

38

帖子

130

积分

member

Rank: 2

积分
130
23#
 Owner| poston 2019-10-12 14:23 | authorOnly
就是对讲这里  使用了https的协议,报错了 就是上面的图片错误
reply agree Against

使用道具 report

6

主题

38

帖子

130

积分

member

Rank: 2

积分
130
24#
 Owner| poston 2019-10-12 14:37 | authorOnly
现在出现新的问题了,平台说话设备听不到,两个设备只有第一次可以对讲,之后就发言状态就变为admin了
reply agree Against

使用道具 report

2

主题

98

帖子

394

积分

midMem

Rank: 3Rank: 3

积分
394
25#
poston 2019-10-12 14:46 | authorOnly
dw11111 post on2019-10-12 14:37
现在出现新的问题了,平台说话设备听不到,两个设备只有第一次可以对讲,之后就发言状态就变为admin了

报错问题您可以查看一下Demo 的示例代码,http://120.79.160.104:8081/doc/demo/conference.html,可能是少写了一个session.【swGetConfManager()】.swGetConfByConfId(...id) 。

reply agree Against

使用道具 report

6

主题

38

帖子

130

积分

member

Rank: 2

积分
130
26#
 Owner| poston 2019-10-12 14:58 | authorOnly
//打开集群会议
        function addonlineuser(userPU, confId) {
            var selecdUs = [];
            var conf = session.swGetConfManager().swGetConfByConfId(confId);
            conf.swGetOnlineUsers({//获取加入群组的用户
                callback: function (sender, reponse, json) {
                    console.warn("json:" + JSON.stringify(json));
                    //获取选取人员
                    if (reponse.emms.code == jSW.RcCode.RC_CODE_S_OK) {
                        for (var i = 0; i < json.length; i++) {
                            if (json[i].name != "admin") {
                                for(let index in userPU) {
                                    console.warn("IM:" + JSON.stringify(userPU[index].IM));
                                    if ("PU_" + userPU[index].IM == json[i].id) {
                                        selecdUs.push(json[i]);
                                    }
                                };
                            }
                        }
                        console.warn("加入群组人员:" + JSON.stringify(selecdUs.id));
                        conf.swParticipatorAdd({
                            users: selecdUs,
                            callback: function (sender, event, json) {
                                if (event.emms.code == jSW.RcCode.RC_CODE_S_OK) {
                                    console.warn("添加成功");
                                    //开始会议
                                    conf.swConfStart({
                                        callback: function (sender, event, json) {
                                            if (event.emms.code == jSW.RcCode.RC_CODE_S_OK) {
                                                console.warn("打开会议成功");
                                                //管理人发言
                                                setTimeout(function () {
                                                    conf.swApplyForSpeak({
                                                        callback: function (sender, event, json) {
                                                            if (event.emms.code == jSW.RcCode.RC_CODE_S_OK) {
                                                                console.warn("PC端发言");
                                                            } else {
                                                                console.warn("PC端失败");
                                                            }
                                                        }
                                                    });
                                                }, 500)
                                            }
                                        }
                                    });


                                }
                            }
                        });


                    }
                }
            });
        }
reply agree Against

使用道具 report

6

主题

38

帖子

130

积分

member

Rank: 2

积分
130
27#
 Owner| poston 2019-10-12 14:58 | authorOnly
没有少写吧
reply agree Against

使用道具 report

2

主题

98

帖子

394

积分

midMem

Rank: 3Rank: 3

积分
394
28#
poston 2019-10-12 15:34 | authorOnly

方便提供一下网站的登录账号密码吗,我看一下具体代码
reply agree Against

使用道具 report

6

主题

38

帖子

130

积分

member

Rank: 2

积分
130
29#
 Owner| poston 2019-10-12 16:46 | authorOnly
reply agree Against

使用道具 report

60

主题

1413

帖子

5797

积分

Moderator

Rank: 7Rank: 7Rank: 7

积分
5797
30#
poston 2019-10-12 17:52 | authorOnly
你们Https访问的URL是啥?
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-4-25 05:01 , Processed in 0.067385 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList