← Back

ofxUnitySocket

github.com/amkraft/ofxUnitySocket · @amkraft
OF 0.9 Web/Networking Video/Camera Bridges

send live video (and other) from openFrameworks to Unity with Socket.io

2 2 Last commit 10y ago Created 10y ago

Forks

Forks pushed to more recently than amkraft/ofxUnitySocket itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

jamoski3112/ofxUnitySocket by @jamoski3112 · ★ 0 · pushed 8y ago

README

openFrameworks & Unity



Send data from openFrameworks to Unity via Socket.io, fast enough to be able to send low-res video

setup



download and install ofxSocketIO move the openFrameworks folder into your sketches folder run npm install then node server.js to begin server

configure



manage ip and ports in 3 locations:

NODE port in server.js OpenFrameworks port and IP in ofApp.cpp Unity port and IP in /Assets/SocketIO/Scripts/SocketIO/SocketIOComponents.cs or in GameController scene object info panel.

current settings: port is set to 3000, sending across a LAN, and the computer running OF is also running the Node server.

notes



this uses unity-socket.io, which is depricated but works for now. (It's already included in this project)

also this isn't in the standard format of an openFrameworks ofx extension. it can be but it's more of an example project right now.

Get this addon

HTTPS
SSH