jenssegers / php-proxy

A PHP proxy script with https and post support
https://jenssegers.com
933 stars 266 forks source link

Filter HLS-Streams #56

Open thomasschmiedl opened 6 years ago

thomasschmiedl commented 6 years ago

Hello,

I'm not a developer, maybe someone could help me.

I transfer some HLS-streams from the Internet to my Smart-TV via xupnpd2 media-server (installed on the router).

I try to use HLS-streams from Skyline (e.g. http://www.skylinewebcams.com/de/webcam/czech-republic/prague/prague/old-town-bridge-tower.html). Unfortunately, xupnpd2 doesn't support https and has no proxy-server support. But the m3u8-playlist and the .ts-files are also available via http.

Is it possible to use this php-proxy to replace the .ts-URLs in the m3u8-playlist from https to http?

Is it also possible to send additional HTTP-headers to receive the m3u8-playlist from the provider Earthcam (e.g. http://www.earthtv.com/en/webcam/prag-karlsbruecke)?

Thanks and best regards, Thomas