new HTML5 websocket/http server external
this is the first version of an external that you can use to serve up a webpage as the front-end to your max patch. You can then communicate with each connected client’s web browser independently. Communication is bi-directional and uses HTML5 websockets, so it should be much better than old-skool approaches (e.g. continually polling the server for changes as done in my previous attempt at this maxwebcontrol). Also this server is written in C/C++ has a lot less overhead than net.loadbang.web which is done in mxj.
browser support is not great at the moment. It works best in Chrome. The example is not working well for me in firefox or safari on my mac, although it works ok in safari on my ipad.
please let me know how you get on.
I have this IOS app that acts as an IP camera. You type in 188.8.131.52 or whatever into URL bar and voila, video feed from the iPad. Problem is, this IP address is the full package so I can’t have a qt.movie "read" it. I do know that it’s based on WebSocket, though I’m not quite sure what that means. Will this external help me to translate the websocket video into something Jitter can use by chance?
no this external is for embedding a web server into your max patch. I don’t know the details of your ios app, but i guess it is running it’s own embedded web server, and websockets are used to send the video data to the connected clients.
if you need to get streams from ip cameras into jitter, perhaps something here will help: http://cycling74.com/search-results/?q=IP%20camera
This looks great, thanks for sharing. I will let you know how my experience goes!
Good stuff! I have no direct application for it right now but nice to have in the toolbox :)
Btw, the connect button in the example didn’t have a label in Firefox27.0.1 but it did in Safari. OSX10.7.5.
Oli this is fantastic, great work!