mobile CCTV,mobile surveillance,police body worn cameras

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

CUSDK调用结束录像返回成功,但执法仪仍持续录像

[copyURL]

17

主题

50

帖子

243

积分

midMem

Rank: 3Rank: 3

积分
243
jumpTo
owner
poston 2019-8-16 10:13 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
你好,我们通过CUSDK进行二次开发时遇到问题:调用结束录像接口时,返回操作成功,但执法仪端未能停止,仍在继续录像,请帮忙看一下
以下代码是参考 libBVCU_G1A_20180604_0920.rar 中 "\demo\WinFormDemo\AppAdapter\Dialog.cs" 其他接口实现的:




注:并不是每次调用都出现此情况,多数情况下此接口是可以正常工作的。

本帖子中包含更多资源

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

x
reply

使用道具 report

13

主题

373

帖子

2023

积分

vipMem

Rank: 6Rank: 6

积分
2023
sofa
poston 2019-8-16 10:16 | authorOnly
晕,大江啊,那你们要找一下规律,我们才好定位,
你这偶然性的问题,我们没办法测试定位啊。
reply agree Against

使用道具 report

17

主题

50

帖子

243

积分

midMem

Rank: 3Rank: 3

积分
243
bench
 Owner| poston 2019-8-16 10:24 | authorOnly
暂时没发现任何规律。。
能帮忙看一下上面贴的代码是否合理吗?
另 有没有办法确认 调用接口的数据正常传递给服务器了?
reply agree Against

使用道具 report

13

主题

373

帖子

2023

积分

vipMem

Rank: 6Rank: 6

积分
2023
ground
poston 2019-8-16 10:27 | authorOnly
此外,CUSDK我们有更新,在网盘,
https://share.weiyun.com/55EkBv1
SDK目录下。
libBVCU_G1A_20190708_1530.zip
reply agree Against

使用道具 report

1

主题

580

帖子

2001

积分

vipMem

Rank: 6Rank: 6

积分
2001
5#
poston 2019-8-16 10:36 | authorOnly
您好,命令的执行结果是设备端代码决定的。
这里BVCU_PUCFG_ManualRecord的参数字段最好都赋上有意义的值。
结束录像时,iLength设置为0。
reply agree Against

使用道具 report

12

主题

52

帖子

174

积分

member

Rank: 2

积分
174
6#
poston 2019-8-16 14:20 | authorOnly
现在问题是:1.开始录像 2.结束录像 这两种情况下都有失败的情况;现象如下
我方调用接口后,接口程序返回成功;但是执法仪没有任何反应;
问题:接口返回成功的依据是什么?是根据执法仪开始录像或结束录像的状态返回的?还是根据接收到接口数据后返回的?
reply agree Against

使用道具 report

1

主题

580

帖子

2001

积分

vipMem

Rank: 6Rank: 6

积分
2001
7#
poston 2019-8-16 14:39 | authorOnly
abc post on2019-8-16 14:20
现在问题是:1.开始录像 2.结束录像 这两种情况下都有失败的情况;现象如下
我方调用接口后,接口程序返回 ...

您好,接口返回成功的依据是命令成功的发送了出去,设备是否接收到,设备是否回复成功,是在命令的回调中通知命令最终执行状态。
reply agree Against

使用道具 report

12

主题

52

帖子

174

积分

member

Rank: 2

积分
174
8#
poston 2019-8-16 15:10 | authorOnly
c:\lx.png
reply agree Against

使用道具 report

12

主题

52

帖子

174

积分

member

Rank: 2

积分
174
9#
poston 2019-8-16 15:15 | authorOnly
[DllImport("ManagedLayer.dll", CallingConvention = CallingConvention.Cdecl)]
                public static extern int ManagedLayer_PuManualRemoteRecord(IntPtr handle, IntPtr hSession, Byte[] puId,
            int deviceIdx, ref BVCU_PUCFG_ManualRecord recordParam);
这个吗?
reply agree Against

使用道具 report

12

主题

52

帖子

174

积分

member

Rank: 2

积分
174
10#
poston 2019-8-16 15:20 | authorOnly
fanghj90 post on2019-8-16 14:39
您好,接口返回成功的依据是命令成功的发送了出去,设备是否接收到,设备是否回复成功,是在命令的回调中 ...

哪个方法回调?能否明确说明一下
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-4-24 15:12 , Processed in 0.063479 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList