mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-14 20:24:57 +00:00
fix(essentials): Adds extra private field to trigger OnShareInfoChanged
This commit is contained in:
@@ -448,6 +448,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
private bool _isAirHostClientConnected;
|
private bool _isAirHostClientConnected;
|
||||||
private bool _isSharingBlackMagic;
|
private bool _isSharingBlackMagic;
|
||||||
private bool _isDirectPresentationConnected;
|
private bool _isDirectPresentationConnected;
|
||||||
|
private bool _isBlackMagicConnected;
|
||||||
|
|
||||||
|
|
||||||
public string directPresentationPairingCode { get; set; }
|
public string directPresentationPairingCode { get; set; }
|
||||||
@@ -484,7 +485,18 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool isBlackMagicConnected { get; set; }
|
public bool isBlackMagicConnected
|
||||||
|
{
|
||||||
|
get { return _isBlackMagicConnected; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (value != _isBlackMagicConnected)
|
||||||
|
{
|
||||||
|
_isBlackMagicConnected = value;
|
||||||
|
NotifyPropertyChanged("isBlackMagicConnected");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
public bool isBlackMagicDataAvailable { get; set; }
|
public bool isBlackMagicDataAvailable { get; set; }
|
||||||
|
|
||||||
public bool isDirectPresentationConnected
|
public bool isDirectPresentationConnected
|
||||||
|
|||||||
@@ -3586,6 +3586,18 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
|
|
||||||
void OnShareInfoChanged(zStatus.Sharing status)
|
void OnShareInfoChanged(zStatus.Sharing status)
|
||||||
{
|
{
|
||||||
|
Debug.Console(2, this,
|
||||||
|
@"ShareInfoChanged:
|
||||||
|
isSharingHDMI: {0}
|
||||||
|
isSharingAirplay: {1}
|
||||||
|
AirplayPassword: {2}
|
||||||
|
OSD Display State: {3}
|
||||||
|
",
|
||||||
|
status.isSharingBlackMagic,
|
||||||
|
status.isAirHostClientConnected,
|
||||||
|
status.password,
|
||||||
|
status.dispState);
|
||||||
|
|
||||||
var handler = ShareInfoChanged;
|
var handler = ShareInfoChanged;
|
||||||
if (handler != null)
|
if (handler != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user