This message was deleted.
# cloud
s
This message was deleted.
a
For your recordings, there is a tradeoff between recording mp4 (single file) and HLS (segments). mp4 is easier for distribution and use, but if an mp4 egress fails for some reason, you would lose the entire recording. With HLS, you would still have everything up until the point of failure, so if it’s absolutely critical to never lose data we recommend using HLS. That being said, we’ve put a lot of work into recording stability, and failures for room composite or web egress are quite rare (usually due to invalid s3 credentials or bad custom templates).
cc @dry-elephant-14928 for client video settings, but I believe 1080p is the max
d
Hey @ambitious-afternoon-18121, the default publishing resolution is 720p, but we do support publishing in 4k. You can adjust the settings here when creating a
Room
object and set
publishDefaults
like here.
let me find an example app that does this today
🙏 1
h
Thank you for the quick replies! Looking forward to seeing the sample app!
d
@handsome-secretary-13789 give this link a try. basically attach
hq=true
to the end of our Meets app would enable this mode. The source code for increasing resolution is here
🙏 1
h
Many thanks!!!
Hi again David @dry-elephant-14928 We implemented a POC storing videos on S3. I tested our “recorder” app. I noticed for part of the video — about a half second in a 1 minute recording, the video was frozen. I imagine it’s because my WiFi decided to crap out for that moment. Is it possible to set up LiveKit in a way that “caches” all video locally/client side and pushes it to the server to ensure no frames are lost? We don’t need anything to be real time or live we just need to record participants in our study for a few hours each.
d
it cannot cache video locally.
if you are looking for local recording, the browser APIs would probably be the better solution for you
🙏 1
h
Feature request for LiveKit, cache video client side and if there’s a sub5 second gap, send it across so while in the livestream it isn’t captured but in the recording it is “repaired”.
👍 1
d
yeah, we are thinking about how to perform this better.. basically having a blend of local + cloud recording.