remotion-dev / remotion

🎥 Make videos programmatically with React
https://remotion.dev
Other
19.59k stars 955 forks source link

Need to intercept requests in `renderMedia` function for adding authentication headers to private assets. #3914

Open JonnyBurger opened 1 month ago

JonnyBurger commented 1 month ago

From message posted on Discord by ashbuilds

Hey guys! I have been trying to figure out how I can intercept requests when using renderMedia function, I was trying to see if I can use any method that are in @remotion/renderer but didn't find a way to intercept a request so that i can add authentication headers as the assets are private and need a token to access. Do you know if we have something like this already? Thank you 🙂