mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 1832|reply: 7
打印 prevThread nextThread

基于优视设备与平台通信协议BVCSP的设备侧软件开发

[copyURL]

6

主题

175

帖子

1258

积分

vipMem

Rank: 6Rank: 6

积分
1258
owner
poston 2020-12-23 16:39 | 显示全部楼层
库的轮询,用于库处理内部事务。
当BVCSP_Initialize() bAutoHandle = 0 时,由调用者通过BVCSP_HandleEvent()处理库内部事务。
在BVCSP_Login() 之前需要 认证通过。

返回值的错误定义都在 BVCUConst.h头文件里面。
// Decoder
#define  BVCU_MAX_SUPPORT_RESOLUTION 6  // 解码器输出口支持的最多分辨率数。
#define  BVCU_DEC_MAX_WINDOWS  32  //解码器每个显示通道支持的最多窗口数。

#define BVCU_MAX_TOUR_IPCHANNEL_COUNT    16 //IP通道最大轮询连接数量

/*函数返回值及事件通知状态码*/
typedef enum _BVCU_Result {
    BVCU_RESULT_E_FAILED  = -0x10000, /*general error*/
    BVCU_RESULT_E_INVALIDARG,         /*invalid argument*/
    BVCU_RESULT_E_UNSUPPORTED,        /*unsupported functions*/
    BVCU_RESULT_E_ALLOCMEMFAILED,     /*allocate memory failed*/
    BVCU_RESULT_E_MEMALIGNMENT,       /*memory alignment is not satisfied*/
    BVCU_RESULT_E_NOTFOUND,           /*not found*/
    BVCU_RESULT_E_NOTALLOWED,         /*the requested access is not allowed*/
    BVCU_RESULT_E_IO,                 /*I/O error*/
    BVCU_RESULT_E_EOF,                /*End of file*/
    BVCU_RESULT_E_INVALIDDATA,        /*Invalid data found when processing input*/
    BVCU_RESULT_E_NOTIMPL,            /*not implemented*/
    BVCU_RESULT_E_BUSY,               /*busy.deny service now*/
    BVCU_RESULT_E_INUSE,              /*device in use*/
    BVCU_RESULT_E_BADREQUEST,         /*bad request*/
    BVCU_RESULT_E_AUTHORIZE_FAILED,   /*authorize failed。登录/发送命令等的OnEvent回调中使用*/
    BVCU_RESULT_E_BADSTATE,           /*bad internal state*/
    BVCU_RESULT_E_NOTINITILIZED,      /*not initialized*/   
    BVCU_RESULT_E_FATALERROR,         /*fatal error. BVCU should be closed*/
    BVCU_RESULT_E_OUTOFSPACE,         /*out of space*/
    BVCU_RESULT_E_DISCONNECTED,       /*disconnected*/
    BVCU_RESULT_E_TIMEOUT,            /*time out*/
    BVCU_RESULT_E_CONNECTFAILED,      /*connect failed*/
    BVCU_RESULT_E_ABORTED,            /*request aborted*/
    BVCU_RESULT_E_THRAEDCONTEXT,      /*can not execute in the specified thread context*/
    BVCU_RESULT_E_UNAVAILABLE,        /*unavailable, eg: initialize a dialog with an offlined PU*/  
    BVCU_RESULT_E_ALREADYEXIST,       /*already exist*/  
    BVCU_RESULT_E_SEVERINTERNAL,      /*Server internal error*/
    BVCU_RESULT_E_MAXRETRIES,         /*达到最大重试次数*/

    BVCU_RESULT





本帖子中包含更多资源

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

x
reply agree Against

使用道具 report

6

主题

175

帖子

1258

积分

vipMem

Rank: 6Rank: 6

积分
1258
sofa
poston 2020-12-30 11:32 | 显示全部楼层
关于对H.265的支持,我们SDK只支持I帧和P帧, 不支持B帧,SEI等其它辅助信息,都要去掉。
音频支持AAC,采样率固定8K,码率可变。

reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-9-21 07:57 , Processed in 0.053713 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList