mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-29 04:15:00 +00:00
feat(essentials): switches to userId argument
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user