Skip to content

Instantly share code, notes, and snippets.

View lee-brown's full-sized avatar

Lee Brown lee-brown

View GitHub Profile
@lee-brown
lee-brown / obs-websocket 4.5.0 protocol reference.md
Last active October 7, 2023 05:52
obs-websocket 4.5.0 protocol reference

obs-websocket 4.5.0 protocol reference

General Introduction

Messages are exchanged between the client and the server as JSON objects. This protocol is based on the original OBS Remote protocol created by Bill Hamilton, with new commands specific to OBS Studio.

Authentication

obs-websocket uses SHA256 to transmit credentials.

@lee-brown
lee-brown / main.js
Created March 18, 2019 15:54
Mixer Example
'use strict';
const Mixer = require('@mixer/client-node');
const ws = require('ws');
const client = new Mixer.Client(new Mixer.DefaultRequestRunner());
let userInfo;
let userId;
let channelId;
@lee-brown
lee-brown / nginx.conf
Last active March 16, 2019 19:05
nginx config obs to http
worker_processes auto;
events {
worker_connections 1024;
}
# RTMP configuration
rtmp {
server {
listen 1935; # Listen on standard RTMP port
chunk_size 4000;