Closed eric closed 3 years ago
Thanks! Looks great.
What is the profile function code? Is it provided by OBS Studio?
Yes, it's provided by OBS and is output to stdout on exit when you run OBS via the command line.
Sweet!
Is it something that we can keep in the prod builds, or is it automatically ifdef'd out?
It’s fine to keep in production builds. It’s used in the encoder plugins in OBS, etc.
Sweet - thanks for the clarification :)
This will hopefully prevent video lag. I've been running into many issues with lag over extended uses and I was hoping this would help.
Also, this solves potential memory leaks that happen when packets are dropped.