Note: The Websocket API is highly specific to the needs of Pixelpulse. We're looking to improve it, so tell us what you'd like to do with it. The REST API is recommended for most users at this time.

Websocket endpoint is http://localhost:9003/ws/v0

Messages are encoded as JSON.

Details to be added


For client->server messages, the _cmd field is one of the following:

selectDevice

configure

listen

cancelListen

startCapture

pauseCapture

set

controlTransfer


For server -> client messages, the _action field is one of the following:

serverHello

devices

deviceInfo

captureState

configuration

captureReset

update

outputChanged

controlTransferReturn