Valid communications between StreamMachine's master and slaves.
Broadcast of an updated config. Slave is expected to reconfigure itself accordingly.
Expected response: None
Request for a stream status report. Used in slave sync checks.
Expected response: Hash containing timing information for the slave's stream rewind buffers.
Broadcast of a chunk of stream audio data. Sent as {stream:KEY,chunk:chunk}
.
Expected Response: None
Part of the initial connection handshake.
Expected response: "OK"
Request for a stream's "vitals" (ie emit duration and stream key).
Expected response: Vitals hash
Log entry being proxied to master. Expects an object with level
, msg
and meta
Expected Response: None
Analytics event being proxied to master.