• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    FR: Websockets actor

    Troubleshooting and Bug Reports
    3
    6
    2062
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • eight
      eight last edited by

      Scenario I need this for: I am using an Augmented Theatre App during the shows, in which the audience's smartphones are controlled by the server using OSC protocol. For realtime immediate action on hundreds of the devices, I found that OSC is not the best tool. Theoretically, I think the websockets protocol is better: the connection between the server and the client does not have to be established on every command. I think websockets will be better for the task. I could have a standalone websocket server up and running in a few minutes (which itself is controlled by Isadora using OSC) , for example, using node.js, however, in the field maintaining another layer should be avoided.

      --8

      Analysis: http://post.scriptum.ru | Synthesis: http://onewaytheater.us
      Twitter: https://twitter.com/eight_io | Flickr: http://www.flickr.com/photos/eight_io/
      Github: https://github.com/eighteight | MulchCam: https//mulchcam.com
      MulchTune: https://itunes.apple.com/us/app/mulch-tune/id1070973465 | Augmented Theatre: https://augmentedtheatre.com

      1 Reply Last reply Reply Quote 0
      • Fred
        Fred last edited by

        I agree to some degree, but if you analyze the data topology of a show, it would make a lot of sense to offload the websockets communication to another layer, or better yet computer. In this scenario if possible I would run it on another machine, not adding this proces in Isadoras non-threaded environmnet, rather letting izzy just send a command to run a service.

        Node-red is your friend here, super easy and fast to configure and it will do everything you need. You could run it in the background or on another machine (even an Rpi, but it is worth checking the performacne but a 3 should do it fine)
        I also had excellent and very fast connectivity with websockets even over 3g internet....it is a great technology.

        http://www.fredrodrigues.net/
        https://github.com/fred-dev
        OSX 13.6.4 (22G513) MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
        Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD

        1 Reply Last reply Reply Quote 0
        • eight
          eight last edited by

          Thanks @Fred for validating my desire to start using websockets.

          Regarding the architecture: It's a realtime TJ application, which already runs on a separate computer / dedicated Isadora. My goal is to switch it to websockets so that operator does not have to be re-trained. Installing and maintaining node js layer, for example, would mean a risk of operator's not being able to bring the whole system up before the show.
          --8

          Analysis: http://post.scriptum.ru | Synthesis: http://onewaytheater.us
          Twitter: https://twitter.com/eight_io | Flickr: http://www.flickr.com/photos/eight_io/
          Github: https://github.com/eighteight | MulchCam: https//mulchcam.com
          MulchTune: https://itunes.apple.com/us/app/mulch-tune/id1070973465 | Augmented Theatre: https://augmentedtheatre.com

          1 Reply Last reply Reply Quote 0
          • Fred
            Fred last edited by

            Check node-red, you can make it start on boot very easily.

            http://www.fredrodrigues.net/
            https://github.com/fred-dev
            OSX 13.6.4 (22G513) MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
            Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD

            1 Reply Last reply Reply Quote 0
            • DusX
              DusX Tech Staff last edited by

              If you are sending OSC via udp a connection shouldnt need to be established for each message.

              Sockets are great for larger sets of data. I've used them for a number of things... need to be dealt with in a non blocking way.

              Troikatronix Technical Support

              • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
              • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
              • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

              Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

              1 Reply Last reply Reply Quote 0
              • eight
                eight last edited by

                @DusX

                _If you are sending OSC via udp a connection shouldnt need to be established for each message_
                You may be right there, however UDP itself does not guarantee the message delivery: either way, I am seeing not all messages delivered to all devices, or delivered at different times.
                Yeah, for the large data, non–blocking can be important.
                @Fred: will check node-red, thanks.
                --8

                Analysis: http://post.scriptum.ru | Synthesis: http://onewaytheater.us
                Twitter: https://twitter.com/eight_io | Flickr: http://www.flickr.com/photos/eight_io/
                Github: https://github.com/eighteight | MulchCam: https//mulchcam.com
                MulchTune: https://itunes.apple.com/us/app/mulch-tune/id1070973465 | Augmented Theatre: https://augmentedtheatre.com

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post