TVILocalParticipantDelegate Protocol Reference

Conforms to NSObject
Declared in TVILocalParticipant.h

Overview

TVILocalParticipantDelegate provides callbacks when important events happen to a TVILocalParticipant.

– localParticipant:publishedAudioTrack:

Delegate method called when the Local Participant successfully publishes an audio track.

- (void)localParticipant:(nonnull TVILocalParticipant *)participant publishedAudioTrack:(nonnull TVILocalAudioTrackPublication *)publishedAudioTrack

Parameters

participant

The local participant.

publishedAudioTrack

The TVILocalAudioTrackPublication object.

Declared In

TVILocalParticipant.h

– localParticipant:failedToPublishAudioTrack:withError:

Delegate method called when the publication of an audio track fails.

- (void)localParticipant:(nonnull TVILocalParticipant *)participant failedToPublishAudioTrack:(nonnull TVILocalAudioTrack *)audioTrack withError:(nonnull NSError *)error

Parameters

participant

The local participant.

audioTrack

The audio track that failed publication.

error

An NSError object describing the reason for the failure.

Declared In

TVILocalParticipant.h

– localParticipant:publishedDataTrack:

Delegate method called when the Local Participant successfully publishes a data track.

- (void)localParticipant:(nonnull TVILocalParticipant *)participant publishedDataTrack:(nonnull TVILocalDataTrackPublication *)publishedDataTrack

Parameters

participant

The local participant.

publishedDataTrack

The TVILocalDataTrackPublication object.

Declared In

TVILocalParticipant.h

– localParticipant:failedToPublishDataTrack:withError:

Delegate method called when the publication of a data track fails.

- (void)localParticipant:(nonnull TVILocalParticipant *)participant failedToPublishDataTrack:(nonnull TVILocalDataTrack *)dataTrack withError:(nonnull NSError *)error

Parameters

participant

The local participant.

dataTrack

The data track that failed publication.

error

An NSError object describing the reason for the failure.

Declared In

TVILocalParticipant.h

– localParticipant:publishedVideoTrack:

Delegate method called when the Local Participant successfully publishes a video track.

- (void)localParticipant:(nonnull TVILocalParticipant *)participant publishedVideoTrack:(nonnull TVILocalVideoTrackPublication *)publishedVideoTrack

Parameters

participant

The local participant.

publishedVideoTrack

The TVILocalVideoTrackPublication object.

Declared In

TVILocalParticipant.h

– localParticipant:failedToPublishVideoTrack:withError:

Delegate method called when the publication of a video track fails.

- (void)localParticipant:(nonnull TVILocalParticipant *)participant failedToPublishVideoTrack:(nonnull TVILocalVideoTrack *)videoTrack withError:(nonnull NSError *)error

Parameters

participant

The local participant.

videoTrack

The video track that failed publication.

error

An NSError object describing the reason for the failure.

Declared In

TVILocalParticipant.h