curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: who can write a small app using curl-lib

From: Tim Tassonis <timtas_at_cubic.ch>
Date: Sat, 28 Apr 2018 17:59:56 +0200

Hi Thomas

On 04/27/2018 07:04 PM, Thomas Schmiedl wrote:
> Hello,
>
> I use the xupnpd2 mediaserver (http://xupnpd.org/xupnpd2_en.html;
> download: https://drive.google.com/open?id=0B-F25LE4in_xYjMwME1BODRpdFU)
> to transfer some hls-streams to my TV-device.
>
> I try to receive this streams in xupnpd2:
>
> http://www.skylinewebcams.com/de/webcam/czech-republic/prague/prague/old-town-bridge-tower.html
>
>
> http://www.earthtv.com/en/webcam/prag-karlsbruecke
>
> My older xupnpd2 version doesn't support https and has no proxy support.
> The author isn't able to provide a newer release of this software. My
> idea is to use the curl-lib, but I'm not a developer. Maybe someone
> could write a small app in c (call via cgi in a webserver on the router).
>
> For skylinewebcams:
> 1. xupnpd2 calls the cgi-app
> 2. the cgi-app downloads the m3u8-playlist from skylinewebcams
> 3. the cgi-app replaces the URLs to the ts-files in the m3u8-playlist
> from 'https://' to 'http://' and returns the file content to xupnpd2
>
> For earthtv:
> 1. xupnpd2 calls the cgi-app
> 2. the cgi-app downloads the m3u8-playlist from earthtv
> 3. the cgi-app replaces the URLs to the ts-files by local URLs to a
> maybe second cgi-app and returns this to xupnpd2
> 4. xupnpd2 calls the local URLs (second cgi-app)
> 5. the second cgi-app downloads the ts-file (it's necessary to use
> additional request-headers -> network-analysis in firefox) and returns
> the ts-file to xupnpd2
>
> I hope, someone could support me in this issue.

I have written quite some stuff using libcurl, so I could do that. Just
give me a more detailed specfication.

- How is the app called? It has to know the m3u8-playlist from somewhere

Bye
Tim

>
> Best regards,
> Thomas
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette:   https://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-04-28