Opened 2 years ago

Last modified 2 years ago

#10113 new defect

ffmpeg override http headers

Reported by: faris Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hello 

I'm working on linux server ,
I have searched on google unfortunately there is very few documents on ffmpeg headers command information.

so i want to override http headers and restrict the stream request allow to 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.

ffmpeg -headers "Access-Control-Allow-Credentials: true" -headers 'Access-Control-Allow-Methods: OPTIONS, GET, POST, HEAD" -headers 'Access-Control-Allow-Origin: https://mysite.com"

Change History (1)

comment:1 by Carl Eugen Hoyos, 2 years ago

Keywords: ffmpeg removed

Please test current FFmpeg git head and provide the command line you tested together with the complete, uncut console output to make this a valid ticket.

Note: See TracTickets for help on using tickets.