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
0fc5b03b
Commit
0fc5b03b
authored
Oct 11, 2024
by
“liusq”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改gb28181 bug
parent
545cccd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
CameraHandle.cpp
+4
-0
No files found.
CameraHandle.cpp
View file @
0fc5b03b
...
@@ -1051,10 +1051,14 @@ int CameraHandle::resetGb28181(){
...
@@ -1051,10 +1051,14 @@ int CameraHandle::resetGb28181(){
result
=
connectedCameraHandle
->
wifiChangeIp
(
reachableIp
,
false
,
old
,
sSn
);
result
=
connectedCameraHandle
->
wifiChangeIp
(
reachableIp
,
false
,
old
,
sSn
);
is_wifi
=
true
;
is_wifi
=
true
;
if
(
result
){
if
(
result
){
QThread
::
sleep
(
1
);
//老句柄抓图不正常了
//老句柄抓图不正常了
int
sdk_handle
=
this
->
sdkDevLoginSyn
(
reachableIp
,
loginParam
->
nDevPort
,
loginParam
->
sUserName
,
loginParam
->
sPassword
,
3000
);
int
sdk_handle
=
this
->
sdkDevLoginSyn
(
reachableIp
,
loginParam
->
nDevPort
,
loginParam
->
sUserName
,
loginParam
->
sPassword
,
3000
);
if
(
sdk_handle
<
0
){
if
(
sdk_handle
<
0
){
qInfo
()
<<
QString
(
"SN(%1): WIFI老句柄:%2"
).
arg
(
sSn
).
arg
(
old
);
qInfo
()
<<
QString
(
"SN(%1): WIFI新句柄生成失败"
).
arg
(
sSn
);
qInfo
()
<<
QString
(
"SN(%1): WIFI新句柄生成失败"
).
arg
(
sSn
);
this
->
hDevice
=
old
;
this
->
hDevice
=
old
;
return
-
1
;
return
-
1
;
}
else
{
}
else
{
...
...
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