mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 6914|reply: 44
打印 prevThread nextThread

C# Winform客户端 c/s开发问题

[copyURL]

2

主题

96

帖子

472

积分

midMem

Rank: 3Rank: 3

积分
472
owner
poston 2018-9-13 15:02 | 显示全部楼层
你好,请将lib下所有的动态库拷贝到bin目录,然后先编译ManagedLayer工程,再编译运行C#demo。
reply agree Against

使用道具 report

2

主题

96

帖子

472

积分

midMem

Rank: 3Rank: 3

积分
472
sofa
poston 2018-9-14 12:16 | 显示全部楼层
你好
1、获取帧时间戳,在C#示例代码中,AfterRender类中的BVCU.DisplayFont afterRenderDisplayFont回调, void displayFont(IntPtr dialog, Int64 timeStamp)的第二个参数便是时间戳;
2、GPS数据是通过ManagedLayer_CuOpenGpsDialog接口获取。
reply agree Against

使用道具 report

2

主题

96

帖子

472

积分

midMem

Rank: 3Rank: 3

积分
472
bench
poston 2018-9-14 14:28 | 显示全部楼层
taobaty post on2018-9-14 13:59
这个问题没有回复

demo比客户端慢是什么意思
reply agree Against

使用道具 report

2

主题

96

帖子

472

积分

midMem

Rank: 3Rank: 3

积分
472
ground
poston 2018-9-14 16:18 | 显示全部楼层
taobaty post on2018-9-14 15:35
从图片上面,你可以看到二开DEMO程序播放的视频与SmartEye监视器播放的视频,它们的视频为同一个视频流并且 ...

openBrowse() 中的BVCU_DialogControlParam_Network中的iDelayVsSmooth可以设置越小,表示实时性越高。参考BVCU.h中:
/*控制会话的网络参数*/
#define BVCU_NETWORK_DVSS_MIN 1
#define BVCU_NETWORK_DVSS_MAX 7
#define BVCU_NETWORK_DELAY_MAX 10000
typedef struct _BVCU_DialogControl_Network{
    /*会话命令超过iTimeOut未收到回响则认为失败,单位毫秒。如果设置为0,则采用BVCU_ServerParam.iTimeout*/
    int iTimeOut;

    /*A/V数据从接收到输出,最大允许的延迟,不能超过BVCU_NETWORK_DELAY_MAX。单位:毫秒(参考值:5000)*/
    int iDelayMax;
   
    /*A/V数据从接收到输出,最小允许的延迟,不能超过BVCU_NETWORK_DELAY_MAX。单位:毫秒(参考值:1000)*/
    int iDelayMin;
   
    /*播放延迟与平滑选择。取值范围BVCU_NETWORK_DVSS_MIN~BVCU_NETWORK_DVSS_MAX,越小则播放延迟越小,但平滑变差,越大则播放越平滑,但延迟变大(参考值:3)。*/
    int iDelayVsSmooth;
}BVCU_DialogControlParam_Network;
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-12 16:05 , Processed in 0.060549 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList