summaryrefslogtreecommitdiff
path: root/src/obswebsocket.cr
AgeCommit message (Collapse)AuthorFilesLines
2022-11-21Allow "retry: false" to fail and pass exceptions to callerJoe Rayhawk1-152/+143
2022-11-19SceneItem.enable and .disable! should probably block.Joe Rayhawk1-2/+6
AFAIK we don't especially care about latency on these.
2022-11-19Rename OBSWebSocket::Server to OBS::WebSocket for brevity and clarityJoe Rayhawk1-103/+103
2022-11-19All debug statements to STDERR instead of STDOUTJoe Rayhawk1-24/+23
2022-11-19First pass at some logic for non-persistence.Joe Rayhawk1-11/+46
2022-11-12Events: fill out potential event list and note needed workJoe Rayhawk1-3/+77
2022-11-12Server.initialize: invalidate caches on reconnectJoe Rayhawk1-9/+24
2022-11-12Scene.metascene simplify metascene[] and fix metascene?[]Joe Rayhawk1-14/+13
2022-11-09metascene: recurse into meta-meta-scenes and provide array of SceneItem for ↵Joe Rayhawk1-7/+13
multiple matches. This is an API-breaking change.
2022-11-09preview! and program! need to block to avoid strange transition! behaviorJoe Rayhawk1-2/+6
2022-11-07Signal websocket I/O fiber to terminate on connection close.Joe Rayhawk1-7/+6
Previously I/O fibers would overstay their welcome and start interfering with eachother for new connections.
2022-11-04Add authentication support.v5.0.1.20221104.alpha1Joe Rayhawk1-3/+20
2022-10-29Fiberize all event and response handling.Joe Rayhawk1-44/+50
This patch may also get rid of some race conditions and deadlocks.
2022-10-29Limit connection failure spam and add negotiated flag.Joe Rayhawk1-0/+22
2022-10-29Remove mentions of "obs5"Joe Rayhawk1-7/+6
I don't expect to care about protocol versions for a while.
2022-10-29createinput(): return JSON::Any response dataJoe Rayhawk1-0/+1
This makes the sceneItemId available to the caller.
2022-10-29Cache last known real SceneItemTransformJoe Rayhawk1-2/+12
This can be used to derive a useful sourceHeight and sourceWidth on sources that initialize at 0.
2022-10-28Crystal OBS-WebSocket object relational mapping and control interface ↵v5.0.1.20201028.alpha1Joe Rayhawk1-0/+923
initial commit.