feat(essentials): switches to userId argument

This commit is contained in:
Neil Dorin
2021-11-04 16:15:59 -06:00
parent 536e82ef22
commit 59bfa354e4
2 changed files with 6 additions and 6 deletions

View File

@@ -17,13 +17,13 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Interfaces
/// Removes the participant from the meeting
/// </summary>
/// <param name="participant"></param>
void RemoveParticipant(Participant participant);
void RemoveParticipant(int userId);
/// <summary>
/// Sets the participant as the new host
/// </summary>
/// <param name="participant"></param>
void SetParticipantAsHost(Participant participant);
void SetParticipantAsHost(int userId);
}
/// <summary>

View File

@@ -2529,14 +2529,14 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
public CodecParticipants Participants { get; private set; }
public void RemoveParticipant(Participant participant)
public void RemoveParticipant(int userId)
{
SendText(string.Format("zCommand Call Expel Id: {0}", participant.UserId));
SendText(string.Format("zCommand Call Expel Id: {0}", userId));
}
public void SetParticipantAsHost(Participant participant)
public void SetParticipantAsHost(int userId)
{
SendText(string.Format("zCommand Call HostChange Id: {0}", participant.UserId));
SendText(string.Format("zCommand Call HostChange Id: {0}", userId));
}
#endregion