Maybe the event handler "completed" will not be called due to the release of GC resources?
public void StartVideo(WerCamera camera) { Credential creadential = new Credential() { Email = CurrentUser.Email, Password = CurrentUser.Password, SessionNumber = SessionNumber}; CommandsClient client = new CommandsClient(); client.StartVideoCompleted += client_StartVideoCompleted; client.StartVideoAsync(int.Parse(camera.Id), creadential, ClientInfo); client.CloseAsync(); }
janiv source share