                
                // Test the connection
                const version = await obsWebSocket.call('GetVersion');
                console.log('OBS Studio Version:', version.obsVersion);
            } catch (error) {
                console.warn('Failed to connect to OBS WebSocket:', error.message);
                console.log('Make sure OBS WebSocket is enabled in OBS Tools -> WebSocket Server Settings');
                obsWebSocket = null;
            }
        }
        
        /