Hello Bruno,

I think the problem is the parsing of the .m3u8-playlist in xupnpd2. The
first entry to the .ts-file is 4 hours behind the actual time. But I
have no c++ experience to change the code.

Is it possible in haproxy to manipulate the playlist file (server
response), that only the last .ts-entries will be available and returned
to xupnpd2?

Best regards,
Thomas

Am 17.02.2019 um 03:04 schrieb Bruno Henc:
Hello Thomas,


This looks like an interesting problem. If I have any spare time I'll
take a more detailed look, although it's sad that the original author
hasn't added https support yet. This would probably solve all of your
woes and avoid having haproxy just to downgrade https to http.


If I have any more information, I will try to share it as soon as possible.


Thank you for your patience and the detailed report on the issue you are
experiencing.


Best regards,


Bruno Henc


This looks like an interesting problem, though it is sad that

On 2/16/19 4:06 PM, Thomas Schmiedl wrote:
Hello,

I use the xupnpd2 mediaserver (https://github.com/clark15b/xupnpd2) on
my router to display some hls-streams on my TV. xupnpd2 doesn't support
https. The author doesn't want add https support.

My idea is to use haproxy in this scenario on the router:
xupnpd2 (client) <---> http-traffic <---> haproxy <---> https-traffic
<---> https://www.mall.tv/zive (server)

xupnpd2 should receive the playlist (.m3u8) and the media-chunks (.ts)
locally via haproxy over http.

I use haproxy-1.9.4, my config:
frontend myfrontend
    bind :8080
    default_backend mybackend

backend mybackend
    server node1 skenderbeu.gjirafa.com:443 ssl verify none

When using vlc-player directly with haproxy, it works without problems.
When using vlc-player with xupnpd2 and via haproxy, the displayed stream
(from this site: https://www.mall.tv/planespotting) is 4 hours behind
the actual time.

I hope someone could help me.

Best regards,
Thomas




Reply via email to