# createConference
Description: Create a group conference.
Receiving a positive response ("result" : true
) indicates that the command has been accepted for execution. The result will arrive in a separate notification.
The successful conference start will be indicated in one of these ways:
Upon changing the current connection status to
5
, in the appStateChanged notificationThe notification conferenceCreated will be received
Request example:
{
"method" : "createConference",
"requestId" : "1",
"title" : "Code review",
"confType" : "role",
"autoAccept" : false,
"useWaitingRoom" : true,
"muteCamOnJoin" : false,
"muteMicOnJoin" : false,
"castersCount" : 4,
"inviteList" : [
"user1@some.server",
"user2@some.server",
"user3@some.server"
]
}
Response example:
{
"method" : "createConference",
"requestId" : "1",
"result" : true
}
Parameter description:
title
— Conference namecastersCount
- the number of participants in thevideo layout
that can be on the podium simultaneously (can be obtained from the getTariffRestrictions command or the tariffRestrictionsChanged notification)useWaitingRoom
- a flag that enables the waiting room upon conference start. Optional parameter. If not present, the default value offalse
will be used.muteCamOnJoin
- a flag that sets the automatic muting of the video capture device for a participant who has just joined a group conference. This is an optional parameter. If not specified, the default valuefalse
will be used.muteMicOnJoin
- a flag that sets the microphone to mute automatically for a participant of a group conference who has just joined. This is an optional parameter. If not specified, the default value offalse
will be used.smartMeeting
- a flag that starts thevideo selector
in the mode Automatic stage entry via VAD and should only be present if thevideo selector
is launched. This parameter is optional and if not present, defaults tofalse
.autoAccept
— Flag allowing participants to automatically join conferenceconfType
— Conference type. It can be as follows:symmetric
—All on screen
asymmetric
—Video lecture
role
-Role-based
inviteList
- an array of strings with unique identifiers of users ([TrueConf ID](TrueConf ID)), to whom an invitation to the conference will be sent. Possible values:PeerId - supported. Inside the application, it is automatically converted to CallId and the command is executed with it. In this case, the user will receive the invitation on all devices.
CallId - supported. The user will receive the invitation on all devices.
InstanceId - supported. The invitation will be received by the user on a specific application instance.
requestId
- a unique request identifier. You can learn more about it here.
There is no need to include the account under which VideoSDK/Room is authorized (that is, yourself) in the inviteList
; it will automatically be added as the first participant with the owner role.
See also:
- Waiting room
- getSessionLink
- getTariffRestrictions
- setWaitingRoomState
- setParticipantPresenceInWaitingRoom
- hangUp
- getConferenceParticipants
- inviteToConference
- changeConferenceMode
- conferenceCreated
- conferenceDeleted
- participantLeftConference
- newParticipantInConference
- smartMeetingModeChanged
- participantPresenceInWaitingRoomChanged
- waitingRoomStateChanged
- myStateInWaitingRoomChanged
- tariffRestrictionsChanged