Feature request: ability to add arbitrary HTTP headers to VLCMedia(url:).
If I understand correctly, it is currently impossible to add HTTP headers to VLCMedia(url:)
, even with addOption
, no way to intercept HTTP calls which VLC makes, nor to provide a custom HTTP engine.
If any kind of header is needed, such as for authentication or a cookie then the media has to be downloaded first outside of VLC. It would be great if such option was added to VLC. Or, for example, if VLCMedia
could be constructed from URLRequest
instead of plain URL.
Thanks.
This is related to #483.