Jump to content
Tuts 4 You

XUI ONE ffmpeg -headers Command how to allow certain domain name


Faris94

Recommended Posts

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 

Screen Shot 2022-12-24 at 11.33.16 AM.png

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...