[FFmpeg-devel] [PATCH] POC: add custom header support to mmsh (looking for suggestions on better solution)
Sat Mar 5 14:35:51 CET 2011
Saqeb Akhter skrev 2011-03-05 01:50:
> Hey Guys,
> This is a proof of concept of adding custom header support to mmsh in
> ffmpeg. Some sites require a Referer url to be set and refuse to
> stream without it.
> I tried to do this as in-evasive as possible.
> Any feedback& suggestions for improvement would be appreciated. Or an
> alternative method...
You should probably use an AVOption instead of adding things to the URI.
Look at how http.c handles chunksize for instance.
More information about the ffmpeg-devel