
                    }
                    break;
                    
                case 'obsStopStreaming':
                    if (obsStudio) {
                        try {
                            console.log("[OBS] Stopping streaming");
                            obsStudio.stopStreaming();
                            console.log("[OBS] Streaming stop command sent");
                        } catch (err) {
                            console.error("[OBS] Error stopping streaming:", err)