Hi,

On 03.06.20 16:20, Thomas Schmiedl wrote:
> Hi,
> 
> maybe someone can help me in this issue. I use 
> xupnpd2 (https://github.com/clark15b/xupnpd2) on my router 
> (with this firmware extension: https://freetz.github.io/wiki/index.en.html) 
> to receive/transfer some hls-streams to the TV. Now I try to 
> receive/transfer some youtube-hls-livestreams 
> (e.g. https://www.youtube.com/watch?v=F2ARbcgQN1s). Because 
> xupnpd2 doesn't support SSL/TLS and the author doesn't want to add SSL/TLS 
> support (I'm not a developer), my idea is to use haproxy as reverse proxy 
> to receive the m3u8/ts via haproxy and "forward" unencrypted to xupnpd2.
> 
> A first test with a single ts file works on my ubuntu-pc, but it doesn't 
> work on the router. Thanks for your help.

Have you tried https://github.com/clark15b/xupnpd-live
as answered in
https://github.com/clark15b/xupnpd2/issues/2

> Best regards,
> Thomas
> 
> Here is the haproxy config (I always updated manually the 
> "googlevideo"-hostname):
> 
> global
> 
> defaults
>         mode http
>         timeout connect 5000
>         timeout client 50000
>         timeout server 50000
> 
> frontend main
>         mode http
>         bind *:8081
> 
>         acl is_ts path -m end .ts
>         use_backend segments
> 
> backend segments
>         http-request set-header Host r1---sn-4g5e6nss.googlevideo.com
>         server server1 r1---sn-4g5e6nss.googlevideo.com:443 ssl verify none
> 


Reply via email to