Skip to content

Instantly share code, notes, and snippets.

View StoneyEagle's full-sized avatar
🦅

Stoney Eagle StoneyEagle

🦅
View GitHub Profile
@StoneyEagle
StoneyEagle / obs-websocket.js
Created March 6, 2024 22:59 — forked from clarkio/obs-websocket.js
Connecting to OBS Websocket Server with Authentication
const obsConfig = {
address: '127.0.0.1',
port: 4455,
password: 'your-password'
}
const socket = new WebSocket(`ws://${obsConfig.address}:${obsConfig.port}`);
const password = obsConfig.password;
socket.onopen = function(event) {