Demo netradio stream https

Started by Pedro Leonardo,

Pedro Leonardo

What do I need to do to make the demo netradio play an https stream address? Addresses that are http play normally, but https do not play.

Regards


Chris

Hi
  i did here a quick test with the Delphi Netradio Example with https://s7-webradio.antenne.de/rockantenne
will open the stream fine.

Pedro Leonardo

#3
in oncreat it is like this:

procedure TForm1.FormCreate(Sender: TObject);
var   P: HPlugin;
begin
  // check the correct BASS was loaded
  win := handle;
  if (HIWORD(BASS_GetVersion) <> BASSVERSION) then
  begin
    MessageBox(0, 'An incorrect version of BASS.DLL was loaded', nil, MB_ICONERROR);
    Halt;
  end;
  if (not BASS_Init(-1, 44100, 0, handle, nil)) then
  begin
    Error('Can''t initialize device');
    Halt;
  end;
  BASS_SetConfig(BASS_CONFIG_NET_PLAYLIST, 1); // enable playlist processing
   P := BASS_PluginLoad(PChar('bass_aac.dll'), BASS_Unicode);
   P := BASS_PluginLoad(PChar('bassflac.dll'), BASS_Unicode);
   P := BASS_PluginLoad(PChar('basshls.dll'), BASS_Unicode);
   P := BASS_PluginLoad(PChar('basswma.dll'), BASS_Unicode);
   P := BASS_PluginLoad(PChar('bass_ssl.dll'), BASS_Unicode);
end;


On some machines it play. On others it doesn't. What do I have to do in Windows to play?
a machine that doesn't work has windows 7

Regards

MB_SOFT

bass_ssl is not a plugin to load. just put it in the same folder with bass.dll

try to install openssl in that old windows 7 computer

Ian @ un4seen

The BASS_SSL add-on is currently only used by BASSenc on Windows, so it won't actually affect playback. BASS uses Windows' HTTPS support, so the issue in this case is probably that Windows 7 doesn't include support for the ciphers required by the servers you're connecting to. Can you provide an example URL, and can you open it in Internet Explorer?


terry_zhou82

or sometimes you can use the url on this way:
http://xxxxxx