LoafOrc / Flashcard

Makes the Video Camera more configurable!
0 stars 1 forks source link

Uploading Delay between Packets causes Extraction Failure #1

Open SlenLen opened 3 months ago

SlenLen commented 3 months ago

So, not sure if I'm correct on this, but it seems that the Delay between sending packets is guaranteed to cause extraction failures as it makes the total time to send all chunks way too high.

(This is the part I'm not exactly sure on but) A "video chunk" seemingly corresponds to one frame. This means that with a delay of 0.5 seconds and a framerate of 24fps, 10 seconds of video need 120 seconds to send to other players. As you will likely record way more than 10 seconds you can see how that stacks up.

Since not all video chunks will be sent by the time the video should be extracted, the game will delay the extraction up the max. limit and then fail.

Lowering the delay also doesn't work. Before the update that changed the mod behaviour to the current one, everything worked fine.

LoafOrc commented 3 months ago

Uhh maybe but probably not. Video Chunks are blocks of 30kb (which is the vanilla default) and the delay is 0.5 (which is the vanilla default). The only problem that could arise is because Flashcard increases the quality and therefore the size of videos it needs more chunks. But because i'm using the default vanilla values its should all be working fine.

I will tweak them next release though.