Open dewinterjack opened 3 years ago
Can automate the server set-up. Chocolatey, powershell and Azure DSC works great together. This can help is we end up using pods and scaling.
If we use the timeline api we should obviously be naming this after the best champion in the game
I think we should try and define the schema for what an instruction to create gifs from a match should look like. Then we can create a separate service to create these instructions and push them to a queue.
An example message might look something like
{
gameId: 12345
clips: [
{
clipId: 1234
startTime: '3:07',
endTime: '3:17',
summoner: 'shinameega'
options: {
showFogOfWar: true,
resolution: 'ultra-wide'
}
}
]
}
Once a clip has been turned into a gif we can then upload it and associate the given clipId
with the resulting url.
Using League Client Update (LCU) we can talk to the client without logging in. Headless https://riot-api-libraries.readthedocs.io/en/latest/lcu.html
We can set up a specialized image captured from a windows azure vm.
Looks like we'll need a holistics azure account, will do that within the next day or two
Server running the League client. It uses replay files to browse a match replay and using instructions received from requests, will capture footage of a section of the match.
This will be used to create gifs.
Possible instructions: