Live 3D Stream from Blender to Browser

Hart writes:

For streaming the data the only real option is Websockets, and the best Python3 library for Websockets I could find is Websockify by Joel Martin. I was a bit confused at first by the code in Websockify, because it includes some extra scripts for running TCP proxies and rebinding ports (written in C). However, the only file required from Websockify is “websocket.py” which is pure python and requires no compiled modules. To get Websockify working inside Blender I only had to overload the start_server method not to use Multiprocessing.

Link

Advertisement