Skip to main content
First, install the Reactor Runtime package:
pip install reactor-runtime
The runtime uses GStreamer as the default WebRTC transport for hardware-accelerated encoding and a wider range of codecs. To enable it, first install the GStreamer system libraries for your platform, then install the Python bindings:
pip install reactor-runtime[gst]
If GStreamer is not available, the runtime automatically falls back to aiortc, a pure-Python WebRTC implementation that works without any system dependencies. You can always install GStreamer later without changing your model code.
Verify the installation by checking the CLI:
reactor --help
You should see the available commands including run and init.

Next

Now that the runtime is installed, learn how models are loaded and how weights stay in memory across sessions:

Model Instancing

How models are loaded and instantiated, with weights staying in memory across sessions.