|
|
@ -141,7 +141,7 @@ function create() { |
|
|
|
|
|
|
|
jessibuca.value = new Jessibuca({ |
|
|
|
container: player, |
|
|
|
videoBuffer: 1, // 缓存时长 |
|
|
|
videoBuffer: 0.5, // 缓存时长 |
|
|
|
isResize: false, |
|
|
|
text: "", |
|
|
|
loadingText: "", |
|
|
@ -383,10 +383,10 @@ function loadMarkLabelsByLoop(cameraObj: any, ms: number = 1000) { |
|
|
|
return; |
|
|
|
} |
|
|
|
loadMarkLabels(cameraObj); |
|
|
|
let timer = setTimeout(() => { |
|
|
|
loadMarkLabelsByLoop(cameraObj, ms); |
|
|
|
clearTimeout(timer) |
|
|
|
}, ms); |
|
|
|
// let timer = setTimeout(() => { |
|
|
|
// loadMarkLabelsByLoop(cameraObj, ms); |
|
|
|
// clearTimeout(timer) |
|
|
|
// }, ms); |
|
|
|
} |
|
|
|
function loadMarkLabels(cameraObj: any) { |
|
|
|
markSearchApi.GetMarkLabelCalcResultList({ |
|
|
|