Jump to content

Erix A.

  • Content Count

  • Joined

  • Last visited

Community Reputation

7 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you. I was able to get it working by sending the raw mpeg data into the stream as you described. I had to implement the stream throttling as well to match the bitrate of the mp3 file, otherwise the receiver just choked.
  2. Hi, I want to create a simple http server, which would stream binary (audio) data, basically the same way as internet radio's do. I run the curl against some available on the Internet and the way they're doing it seems pretty simple, i.e. they set the content-type:audio/mpeg and then just push the audio stream. How to implement this using TIdHTTPServer? I don't need the exact code, just the explanation on how to do it 🙂 The thing I did is I set the AResponseInfo.ContentStream to the TFileStream in IdHTTPServer1CommandGet and that sent the whole file, but that is not how it should work as this method sets the content-length. As the starting point, just "streaming" one big file would be nice. And then the fun part with the buffering etc. 🙂
  3. Erix A.

    10.4 how to hide project window?

    Thanks, that was it 🙂 I remember I disabled it in previous version and when installing 10.4, I exported all settings and then imported them via the migration tool. Fix was to set Enabled to 1 in registry under "Computer\HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\21.0\Theme"
  4. This one In the previous I could "stick" it to the right side, so it's not shown. In 10.4 it's just there all the time whether I need it or not.
  5. Does it work for you? I cannot move tabs around in the editor in 10.4. It was working fine in 10.3.3 and in older versions as far as I remember.
  6. Erix A.

    Delphi 10.3.3 has been released

    Yes, the iso.
  7. Erix A.

    Delphi 10.3.3 has been released

    I run the installer (existing version was 10.3.2). It offered to upgrade, modify or to uninstall. I selected modify, it did something which ended up with missing bds.exe, so I run it again, uninstalled that whatever version was there (by leaving the registry) and installed the 10.3.3. All settings were preserved and now I have 10.3.3 running.
  8. Erix A.

    Up-to-date 32 bit libmysql.dll?

    Is this the one - http://cdn.mysql.com/Downloads/Connector-C/mysql-connector-c-6.1.11-win32.msi ?
  9. Erix A.

    Delphi 10.3 Update 2 available

    Yeah, especially when osx32 takes 9.28 seconds to compile the same project. And osx64 just completed after about 10 minutes with [dccosx64 Fatal Error] F2588 Linker error code: 1 ($00000001). Nice.
  10. Erix A.

    Delphi 10.3 Update 2 available

    Tried to compile my project for macosx64, but it looks like it got stuck in a loop and is recompiling the same units over and over again.
  11. Erix A.

    Delphi 10.3 Update 2 available

    Thanks for the help - installing xcode helped. @Uwe Raabe, yep, I'm on subscription.
  12. Erix A.

    Delphi 10.3 Update 2 available

    I also deleted and re-added my serial but still cannot get osx64 to compile :( Works fine for osx32, but for osx64 it just prompts to add SDK, After I press OK (with Command Line Tools) nothing happens. All I get is [Error] and Failed in the log.
  13. Erix A.

    Delphi 10.3 Update 2 available

    Just installed from the delphicbuilder10_3_2_496593b.iso and am getting error when starting 10.3.2 (see attach). I checked macosxdebugide260.bpl dependencies and those 2 are missing from my PC: gdbdebugcore260.bpl gdbdebugide260.bpl The only thing (osx64) I was expecting from 10.3.2 and it's not working 😞
  14. Erix A.

    Random app crashes on MacOS

    Huh, solved the issue. Problem was in the C code, which was working fine on Windows, but was failing on MacOS (where gcc is actually clang).
  15. Erix A.

    Random app crashes on MacOS

    I have app, which works fine on Windows and I'm now trying to convert it to MacOS (Mojave). App uses some DLLs, written in C and compiled with gcc. Parameters to C functions are mostly passed as records (enums at the C side). Now, I recompiled the same DLLs as dylibs on a MAC and program works, but I get random crashes in libsystem_malloc, libsystem_platform and so on. I guess there's some issue with the memory management in my program, I just cannot catch it as crashes happen at pretty random places. Is there something special about how memory must be aligned or something when dealing with dylibs in MacOS? I'm loading those libraries dynamically and functions are resolved via GetProcAddress and they are defined as cdecl.