protected override void CheckError(ErrorCode err) { if (err != ErrorCode.TTV_EC_SUCCESS) { System.Windows.Forms.MessageBox.Show(err.ToString()); } }
protected override bool CheckError(Twitch.ErrorCode err) { if (Error.Failed(err)) { System.Windows.Forms.MessageBox.Show(err.ToString()); return(false); } return(true); }
protected void HandleFrameSubmissionIssue(ErrorCode result) { // if you are receiving TTV_WRN_QUEUELENGTH then it's possible the bitrate is too high for the user's internet connection DebugOverlay.Instance.AddViewportText("FrameSubmissionIssue: " + result.ToString(), 1); }