TVIParticipantDelegate Protocol Reference

Conforms to NSObject
Declared in TVIParticipant.h

Overview

TVIParticipantDelegate provides callbacks when important changes to a TVIParticipant occur.

– participant:addedVideoTrack:

Delegate method called when the Participant adds a video track.

- (void)participant:(nonnull TVIParticipant *)participant addedVideoTrack:(nonnull TVIVideoTrack *)videoTrack

Parameters

participant

The Participant who added the video.

videoTrack

The added video track. You can use TVIVideoTrack’s attach API or add a renderer to it to display the Participant’s video feed.

Declared In

TVIParticipant.h

– participant:removedVideoTrack:

Delegate method called when the Participant removes a video track.

- (void)participant:(nonnull TVIParticipant *)participant removedVideoTrack:(nonnull TVIVideoTrack *)videoTrack

Parameters

participant

The Participant.

videoTrack

The removed video track.

Declared In

TVIParticipant.h

– participant:addedAudioTrack:

Delegate method called when the Participant adds an audio track.

- (void)participant:(nonnull TVIParticipant *)participant addedAudioTrack:(nonnull TVIAudioTrack *)audioTrack

Parameters

participant

The Participant.

audioTrack

The added audio track.

Declared In

TVIParticipant.h

– participant:removedAudioTrack:

Delegate method called when the Participant removes an audio track.

- (void)participant:(nonnull TVIParticipant *)participant removedAudioTrack:(nonnull TVIAudioTrack *)audioTrack

Parameters

participant

The Participant.

audioTrack

The removed audio track.

Declared In

TVIParticipant.h

– participant:enabledTrack:

Delegate method called when the Participant enables a track.

- (void)participant:(nonnull TVIParticipant *)participant enabledTrack:(nonnull TVITrack *)track

Parameters

participant

The Participant.

track

The track.

Declared In

TVIParticipant.h

– participant:disabledTrack:

Delegate method called when the Participant disables a track.

- (void)participant:(nonnull TVIParticipant *)participant disabledTrack:(nonnull TVITrack *)track

Parameters

participant

The Participant.

track

The track.

Declared In

TVIParticipant.h