Integrate WebSocket server into Eye Tribe server?

All development related discussions that does not concern a specific programming language. For example, JSON data format, server communication etc.

Integrate WebSocket server into Eye Tribe server?

Postby czei002 » 14 Jan 2015, 05:52

Hi, I'm writing an Eye Tribe extension for Chrome. Since the security model of Chrome does not allow tcp connections one has to use WebSockets. However, to do so you need another WebSocket server running, e.g., https://github.com/kzokm/eyetribe-websocket or https://github.com/nulltask/the-eye-tribe-websocket-server. This server does nothing else than dispatching requests from the Chrome extension to the Eye Tribe tcp server.

From the end user perspective it's very cumbersome to have the Eye Tribe server and the WebSocket server running at the same time. My question is, are there any plans to let the Eye Tribe server act as a WebSocket server? or as a tcp and a WebSocket server at the same time? This would simplify stuff.

It would also be nice if the Eye Tribe server could run as a background service and not in a terminal window...

If there are already solutions for these problems please let me know! thanks a lot.
czei002
 
Posts: 2
Joined: 14 Jan 2015, 05:29

Re: Integrate WebSocket server into Eye Tribe server?

Postby Martin » 19 Jan 2015, 16:08

Totally agree. We're planning to improve on both items (websockets & service) but can't promise a firm release date yet. Currently the option is to use the proxy-hack or a Chrome app (w/ raw sockets), for the service use the SrvStart or similar.
Martin
 
Posts: 567
Joined: 29 Oct 2013, 15:20


Return to General



cron