mobile CCTV,mobile surveillance,police body worn cameras
标题:
cu sdk 有关会议的问题
[打印本页]
author:
tank123456
time:
2022-4-23 17:01
标题:
cu sdk 有关会议的问题
您好!
c++ sdk里没看到有关会议(集群)的示例代码,看头文件描述写了下面代码,帮忙看一下是否正确
int
CMLibBVCU
::
CreateMeeting
(const QString &name){
if
(
m_session
)
{
BVCU_Conf_BaseInfo
sBaseInfo
;
memset
(
&
sBaseInfo
,
0x00
,
sizeof
(
sBaseInfo
));
strcpy_s
(
sBaseInfo
.
szName
,
sizeof
(
sBaseInfo
.
szName
),
name
.
toStdString
().
c_str
());
sBaseInfo
.
iMode
=
BVCU_CONF_MODE_SPEAK_DISCUSSIONGROUP
|
BVCU_CONF_MODE_JOIN_FREE
|
BVCU_CONF_MODE_APPLY_AUTOAGREE
|
BVCU_CONF_MODE_START_STOPADMIN
|
BVCU_CONF_MODE_RECORD_STOPADMIN
;
BVCU_Command
cmdInfo
;
memset
(
&
cmdInfo
,
0
,
sizeof
(
cmdInfo
));
cmdInfo
.
iSize
=
sizeof
(
cmdInfo
);
cmdInfo
.
iMethod
=
BVCU_METHOD_QUERY
; // 是否正确?
cmdInfo
.
iSubMethod
=
BVCU_SUBMETHOD_CONF_CREATE
;
cmdInfo
.
OnEvent
=
cmd_OnEvent
;
return
BVCU_SendCmd
(
m_session
,
&
cmdInfo
);
}
return
BVCU_RESULT_E_FAILED
;}
欢迎光临 mobile CCTV,mobile surveillance,police body worn cameras (http://bbs.besovideo.com:8067/)
Powered by Discuz! X3.2