How to set Referer and Host to URL
I am using MobileVLCKit to play streaming videos.
Is it possible to set Referer and Host to URL that wants to play?
I tried to add options when init VLCMediaPlayer or add it before play,
however none of any workes.
let opt = ["--http-referrer=http://"] vlcMediaPlayer = VLCMediaPlayer(options: opt)
Any suggestion would be helpful.