Browse Source

flushStashedSamples

simplify_dependencies
巴林闲侠 2 years ago
parent
commit
4780cd3dc6
  1. 9
      console/client/src/sections/console/containers/index.js

9
console/client/src/sections/console/containers/index.js

@ -618,6 +618,15 @@ function Index (props) {
}); });
flv.attachMediaElement(container); flv.attachMediaElement(container);
flv.load(); flv.load();
// 初始化 _remuxer
let controller = flv._transmuxer._controller
controller._remuxer = {
flushStashedSamples: function () {
console.log("flushStashedSamples")
}
}
flv.play(); flv.play();
flvPlayer.current = flv flvPlayer.current = flv
} }

Loading…
Cancel
Save