private void OnConnectorFailed(object sender, FailedEventArgs args) { this.plugin.QueueAction(() => { this.ManagerState = ManagerState.ConnectorFailed; }); }
private void OnCaptureFailed(object sender, FailedEventArgs args) { this.plugin.QueueAction(() => { Debug.LogWarningFormat("MrvcCapture failed: {0} - {1}", args.Result, args.Message); this.CaptureState = CaptureState.Failed; this.Shutdown(); }); }
private void OnPlaybackFailed(object sender, FailedEventArgs args) { this.plugin.QueueAction(() => { Debug.LogWarningFormat("MrvcPlayer failed: {0} - {1}", args.Result, args.Message); this.PlayerState = PlayerState.Failed; this.Shutdown(); }); }