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);
        }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
 protected override void CheckError(ErrorCode err)
 {
     if (err != ErrorCode.TTV_EC_SUCCESS)
     {
         System.Windows.Forms.MessageBox.Show(err.ToString());
     }
 }
Exemplo n.º 5
0
 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);
 }