Dora IOBridge Node
Generic WebSocket bridge between web clients and Dora dataflow.
Dora Outputs (WebSocket → Dora)
| Output |
Type |
Description |
text_out |
string |
Text from clients |
audio_out |
bytes |
WAV audio from clients |
data_out |
JSON |
Generic data from clients |
Dora Inputs (Dora → WebSocket)
| Input |
Type |
Description |
text_in |
string |
Text to broadcast |
audio_in |
bytes |
WAV audio to broadcast |
data_in |
JSON |
Generic data to broadcast |
Environment Variables
| Variable |
Default |
Description |
WS_HOST |
0.0.0.0 |
Bind address |
WS_PORT |
8765 |
Listen port |
WebSocket Endpoint
Default: ws://0.0.0.0:8765
WebSocket Protocol
Client → Server
| Type |
Field |
Description |
text |
content |
Text string |
audio |
content |
Base64-encoded WAV |
data |
payload |
Any JSON object |
ping |
- |
Health check |
Examples:
Server → Client
| Type |
Field |
Description |
text |
content |
Text string |
audio |
content |
Base64-encoded WAV |
data |
payload |
Any JSON object |
pong |
- |
Response to ping |
error |
message |
Error description |
Examples:
Dataflow Example
Testing