⚠️ Missing Firebase Admin credentials: FIREBASE_ADMIN_PRIVATE_KEY_ID, FIREBASE_ADMIN_PRIVATE_KEY
Firebase functionality will be disabled
Optional services initialization completed
[2/28/2025, 9:24:19 PM] [INFO] HTTP server listening on port undefined:8001
[2/28/2025, 9:24:19 PM] [INFO] Rtmp Server listening on port undefined:1935
9:24:19 PM [express] ✅ Vite setup completed
9:24:19 PM [express] Attempting to start server on port 5000...
9:24:19 PM [express] ✅ Server running at http://0.0.0.0:5000
[RTMP] Server is already running
9:24:19 PM [express] ✅ RTMP Server started successfully
[2/28/2025, 9:24:27 PM] [INFO] RTMP session qqg6oeqgc67tbocb ::ffff:37.210.80.26:37395 start push /live/session_3
[2/28/2025, 9:24:27 PM] [INFO] RTMP session 2d0z8unzamfd0p0r ::ffff:37.210.80.26:65388 start push /live/3
[2/28/2025, 9:24:27 PM] [INFO] RTMP session zsrxsrhcxrkart68 ::ffff:37.210.80.26:65390 start push /live/test-stream
Fetching user with ID: 7
User found: true
[RTMP] Status check - Server running: true
9:24:44 PM [express] GET /api/rtmp/status 304 in 1471ms :: {"isRunning":true}
Fetching user with ID: 7
User found: true
Fetching user with ID: 7
9:24:45 PM [express] GET /api/transcriptions 304 in 2764ms :: [{"id":313,"sessionId":3,"status":"pen…
User found: true
9:24:46 PM [express] GET /api/questions 304 in 811ms :: [{"id":15,"userId":7,"sessionId":8,"question…
Fetching user with ID: 7
Fetching user with ID: 7
User found: true
User found: true
Fetching user with ID: 7
User found: true
9:24:50 PM [express] GET /api/sessions 304 in 4287ms :: [{"id":3,"eventId":1,"sessionTitle":"Interna…
Fetching user with ID: 7
User found: true
9:24:54 PM [express] GET /api/transcriptions/active 304 in 621ms :: {"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
9:24:55 PM [express] POST /api/transcriptions/start 200 in 1026ms :: {"message":"Transcription start…
Found existing settings
🔄 Running in live mode for session 3
🎥 Checking RTMP stream status for URL: rtmp://confapp.co:1935/live/3
Fetching user with ID: 7
Fetching user with ID: 7
User found: true
User found: true
9:24:56 PM [express] GET /api/transcriptions/active 200 in 617ms :: {"activeSessionIds":[3]}
[RTMP] Current active streams: []
[RTMP] Stream 3 active status: false
❌ Error processing stream clip for session 3: Error: No active stream found for session 3. Please ensure the stream is being published to the correct URL: rtmp://confapp.co:1935/live/3
    at processStreamClip (/home/confapp/public_html/server/transcription-service.ts:166:15)
Failed to process stream clip for session 3: Error: No active stream found for session 3. Please ensure the stream is being published to the correct URL: rtmp://confapp.co:1935/live/3
    at processStreamClip (/home/confapp/public_html/server/transcription-service.ts:166:15)
9:24:57 PM [express] GET /api/transcriptions 304 in 1395ms :: [{"id":313,"sessionId":3,"status":"pen…
Fetching user with ID: 7
User found: true
[RTMP] Status check - Server running: true
9:24:57 PM [express] GET /api/rtmp/status 304 in 613ms :: {"isRunning":true}
Fetching user with ID: 7
User found: true
⏹ Transcription service stopped for session 3