public async Task Init() { client.Connect(); stateServer.Listen(); await TrySendCommand(client.Init); await TrySendCommand(client.StreamOn); ffmpeg.Spawn(); }