@yume-chan/scrcpy-decoder-webcodecs
Version:
Raw H.264 stream decoder and renderer using WebCodecs API (requires modern browser).
30 lines • 793 B
JavaScript
export class Pool {
start: (controller) => {
this.
},
pull: (controller) => {
controller.enqueue(this.
},
}, { highWaterMark: 0 });
constructor(initializer, capacity) {
this.
this.
}
async borrow() {
const result = await this.
return result.value;
}
return(value) {
if (this.
this.
this.
}
}
}
//# sourceMappingURL=pool.js.map