Jump to content

LiveTV - Pass Referer header when following 302 redirect location?


Recommended Posts

Posted

Hi. It seems Emby will follow a 302 redirect location URLs just fine for Live TV but will not pass or inject either of the configured M3U TV source http refer header or user agent headers.
Basically, I have a proxy that Emby is pointed to, and this proxy returns the real URL as a 302 redirect location. Emby will follow this and stream from the new URL without issue. The only problem is the user defined http headers are only sent on the first proxy request and not the follow up request following the 302 redirect. Is it possible to have the referer/user agent headers included in the case of a 302 redirect?

Emby
    → GET your proxy URL (m3u http headers sent here)

    → receives 302 Location: https://stream-host/...m3u8

    → Emby follows redirect → new request to stream host (m3u http headers NOT sent)

Posted

HI there, what makes you think it won't pass these headers?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...