Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. oskaremilsson
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 15
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by oskaremilsson

    • oskaremilsson

      Cant connect to hub with Fold 3
      Flic Hub • • oskaremilsson

      6
      0
      Votes
      6
      Posts
      2158
      Views

      oskaremilsson

      @oskaremilsson yup. Erm. So.. this is awkward.
      The phones BLE scanner must have gotten stuck in some bad state.
      A restart of the phone worked 🤦‍♂️

      Didn't cross my mind that the issue could be that deep into the system.
      As a dev I should've tested that as #1 though 🙃

      Thanks, and sorry! 😅

    • oskaremilsson

      Promises instead of Callbacks?
      Flic Hub SDK • • oskaremilsson

      3
      0
      Votes
      3
      Posts
      1487
      Views

      oskaremilsson

      @Emil Ok, thanks for info 🙂

    • IRTCP v1.0.0 (Hub server for using IR module via HTTP)
      Flic Hub SDK • • oskaremilsson

      17
      2
      Votes
      17
      Posts
      5912
      Views

      Emil

      @mullz Now I get it. There is another bug in both the code from @oskaremilsson as well as the code from @jitmo. By using the .on method on the IR object, you add a new listener (i.e. append it to the list of listeners). You never remove the listeners, however. That's why all the registered listeners get called on every recordComplete event. You can for example use the .once method instead. Just remember to also manually remove the listener when you cancel the recording process using for example the .removeAllListeners method.

    • oskaremilsson

      Add yarn/npm modules
      Flic Hub SDK • • oskaremilsson

      2
      0
      Votes
      2
      Posts
      1209
      Views

      Emil

      Our runtime is not 100% compatible with node.js and you can't directly install npm modules. However you could try copy-paste the source code into our IDE and maybe it will work.

    • oskaremilsson

      Hub SDK IR Module not playing
      Flic Hub SDK • • oskaremilsson

      4
      0
      Votes
      4
      Posts
      1631
      Views

      oskaremilsson

      @Emil
      Did the record part work all the time, while the playing part failed all the time? Yes.

      Are you using the 1st hub generation or the 2nd (Hub LR)? 2nd.

      But my bet is that I might have sent in some bad Array while testing that made the IR-queue never emptying/play never ending? Maybe.