Call Moderation
The Objective is to implement call moderation in application.
Call moderation refers to the management and control of the call to ensure a smooth and productive communication experience. Moderators have the following authorities.
· Adding or Removing the participant from the call
· Mute or Unmute participants
· Lock or Unlock a room,
· Set or Remove Moderator pin,
· Adding or Removing moderator privileges
· Recording the call
Let us look into the implementation of each of these in detail.
- Firstly, you need to register ModeratorResultEventListener to get notified about the results of moderator API and the received callbacks are:
- Register Listener:
public class MyClass : Connector. IRegisterModerationResultEventListener
{
public void OnModerationResult(Participant participant, Connector.ConnectorModerationResult result, Connector.ConnectorModerationActionType action, string requestId)
{
/*
Here you will capture the result of the action taken by moderator.
*/
}
}
Note: ConnectorModerationResult = result of moderation request
ConnectorModerationActionType = Action of moderation request
Action of moderation request include
· ConnectormoderationactiontypeMute,
· ConnectormoderationactiontypeUnmute,
· ConnectormoderationactiontypeStartLectureMode,
· ConnectormoderationactiontypeStopLectureMode,
· ConnectormoderationactiontypeSetPresenter,
· ConnectormoderationactiontypeRemovePresenter,
· ConnectormoderationactiontypeRaiseHand,
· ConnectormoderationactiontypeUnraiseHand,
· ConnectormoderationactiontypeDismissRaisedHand,
· ConnectormoderationactiontypeDismissAllRaisedHands,
· ConnectormoderationactiontypeSetModeratorPin,
· ConnectormoderationactiontypeRemoveModeratorPin,
· ConnectormoderationactiontypeDisconnectAll,
· ConnectormoderationactiontypeDisconnectOne,
· ConnectormoderationactiontypeInvalid
Last updated