private void Skype_CallVideoSendStatusChanged(Call call, TCallVideoSendStatus status) { this.Logger.Debug(System.Reflection.MethodBase.GetCurrentMethod().Name); }
public void OurCallVideoSendStatusChanged(Call call, TCallVideoSendStatus status) { // Always use try/catch with ANY Skype calls. try { // Write Call Video Send Status Changed to Window. AddTextToTextBox1(DateTime.Now.ToLocalTime() + ": " + "Call Video Send Status Changed - Call Id: " + call.Id + " - Type Converted: " + skype.Convert.CallTypeToText(call.Type) + " - Type: " + call.Type + " - PartnerHandle: " + call.PartnerHandle + " - Converted TCallVideoSendStatus Status: " + skype.Convert.CallVideoSendStatusToText(status) + " - TCallVideoSendStatus: " + status + "\r\n"); } catch (Exception e) { // Possibly old Skype4COM version, log an error, drop into debug if wanted. AddTextToTextBox1(DateTime.Now.ToLocalTime() + ": " + "Call Video Send Status Changed Event Fired - Bad Text" + " - Exception Source: " + e.Source + " - Exception Message: " + e.Message + "\r\n"); // If the "Use Auto Debug" check box is checked and we are in debug, drop into debug here when retry, otherwise, prompt for action. Debug.Assert(!this.UseAutoDebug.Checked); } }