mobile CCTV,mobile surveillance,police body worn cameras

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

使用bvcu报错,错误码65529请问是什么原因

[copyURL]

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
jumpTo
owner
poston 2023-4-16 18:26 | authorOnly 回帖奖励 |viewing |阅读模式
平台版本:SmartEye-E
使用语言C++

现象:使用bvcu打开pu视频时,提示打开视频失败,错误码:65529;但使用smarteye-d是正常的

请问可能是什么原因导致?
reply

使用道具 report

60

主题

1417

帖子

5827

积分

Moderator

Rank: 7Rank: 7Rank: 7

积分
5827
16#
poston 2023-4-21 10:21 | authorOnly
不要用老软件了,用我们新一代软件吧。
基于webRTC构建的新一代视频融合可视指挥调度平台smarteye server-E WEB SDK restful接口文档,https://smarteye.besovideo.com/doc/
demo:https://github.com/besovideo/ewebdemo
npm包:https://www.npmjs.com/package/@besovideo/webrtc-player
接口文档: https://smarteye.besovideo.com/doc/bvcspapi/index.html
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
15#
 Owner| poston 2023-4-19 22:43 | authorOnly
huixing post on2023-4-17 18:33
我在smarteye监视器和Web端的demo上看是可以的。版本是v0.0.9

之前对接D版本是按照如下流程:

if (!BVCU_Result_SUCCEEDED(m_loginStatus)){
                return BVCU_RESULT_E_FAILED;
        }

        MPUChannelInfo puInfo;
        ZeroMemory(&puInfo, sizeof(puInfo));
        if (strcmp(type, "data") == 0){
                int result = m_data.GetPu(puId, &puInfo);
                if (BVCU_Result_FAILED(result))
                {
                        wchar_t buf[128];
                        wsprintf(buf, _T("m_data.GetPu result:%d \r\n"), result);
                        OutputDebugStringW(buf);
                        return result;
                }
        }
        else if (strcmp(type, "4G") == 0){
                int result = m_data.Get4GPu(puId, &puInfo);
                if (BVCU_Result_FAILED(result))
                {
                        wchar_t buf[128];
                        wsprintf(buf, _T("m_data.Get4GPu result:%d \r\n"), result);
                        OutputDebugStringW(buf);
                        return result;
                }
        }
        OpenInfo openInfo;
        ZeroMemory(&openInfo, sizeof(openInfo));
        openInfo.wnd = hwnd;
        strncpy_s(openInfo.sPUID, BVCU_MAX_ID_LEN + 1, puInfo.szPUID, _TRUNCATE);

        RECT rect;
        bool res = ::GetWindowRect(hwnd, &rect);       
        BVCU_Display_Rect dispRect;
        dispRect.iBottom = rect.bottom;
        dispRect.iLeft = rect.left;
        dispRect.iRight = rect.right;
        dispRect.iTop = rect.top;

        // 查找video或者4G模块的通道号
        if (strcmp(puInfo.pChannel[0].szName, "video") == 0 || strcmp(puInfo.pChannel[0].szName, "channel1") == 0)
        {
                for (int i = 0; i < puInfo.iChannelCount; i++){
                        //
                        // 10 代表单向视频回传
                        int result = CMLibBVCU::Browse(&openInfo.pDialog, puId, puInfo.pChannel.iChannelIndex, 10, hwnd, &dispRect);
                        if (BVCU_Result_SUCCEEDED(result)){
                                // 管理起来
                                m_openList.push_back(openInfo);
                        }
                        wchar_t buf[128];
                        wsprintf(buf, _T("CMLibBVCU::Browse result:%d \r\n"), result);
                        OutputDebugStringW(buf);
                        return result;
                }
        }
        else if (strcmp(Utf8ToGbk(puInfo.pChannel[0].szName).c_str(), "通道1") == 0){
                for (int i = 0; i < puInfo.iChannelCount; i++){
                        //
                        // 8 代表单向音频回传
                        int result = CMLibBVCU::Browse(&openInfo.pDialog, puId, puInfo.pChannel.iChannelIndex, 8, hwnd, &dispRect);
                        if (BVCU_Result_SUCCEEDED(result)){
                                // 管理起来
                                m_openList.push_back(openInfo);
                        }
                        wchar_t buf[128];
                        wsprintf(buf, _T("CMLibBVCU::Browse result:%d \r\n"), result);
                        OutputDebugStringW(buf);
                        return result;
                }
        }
        return BVCU_RESULT_E_FAILED;

看最新SDK好像有点区别,能否指点一下?
reply agree Against

使用道具 report

3

主题

342

帖子

1797

积分

vipMem

Rank: 6Rank: 6

积分
1797
14#
poston 2023-4-17 21:34 | authorOnly
网盘里面有最新的安装包,试试。
客户自建smarteye server 私有化部署,完全自己可控,新版server-E(内含软件下载网盘地址): https://www.besovideo.com/detail?t=1&i=208
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
13#
 Owner| poston 2023-4-17 18:56 | authorOnly
张云威 post on2023-4-17 18:26
E版本服务器使用的什么版本,发一下

版本是 v0.0.9
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
12#
 Owner| poston 2023-4-17 18:37 | authorOnly
张云威 post on2023-4-17 18:26
E版本服务器使用的什么版本,发一下

版本是v0.0.9
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
11#
 Owner| poston 2023-4-17 18:34 | authorOnly
张云威 post on2023-4-17 18:26
E版本服务器使用的什么版本,发一下

版本是v0.0.9
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
10#
 Owner| poston 2023-4-17 18:33 | authorOnly
张云威 post on2023-4-17 18:25
E版本先在网页端测试,看看是否正常

我在smarteye监视器和Web端的demo上看是可以的。版本是v0.0.9
reply agree Against

使用道具 report

0

主题

47

帖子

244

积分

midMem

Rank: 3Rank: 3

积分
244
9#
poston 2023-4-17 18:26 | authorOnly
E版本服务器使用的什么版本,发一下
reply agree Against

使用道具 report

0

主题

47

帖子

244

积分

midMem

Rank: 3Rank: 3

积分
244
8#
poston 2023-4-17 18:25 | authorOnly
E版本先在网页端测试,看看是否正常
reply agree Against

使用道具 report

QQ|wireless surveillance

GMT+8, 2024-5-19 17:02 , Processed in 0.069332 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList