Skip to content

Commit

Permalink
deploy: 485845c
Browse files Browse the repository at this point in the history
  • Loading branch information
friendlymatthew committed Oct 24, 2024
1 parent 6a6b1b2 commit a7036df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions burrito/worker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use-strict';


let videoDecoder240p, videoDecoder480p, videoDecoder720p;

async function setVideoDecoder(resolution, writer) {
Expand Down Expand Up @@ -94,6 +93,8 @@ async function handleTransform(resolution, readable, writable) {

await videoDecoder.decode(chunk);

console.log('transform', {resolution, temporalIndex, spatialIndex, width, height});

controller.enqueue(encodedFrame);
}
})
Expand Down Expand Up @@ -133,4 +134,3 @@ onmessage = async ({data}) => {
}
};


0 comments on commit a7036df

Please sign in to comment.