On_newParticipantInConference

TrueConf7/5/26About 4 min

On_newParticipantInConference

Description

Notification after a new participant has joined a conference

EventHandler<string> On_newParticipantInConference

Response example

{
    "peerId": "user2@some.server",
    "peerDn": "user2",
    "recordingMe": false,
    "recordingByMe": false,
    "mic": 1,
    "video": 1,
    "slideShow": false,
    "role": 2,
    "broadcast": true,
    "audioReceiving": true,
    "videoReceiving": false,
    "extraVideo": 2,
    "event": "newParticipantInConference",
    "leaderType" : 1,
    "confId": "00000351@some.server#vcs",
    "pinned" : false,
    "isInWaitingRoom": false,
    "method": "event"
}

Response Parameters

NameDescription
peerIdTrueConf ID, unique user identifier
peerDnUser display name
pinnedA flag indicating that a participant is pinned in the Automatic stage appearance by VAD mode. It is present only in video selector
confIdUnique identifier of an ongoing conference
broadcastFlag showing whether a user is a presenter on the podium. It is available in role-based conferences only
roleUser role. It is available in role-based conferences only. It can be as follows:
• 0 - Without changes
• 1 - General
• 2 - The conference owner
• 3 - User who has requested to take the floor themselves
• 4 - The user who was invited to the podium
• 5 - The user who is currently making an audio reply
micMicrophone state flag. It can be as follows:
• 0 - A device is missing or not selected
• 1 - The device is selected but muted (audio capture is turned off)
• 2 - A device is selected and enabled
recordingMeThe flag indicating if a user is currently recording video and audio streams from TrueConf VideoSDK. The parameter is optional
recordingByMeThe flag indicating if TrueConf VideoSDK is currently recording video and audio streams from the user. The parameter is optional
videoCamera state flag. It can be as follows:
• 0 - A device is missing or not selected
• 1 - A device is selected but muted
• 2 - A device is selected and enabled
slideShowFlag showing whether this participant is showing slides
extraVideoFeed type. The parameter may be unavailable. It can have the following values:
• 0 - Video shared from camera
• 1 - Content sharing
• 2 - Video shared from camera that cannot be switched to content
audioReceivingReception of audio from a participant. The parameter is optional
videoReceivingReception of video from a participant. The parameter is optional
leaderTypeThe type of participant. This parameter is unavailable for a video call. The following values are possible:
• 0 - General
• 1 - Conference owner
• 2 - Operator
• 3 - Moderator
isInWaitingRoomA flag indicating whether the conference participant is in the waiting room. This field is present only if the moderated TrueConf VideoSDK is the owner or moderator of the group conference

See also

Last Updated: