Uh oh!
There was an error while loading. Please reload this page.
Update the packet more often - #25
Conversation
This will improve accuracy in overlay
IamEld3st
commented
Mar 17, 2019
Is this okay to merge? |
tarehart
commented
Mar 17, 2019
You're calling from overlay.html to python at 60Hz which was a CPU killer for me. I reduced that frequency dramatically to make the overlay a better citizen while I was streaming. We should probably find the right frequency for that expensive call, and do these updates at a matching frequency because even though it's fairly cheap, there's no point in exceeding the other rate, I think. |
IamEld3st
commented
Mar 17, 2019
At this moment I am considering switching this the other way around... aka create JS "interface" that can also be called from the python side... add events like on goal on kickoff on end JS events that get called from python side. |
tarehart
commented
Mar 17, 2019
Yeah, that's a good idea! |
Martmists-GH
commented
Mar 17, 2019
Odd, I had no issues at all with a higher refresh rate |
IamEld3st
commented
Mar 20, 2019
Currently merging... Issue will be fixed in an incoming PR... |
This will improve accuracy in overlay