To address the frame drop and low framerate issues you're experiencing with LiveKit's egress service, here are some steps you can take:
•
Monitor System Resources: Ensure your CPU, memory, and storage bandwidth are sufficient during egress operations. High CPU usage or insufficient memory can cause frame drops.
•
Review Encoding Settings: Check your encoding parameters, such as framerate, video bitrate, and keyframe intervals. Adjust these settings to balance quality and performance.
•
Analyze Logs and Metrics: Examine the egress service logs for specific error messages and monitor metrics like frame drops, audio glitches, and synchronization issues.
•
Scaling Considerations: If handling multiple recordings, ensure proper resource allocation and consider horizontal scaling of egress services.
If you have specific error logs, egress requests, or additional context, I can assist further in diagnosing the issue. Let me know if you'd like help analyzing any specific details.
Sources:
livekit-api/src/services/egress.rs |
test/integration.go |
CHANGELOG.md |
Egress & Recording | livekit/livekit_composite | DeepWiki