Posted December 24, 20222 yr Hello I'm working on XUI ONE server (linux based server), XUI Panel has option to set default http header. I have searched on google unfortunately there is very few documents on ffmpeg headers command information. so i want to override http headers restrict stream request allow only certain domain name , i have applied the below code but its not working , my main purpose is to allow only my website access the url streams and block all others requests. what would be the best example of restricting streams using http headers by ffmpeg command? ffmpeg -headers "Access-Control-Allow-Credentials: true" -headers 'Access-Control-Allow-Methods: OPTIONS, GET, POST, HEAD" -headers 'Access-Control-Allow-Origin: https://mysite.com" appreciate if any ffmpeg expertise can help me out
Create an account or sign in to comment