Closed IceyTroll closed 3 years ago
hm thanks
public static int[] GenerateRT() { int Zk = (int)-Math.Floor(10 new Random().NextDouble()); int Oq = (int)-Math.Floor(40 new Random().NextDouble()); int[] rt = { 10 + Zk, 10, 10, 40 + Oq - Zk, 40 }; return rt; }
wait what is that
rt is double, as i know why is there int[]?
yeah you are right. it was my mistake on that one
Thank you for contributing!
So if anyone is wondering you need to implement a request to https://www.youtube.com/api/stats/playback which will initialize the viewer so it is counted towards live viewer. Then you must keep the connection through https://www.youtube.com/api/stats/watchtime.
Will answer any questions you have :)
Here is some RE code from YT to make it easier: ` public static int[] GenerateRT() { int Zk = (int)-Math.Floor(10 new Random().NextDouble()); int Oq = (int)-Math.Floor(40 new Random().NextDouble()); int[] rt = { 10 + Zk, 10, 10, 40 + Oq - Zk, 40 }; return rt; }
`