Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
cb3517b6
Commit
cb3517b6
authored
Oct 26, 2023
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改视频掉线重连问题
parent
07995e35
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
App.jsx
packages/base-components/VmsVideo/src/App.jsx
+5
-0
No files found.
packages/base-components/VmsVideo/src/App.jsx
View file @
cb3517b6
...
@@ -52,10 +52,12 @@ class App extends React.Component {
...
@@ -52,10 +52,12 @@ class App extends React.Component {
loadingTimeout
:
10
,
loadingTimeout
:
10
,
loadingText
:
'视频加载中'
,
loadingText
:
'视频加载中'
,
loadingTimeoutReplay
:
true
,
loadingTimeoutReplay
:
true
,
loadingTimeoutReplayTimes
:
-
1
,
timeout
:
10
,
timeout
:
10
,
controlAutoHide
:
true
,
controlAutoHide
:
true
,
heartTimeout
:
10
,
heartTimeout
:
10
,
heartTimeoutReplay
:
true
,
heartTimeoutReplay
:
true
,
heartTimeoutReplayTimes
:
-
1
,
showBandwidth
:
true
,
// 显示网速
showBandwidth
:
true
,
// 显示网速
operateBtns
:
{
operateBtns
:
{
fullscreen
:
true
,
fullscreen
:
true
,
...
@@ -73,6 +75,9 @@ class App extends React.Component {
...
@@ -73,6 +75,9 @@ class App extends React.Component {
};
};
if
(
dom
)
{
if
(
dom
)
{
this
.
jessibuca
=
new
window
.
Jessibuca
(
jsc
);
this
.
jessibuca
=
new
window
.
Jessibuca
(
jsc
);
this
.
jessibuca
.
on
(
"loadingTimeout"
,
function
()
{
console
.
log
(
'timeout'
)
})
}
}
}
}
...
...
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