Browse Source

关闭标签定位,修改videoBuffer为0.5

master
chendingwei 2 years ago
parent
commit
cba7a5efac
  1. 10
      src/views/page/cameraCenter.vue

10
src/views/page/cameraCenter.vue

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

Loading…
Cancel
Save