Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gamera_videos_no_ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liusq
gamera_videos_no_ui
Commits
d1fa0a6d
Commit
d1fa0a6d
authored
Aug 23, 2024
by
“liusq”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
超时去掉图片
parent
e5fe3f20
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
CameraHandle.cpp
+16
-0
No files found.
CameraHandle.cpp
View file @
d1fa0a6d
...
...
@@ -986,6 +986,22 @@ void CameraHandle::sdkEncodeCfg(const char* pCfg){
qInfo
()
<<
"sdkEncodeCfg 配置编码设置->修改失败"
<<
res
;
}
}
int
CameraHandle
::
updateSdkDevStatus
(
bool
status
){
char
szOutBuffer
[
40960
]
=
{
0
};
int
nInOutSize
=
sizeof
(
szOutBuffer
);
int
res
=
XSDK_DevGetSysConfigSyn
(
hDevice
,
JK_NetWork_SPVMN
,
szOutBuffer
,
&
nInOutSize
,
4000
,
EXCMD_CONFIG_GET
);
if
(
res
<
0
){
qInfo
()
<<
sSn
<<
"GB28181可远程开关"
<<
res
;
return
0
;
}
XSDK_CFG
::
NetWork_SPVMN
config
;
config
.
Parse
(
szOutBuffer
);
config
.
bCsEnable
.
SetValue
(
status
);
const
char
*
pCfg
=
config
.
ToString
();
sdkDevSpvMn
(
pCfg
);
return
res
;
}
void
CameraHandle
::
updateSdkDevSpvMn
(
vides_data
::
responseGb28181
*
gb28181
){
char
szOutBuffer
[
40960
]
=
{
0
};
int
nInOutSize
=
sizeof
(
szOutBuffer
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment