mobile CCTV,mobile surveillance,police body worn cameras
标题:
c++ sdk 语音会议申请发言的问题2
[打印本页]
author:
tank123456
time:
2022-5-12 11:08
标题:
c++ sdk 语音会议申请发言的问题2
创建会议命令返回的
BVCU_Conf_BaseInfo.szID 是会议id对吧?帮忙看一下代码,看哪里参数不对
int
CMLibBVCU
::
ApplyForJoinSpeakMeeting
(
const
QString
&
userId
){
if
(
m_session
)
{
BVCU_Command
cmdInfo
;
memset
(
&
cmdInfo
,
0
,
sizeof
(
cmdInfo
));
cmdInfo
.
iSize
=
sizeof
(
cmdInfo
);
cmdInfo
.
iMethod
=
BVCU_METHOD_CONTROL
;
cmdInfo
.
iSubMethod
=
BVCU_SUBMETHOD_CONF_PARTICIPATOR_JOIN
;
cmdInfo
.
OnEvent
=
cmd_OnEvent
;
//
BVCU_Conf_Participator_Info
participator_info;
//
memset(&participator_info,
0,
sizeof
(participator_info));
strcpy_s
(
cmdInfo
.
szTargetID
,
sizeof
(
cmdInfo
.
szTargetID
),
meetingId
.
toStdString
().
c_str
()); // meetingId 创建会议命令返回的BVCU_Conf_BaseInfo.szId = "CONF_627B33BC"
//
strcpy_s(participator_info.szID,
sizeof
(participator_info.szID),
meetingId.toStdString().c_str());
cmdInfo
.
stMsgContent
.
pData
=
&
participator_info
; // participator_info 创建会议命令返回的 BVCU_Conf_Participator_Info,其中 szID = "
CU_mfcDemo
"
cmdInfo
.
stMsgContent
.
iDataCount
=
1
;
return
BVCU_SendCmd
(
m_session
,
&
cmdInfo
);
}
return
BVCU_RESULT_E_FAILED
;
}
该函数调用(在开启会议成功之后)后,sdk返回 -65531
author:
fanghj90
time:
2022-5-16 15:26
创建会议命令返回的 BVCU_Conf_Participator_Info,是创建者在会议中的成员信息,已经在会议中,不能再添加。
欢迎光临 mobile CCTV,mobile surveillance,police body worn cameras (http://bbs.besovideo.com:8067/)
Powered by Discuz! X3.2