mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-14 20:24:57 +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
|
/// Removes the participant from the meeting
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="participant"></param>
|
/// <param name="participant"></param>
|
||||||
void RemoveParticipant(Participant participant);
|
void RemoveParticipant(int userId);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets the participant as the new host
|
/// Sets the participant as the new host
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="participant"></param>
|
/// <param name="participant"></param>
|
||||||
void SetParticipantAsHost(Participant participant);
|
void SetParticipantAsHost(int userId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -2529,14 +2529,14 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
|||||||
|
|
||||||
public CodecParticipants Participants { get; private set; }
|
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
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user