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

fredvs fiens at hotmail.com
Mon Jan 23 19:34:22 CET 2017


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: function(path: PAnsiChar; out error: Integer):
TOpusFile;)

And... it works !

I can listen to http://geldenhuys.co.uk/~graemeg/temp/test.opus in
web-streaming with fpc code!

I will release a working demo in uos asap.

> So do I. Did you try with the httpget demo program ? 

Not yet, I will do it tonight.

Yep, yep, yep.

Fre;D



-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Connect-to-https-url-with-fphttpclient-tp5727404p5727424.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list