Initial commit - OBS Source Switcher Plugin UI
Some checks failed
Lint and Build / build (20) (push) Has been cancelled
Lint and Build / build (22) (push) Has been cancelled

Complete Next.js application for managing OBS Source Switcher
- Stream management with multiple screen layouts
- Team management CRUD operations
- SQLite database integration
- OBS WebSocket API integration
- Updated to latest versions (Next.js 15.4.1, React 19.1.0, Tailwind CSS 4.0.0)
- Enhanced .gitignore for privacy and development
This commit is contained in:
Decobus 2025-07-15 22:15:57 -04:00
commit 1d4b1eefba
43 changed files with 9596 additions and 0 deletions

20
testObs.js Normal file
View file

@ -0,0 +1,20 @@
const { connectToOBS, getOBSClient, disconnectFromOBS } = require('./lib/obsClient');
async function testOBS() {
try {
await connectToOBS();
console.log('OBS WebSocket connected successfully.');
// Perform additional OBS calls here, if needed.
const obs = getOBSClient();
const { inputs } = await obs.call('GetInputList');
console.log(inputs)
const { inputSettings } = await obs.call('GetInputSettings', { inputName:'ss_left' });
console.log('Source Switcher Settings:', inputSettings);
// console.log(obs)
await disconnectFromOBS();
} catch (error) {
console.error('Error:', error.message);
}
}
testOBS();