VTConferenceDelegate

The VTConferenceDelegate model allows subscribing to callbacks that inform about the ConferenceService events.

Methods

statusUpdated

statusUpdated(status: VTConferenceStatus)

Called when a conference status changes.

Parameters:

NameTypeDefaultDescription
statusVTConferenceStatusnilThe conference status.

permissionsUpdated

permissionsUpdated(permissions: [Int])

Called when the local participant's conference permission changes.

Parameters:

NameTypeDefaultDescription
permissions[Int]nilThe updated conference permission, where [Int] represents an array of VTConferencePermission raw values.

participantAdded

participantAdded(participant: VTParticipant)

Called when a new participant is invited to a conference.

Parameters:

NameTypeDefaultDescription
participantVTParticipantnilThe invited participant.

participantUpdated

participantUpdated(participant: VTParticipant)

Called when a participant changes status.

Parameters:

NameTypeDefaultDescription
participantVTParticipantnilThe conference participant who changed status.

streamAdded

streamAdded(participant: VTParticipant, stream: MediaStream)

Called when a new media stream is added to a conference participant.

Parameters:

NameTypeDefaultDescription
participantVTParticipantnilThe participant whose stream was added to a conference.
streamMediaStreamnilThe added media stream.

streamUpdated

streamUpdated(participant: VTParticipant, stream: MediaStream)

Called when a conference participant modifies a media stream.

Parameters:

NameTypeDefaultDescription
participantVTParticipantnilThe participant whose stream was updated during a conference.
streamMediaStreamnilThe updated media stream.

streamRemoved

streamRemoved(participant: VTParticipant, stream: MediaStream)

Called when a conference participant removes a media stream.

Parameters:

NameTypeDefaultDescription
participantVTParticipantnilThe participant whose stream was removed from a conference.
streamMediaStreamnilThe removed media stream.