mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
Changed debug levels
This commit is contained in:
parent
54dd424b01
commit
cb89bd3908
2 changed files with 8 additions and 1 deletions
|
|
@ -731,6 +731,7 @@ namespace PepperDash.Essentials
|
||||||
|
|
||||||
if (vcWithBranding == null) return;
|
if (vcWithBranding == null) return;
|
||||||
|
|
||||||
|
Debug.Console(1, this, "Setting Codec Branding");
|
||||||
vcWithBranding.InitializeBranding(Key);
|
vcWithBranding.InitializeBranding(Key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -455,7 +455,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
|
|
||||||
public void InitializeBranding(string roomKey)
|
public void InitializeBranding(string roomKey)
|
||||||
{
|
{
|
||||||
Debug.Console(2, this, "Initializing Branding for room {0}", roomKey);
|
Debug.Console(1, this, "Initializing Branding for room {0}", roomKey);
|
||||||
|
|
||||||
if (!BrandingEnabled)
|
if (!BrandingEnabled)
|
||||||
{
|
{
|
||||||
|
|
@ -468,6 +468,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
|
|
||||||
if (!String.IsNullOrEmpty(_brandingUrl))
|
if (!String.IsNullOrEmpty(_brandingUrl))
|
||||||
{
|
{
|
||||||
|
Debug.Console(1, this, "Branding URL found: {0}", _brandingUrl);
|
||||||
if (_brandingTimer != null)
|
if (_brandingTimer != null)
|
||||||
{
|
{
|
||||||
_brandingTimer.Stop();
|
_brandingTimer.Stop();
|
||||||
|
|
@ -489,6 +490,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
}, 0, 15000);
|
}, 0, 15000);
|
||||||
} else if (String.IsNullOrEmpty(_brandingUrl))
|
} else if (String.IsNullOrEmpty(_brandingUrl))
|
||||||
{
|
{
|
||||||
|
Debug.Console(1, this, "No Branding URL found");
|
||||||
if (mcBridge == null) return;
|
if (mcBridge == null) return;
|
||||||
|
|
||||||
Debug.Console(2, this, "Setting QR code URL: {0}", mcBridge.QrCodeUrl);
|
Debug.Console(2, this, "Setting QR code URL: {0}", mcBridge.QrCodeUrl);
|
||||||
|
|
@ -506,6 +508,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Debug.Console(1, this, "Sending url: {0}", mcBridge.QrCodeUrl);
|
||||||
|
|
||||||
SendText(String.Format(
|
SendText(String.Format(
|
||||||
"xcommand userinterface branding fetch type: branding url: {0}",
|
"xcommand userinterface branding fetch type: branding url: {0}",
|
||||||
mcBridge.QrCodeUrl));
|
mcBridge.QrCodeUrl));
|
||||||
|
|
@ -516,6 +520,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
|
|
||||||
private void SendBrandingUrl()
|
private void SendBrandingUrl()
|
||||||
{
|
{
|
||||||
|
Debug.Console(1, this, "Sending url: {0}", _brandingUrl);
|
||||||
|
|
||||||
SendText(String.Format("xcommand userinterface branding fetch type: branding url: {0}",
|
SendText(String.Format("xcommand userinterface branding fetch type: branding url: {0}",
|
||||||
_brandingUrl));
|
_brandingUrl));
|
||||||
SendText(String.Format("xcommand userinterface branding fetch type: halfwakebranding url: {0}",
|
SendText(String.Format("xcommand userinterface branding fetch type: halfwakebranding url: {0}",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue