Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: OSC via Websocket

Hybrid View

  1. #1
    Junior Member
    Join Date
    Mar 2018
    Posts
    5

    OSC via Websocket

    Im trying to control a Teensy 4.1 with a web interface. I'm connected to the teensy with my laptop via ethernet, later on I would also like to connect with wifi.
    The teensy acts as a server, hosting the website. Now I'm trying to add two way communcation via OSC. Because the Teensy is already hosting the website it would be great if it could also provide the Websocket server which I would use to enable the OSC communication.
    Is there an example how to get OSC via websocket working with the Teensy acting as the server, or are there better approaches?

  2. #2
    Junior Member
    Join Date
    Mar 2018
    Posts
    5
    Update: I managed to get websockets (server and client) working! I therefore added support for the Teensy 4.1 to the ArduinoWebsockets library. In this example, the Teensy is both a web server and a websockets server. I'll now try adding OSC and post my progress in case somebody comes across this thread via the search.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •