Does streaming work in Cloud Functions v2? #1474
Unanswered
dosstx
asked this question in
Questions and Help
Replies: 3 comments 1 reply
-
OK so it looks like Streaming is not supported on Firebase Cloud Functions (nor 2nd Gen). Since it works on Nuxt server routes, is there a way to use Nuxt's server routes on Firebase Hosting? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm not sure about streaming in Cloud Functions but you need to use a Nuxt |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yes, supported.
example code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does Firebase Cloud Functions 2nd gen support streams?
For some reason, using Nuxt's
/api/audio.ts
route works, however, when using a Firebase Cloud Function (v2) instead of Nuxt's route, it will fail.Here is the Firebase Cloud Function code:
That does not work.
This DOES work:
Anyone got any ideas why?
Beta Was this translation helpful? Give feedback.
All reactions