netlify-labs/netlify-functions-express

Wrong stream download size

winstonma opened this issue · 0 comments

I would like to create an Netlify Function that helps me download Youtube Video, based on it's ID. I then merge the code by youtubeDownloader onto this repo (my own git repo). The demo is added on serverless-http example (.netlify/functions/serverless-http).

I then test by downloading the stream. But I have no luck getting the stream played. After checking the video against youtubeDownloader it seems the downloaded size is doubled.

My test site is deployed the site on Netlify.

Would you have any idea what can be wrong here? Thanks in advance