LAVFilters
LAVFilters copied to clipboard
How to set user agent
Some videos need to add request headers to play. Can request headers be added to LAV filter?
I found a way to add in AVDictionary.
AVDictionary *options = nullptr;
av_dict_sett(&options, "headers", ");
This requires modifying the source code. I hope it can be set directly in the ILAVFSettings interface. There are many network streaming videos that need to set custom headers. @Nevcairiel
@Nevcairiel Please, consider implementing this feature. Thank you.