Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread fredvs
Hello Michael. This will close the topic: uos_AddFromURL('https://sites.google.com/site/fredvsbinaries/test.opus') ; => WORKS... So, conclusion, yes fphttpclient can connect to 'https://...' and uos can play 'https://... Opus streaming files. Thanks for all your help. Fre;D - Many

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread fredvs
Hello. Some news from the front. There is a library included with opus package: libopusurl.so This without any c header. Ok,I did a pascal header for that library and use this method in code: op_test_url: function(path: PAnsiChar; out error: Integer): TOpusFile (in place of op_test_file: fun

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread Michael Van Canneyt
On Mon, 23 Jan 2017, fredvs wrote: Hello. I develop with Linux64 bit. So do I. Did you try with the httpget demo program ? Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/f

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread fredvs
Hello. I develop with Linux64 bit. But I have try with FreeBSD64 and same result. Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Connect-to-https-url-with-fphttpclient-tp5727404p5727422.html Sent from the Free Pascal - General mai

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread Michael Van Canneyt
On Mon, 23 Jan 2017, fredvs wrote: Hello Michael. just tried with the httpget sample program, works just fine. To access a "https" file ? Yes. I accessed the file URL you posted here. If so, there is something that must be done to the server to allow file streaming (or I miss somethin

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread fredvs
Hello Michael. > just tried with the httpget sample program, works just fine. To access a "https" file ? If so, there is something that must be done to the server to allow file streaming (or I miss something). Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread Michael Van Canneyt
On Mon, 23 Jan 2017, fredvs wrote: Hello Michael and thanks for answer. I have try with fpc 3.1.1 without success. I just tried with the httpget sample program, works just fine. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread Graeme Geldenhuys
On 2017-01-23 12:55, fredvs wrote: > Must your server do something special to enable audio-streaming ? Not according to VCL Media Player. I simply selected "File - Open Network Stream" and pasted in the MP3 URL. VCL played it without problem. ps: I don't know if VCL first downloads the file, th

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread fredvs
Hello Graeme. Thanks for the mp3 too. I have try it, I can download and access it but... audio-streaming is not working here. Must your server do something special to enable audio-streaming ? Thanks. Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-genera

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread fredvs
Hello Graeme. Yep, many thanks. (and you place the good one ;-)) Ok, I have something for makeing nights white now. PS: uos_SimplePlayer can play opus file in FreeBSD64 too (file =ok, url=must test it). Thanks Graeme. Fre;D - Many thanks ;-) -- View this message in context: http://free

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread Graeme Geldenhuys
On 2017-01-23 12:39, fredvs wrote: > https://sites.google.com/site/fredvsbinaries/test.mp3 > > and place it to a http:// server ? > > This because I want to test opus-file streaming but I did not find any > http:// to download opus files from. http://geldenhuys.co.uk/~graemeg/temp/test.mp3

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread fredvs
AAArgh, wrong url again in previous post. Please, read this: Hello Michael and thanks for answer. I have try with fpc 3.1.1 without success. Huh, is there a brave heart that could download this: https://sites.google.com/site/fredvsbinaries/test.opus and place it to a http:// server ? Thi

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread Graeme Geldenhuys
On 2017-01-23 12:34, fredvs wrote: > This because I want to test opus-file streaming but I did not find any > http:// to download opus files from. http://geldenhuys.co.uk/~graemeg/temp/test.opus Regards, Graeme ___ fpc-pascal maillist - fpc-pasc

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread fredvs
Re-hello. Aaargh, same error than in first post (wrong url). Please read this: Hello Michael and thanks for answer. I have try with fpc 3.1.1 without success. Huh, is there a brave heart that could download this: https://sites.google.com/site/fredvsbinaries/test.mp3 and place it to a http

Re: [fpc-pascal] Connect to 'https://...' url with fphttpclient ?

2017-01-23 Thread fredvs
Hello Michael and thanks for answer. I have try with fpc 3.1.1 without success. Huh, is there a brave heart that could download this: https://github.com/fredvs/uos/blob/master/examples/sound/test.opus and place it to a http:// server ? This because I want to test opus-file streaming but I did

[fpc-pascal] Stack trace different for Windows and Linux

2017-01-23 Thread Terry Mead
Gentlemen, I'm a new poster to the mail list. I have a problem logging call stack trace info following an exception. The following simple program generates a divide by zero error. PROGRAM Test; VAR i, j, k : Integer; PROCEDURE test1; BEGIN i := i - 1; k := j DIV i; END; {test}