OSC via Websocket

Status
Not open for further replies.

arnoson

Member
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?
 
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.
 
Status
Not open for further replies.
Back
Top