You are browsing as a guest. Sign up (or log in) to start making projects!

1h 21m 50s logged

A demonstration of everything that works* now, including the main menu, opening the file, showing the video, changing the stream metadata and ending the stream.

The Frame Rate

Adjusting for framerate uses delta time between the start and end of frame, and if it’s smaller than the allocated time for one frame, it waits. Of course I couldn’t just do Thread.Sleep() because if someone sets the stream to 1fp4s then you’d have to wait the full 4 seconds before being to exit, so it just continues the loop and on each next iteration checks if the time has passed. Janky? Maybe. works? well enough.

0
8

Comments 0

No comments yet. Be the first!