You're asking whether MP4 can be used for egress recordings or if only OGG is supported — MP4 is supported.
• MP4 is supported for room composite egress, web egress, and track composite egress (video + audio).
• OGG is used specifically for raw Opus audio when using track egress audio-only exports.
If you tell me which egress type you're using (room composite, web, track composite, or track), I can give the exact output settings or an example command.
Sources:
RoomComposite Egress | LiveKit Docs |
Web Egress | LiveKit Docs |
Universal Egress |
Track egress | LiveKit docs