2017-09-07, 03:12 PM
There may already be an answer for this, and if so I apologize for asking if there is, but I couldn't find one.
I started using NPVR recently for IPTV and it works fantastic for the most part. I have a custom playlist with multiple providers.
Some of the providers I have require a User-Agent string with the requests (such as http://myprovider.tv/live/user/pass/9999.ts)
I sniffed what NPVR is requesting, and since there is no user-agent, so I get a 401 response from the provider.
If I run it through a proxy and rewrite the request to include a User-Agent string (from VLC for example) it works fine, but I don't want
to have to do that.
Is there a way to set the outgoing User-Agent string when requesting a stream?
Thank you.
I started using NPVR recently for IPTV and it works fantastic for the most part. I have a custom playlist with multiple providers.
Some of the providers I have require a User-Agent string with the requests (such as http://myprovider.tv/live/user/pass/9999.ts)
I sniffed what NPVR is requesting, and since there is no user-agent, so I get a 401 response from the provider.
If I run it through a proxy and rewrite the request to include a User-Agent string (from VLC for example) it works fine, but I don't want
to have to do that.
Is there a way to set the outgoing User-Agent string when requesting a stream?
Thank you.