Firebase functionality will be disabled
Optional services initialization completed
[2/28/2025, 9:40:41 PM] [INFO] HTTP server listening on port undefined:8001
[2/28/2025, 9:40:41 PM] [INFO] Rtmp Server listening on port undefined:1935
9:40:41 PM [express] ✅ Vite setup completed
9:40:41 PM [express] Attempting to start server on port 5000...
9:40:41 PM [express] ✅ Server running at http://0.0.0.0:5000
[RTMP] Server is already running
9:40:41 PM [express] ✅ RTMP Server started successfully
[2/28/2025, 9:40:42 PM] [INFO] RTMP session ft3r1qhd9gch8cmv ::ffff:37.210.80.26:50988 start push /live/3
[2/28/2025, 9:40:42 PM] [INFO] RTMP session o2rydvr83qq9hewv ::ffff:37.210.80.26:38265 start push /live/test-stream
[2/28/2025, 9:40:42 PM] [INFO] RTMP session omkxt3n8vroh60x6 ::ffff:37.210.80.26:50990 start push /live/session_3
Fetching user with ID: 7
User found: true
9:40:44 PM [express] GET /api/transcriptions/active 200 in 1537ms :: {"activeSessionIds":[]}
Fetching user with ID: 7
User found: true
Fetching user with ID: 7
9:40:46 PM [express] GET /api/transcriptions 200 in 2116ms :: [{"id":314,"sessionId":3,"status":"acc…
User found: true
[RTMP] Status check - Server running: true
9:40:46 PM [express] GET /api/rtmp/status 200 in 634ms :: {"isRunning":true}
Fetching user with ID: 7
User found: true
Fetching user with ID: 7
User found: true
[RTMP] Status check - Server running: true
9:40:54 PM [express] GET /api/rtmp/status 304 in 636ms :: {"isRunning":true}
Fetching user with ID: 7
User found: true
[RTMP] Status check - Server running: true
9:41:00 PM [express] GET /api/rtmp/status 304 in 635ms :: {"isRunning":true}
Fetching user with ID: 7
User found: true
Fetching user with ID: 7
User found: true
9:41:06 PM [express] GET /api/transcriptions/active 304 in 634ms :: {"activeSessionIds":[]}
Fetching user with ID: 7
User found: true
🚀 Starting transcription service for session: 3
🎬 Starting stream clip processing for session 3
Fetching settings
📝 Transcription service started for session 3
Found existing settings
🔄 Running in live mode for session 3
[RTMP] Checking stream 3, active streams: []
[RTMP] Stream 3 active status: false
[RTMP] Checking stream session_3, active streams: []
[RTMP] Stream session_3 active status: false
[Transcription] Stream status check: { standardActive: false, sessionActive: false, sessionId: 3 }
❌ Error processing stream clip for session 3: Error: No active stream found for session 3. Stream should be published to either:
- rtmp://rtmp://confapp.co:1935:1935/live/3
- rtmp://rtmp://confapp.co:1935:1935/live/session_3
    at processStreamClip (/home/confapp/public_html/server/transcription-service.ts:56:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Failed to process stream clip for session 3: Error: No active stream found for session 3. Stream should be published to either:
- rtmp://rtmp://confapp.co:1935:1935/live/3
- rtmp://rtmp://confapp.co:1935:1935/live/session_3
    at processStreamClip (/home/confapp/public_html/server/transcription-service.ts:56:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
9:41:09 PM [express] POST /api/transcriptions/start 200 in 1661ms :: {"message":"Transcription start…
Fetching user with ID: 7
Fetching user with ID: 7
User found: true
9:41:10 PM [express] GET /api/transcriptions/active 200 in 603ms :: {"activeSessionIds":[3]}
User found: true
Fetching user with ID: 7
User found: true
[RTMP] Status check - Server running: true
9:41:11 PM [express] GET /api/rtmp/status 304 in 1193ms :: {"isRunning":true}
9:41:11 PM [express] GET /api/transcriptions 304 in 1466ms :: [{"id":314,"sessionId":3,"status":"acc…
Fetching user with ID: 7
User found: true
⏹ Transcription service stopped for session 3