MCPcopy Create free account
hub / github.com/ZLMediaKit/pymkui / initDecoder

Method initDecoder

frontend/js/lib/jessibuca.min.js:9764–9774  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9762 this.player.debug.log('Webcodecs', 'destroy');
9763 }
9764 initDecoder() {
9765 const _this = this;
9766 this.decoder = new VideoDecoder({
9767 output(videoFrame) {
9768 _this.handleDecode(videoFrame);
9769 },
9770 error(error) {
9771 _this.handleError(error);
9772 }
9773 });
9774 }
9775 handleDecode(videoFrame) {
9776 if (this.player.isDestroyedOrClosed()) {
9777 return;

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected