mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
Owner: fanghj90
打印 prevThread nextThread

Web 二次开发支持(请勿回帖,另起新帖)

 关闭 [copyURL]

0

主题

9

帖子

28

积分

newBie

Rank: 1

积分
28
161#
poston 2019-6-12 16:21 | authorOnly
taoyane post on2019-6-12 15:55
您好,导致这个问题的原因,是由于(IE)浏览器自带的websocket的限制(Chrome没有这个限制),我们也做 ...

我查了下IE对websocket链接数有限制,插件版是不是装上插件后这样启用呢?
  1. window.onload = function () {
  2.             jSW.swInit({
  3.                 bocxws:true,
  4.                 url: "http://192.168.6.114:8081", // bv_nginx.exe服务器地址
  5.                 calltype: jSW.CallProtoType.OCX, // AUTO: IE优先使用OCX, 如果希望IE仍然使用HTTP通信, 请使用jSW.CallProtoType.HTTP
  6.             });
  7.         }
  8.         window.onbeforeunload = function () {
  9.             jSW.swDeInit();
  10.         }
copycode
reply agree Against

使用道具 report

0

主题

9

帖子

28

积分

newBie

Rank: 1

积分
28
162#
poston 2019-6-12 17:43 | authorOnly
fanghj90 post on2019-6-12 15:48
是ocx方式吗?使用的webapi是哪个版本?

是OCX方式,api是最新版本的
reply agree Against

使用道具 report

0

主题

22

帖子

88

积分

member

Rank: 2

积分
88
163#
poston 2019-6-12 17:45 | authorOnly
danqizhang post on2019-6-12 16:21
我查了下IE对websocket链接数有限制,插件版是不是装上插件后这样启用呢?

JSW初始化调用OCX方式的websocket是这样的:
  1. var initCfgParams = {
  2.   bocxws: true //使用ocx实现的websocket
  3. };
  4. var rc = jSW.swInit({
  5.    url: “http://192.168.6.100:8080“,
  6.    calltype: jSW.CallProtoType.HTTP,
  7.    config: initCfgParams,
  8.    oninit: onInitHasResult
  9. }); //初始化库的立即返回值
copycode
reply agree Against

使用道具 report

0

主题

9

帖子

28

积分

newBie

Rank: 1

积分
28
164#
poston 2019-6-12 17:52 | authorOnly
taoyane post on2019-6-12 17:45
JSW初始化调用OCX方式的websocket是这样的:

好的,那插件实在网盘里吗?我没找到....
reply agree Against

使用道具 report

10

主题

531

帖子

2437

积分

admin

Rank: 9Rank: 9Rank: 9

积分
2437
165#
poston 2019-6-12 17:57 | authorOnly
WEB SDK, 在网盘 smarteye_server ---> server_plugin ---> WEB_API目录下,webAPI_nginx_2019_mmdd_hhmm.exe
reply agree Against

使用道具 report

0

主题

9

帖子

28

积分

newBie

Rank: 1

积分
28
166#
poston 2019-6-12 18:05 | authorOnly
admin post on2019-6-12 17:57
WEB SDK, 在网盘 smarteye_server ---> server_plugin ---> WEB_API目录下,webAPI_nginx_2019_mmdd_hhmm. ...

这个不是服务器端的服务吗?ControlCenter控制中心,怎么是webSocket的插件版呢?
reply agree Against

使用道具 report

0

主题

2

帖子

16

积分

newBie

Rank: 1

积分
16
167#
poston 2019-8-8 17:03 | authorOnly
请问OCX模式只能在IE使用?OCX模式下实时视频、对讲、视频回放没有声音或者声音很小,怎么回事呢?
reply agree Against

使用道具 report

10

主题

531

帖子

2437

积分

admin

Rank: 9Rank: 9Rank: 9

积分
2437
168#
poston 2019-8-8 17:37 | authorOnly
那是设备的问题,用C/S软件做对比排查问题。
reply agree Against

使用道具 report

0

主题

2

帖子

16

积分

newBie

Rank: 1

积分
16
169#
poston 2019-8-13 15:30 | authorOnly
admin post on2019-8-8 17:37
那是设备的问题,用C/S软件做对比排查问题。

C/S软件也是如此,是设备SDK的原因吗?
reply agree Against

使用道具 report

10

主题

531

帖子

2437

积分

admin

Rank: 9Rank: 9Rank: 9

积分
2437
170#
poston 2019-8-13 21:39 | authorOnly
那就是硬件的问题。
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-19 02:01 , Processed in 0.062500 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList