TVIRemoteParticipantDelegate Protocol Reference

Conforms to NSObject
Declared in TVIRemoteParticipant.h

Overview

TVIRemoteParticipantDelegate provides callbacks when important changes to a TVIRemoteParticipant occur.

– remoteParticipant:publishedVideoTrack:

Delegate method called when the Participant publishes a video track.

- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant publishedVideoTrack:(nonnull TVIRemoteVideoTrackPublication *)publication

Parameters

participant

The remote Participant.

publication

The remote video track publication.

Declared In

TVIRemoteParticipant.h

– remoteParticipant:unpublishedVideoTrack:

Delegate method called when the Participant unpublishes a video track.

- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant unpublishedVideoTrack:(nonnull TVIRemoteVideoTrackPublication *)publication

Parameters

participant

The remote Participant.

publication

The remote video track publication.

Declared In

TVIRemoteParticipant.h

– remoteParticipant:publishedAudioTrack:

Delegate method called when the Participant publishes an audio track.

- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant publishedAudioTrack:(nonnull TVIRemoteAudioTrackPublication *)publication

Parameters

participant

The remote Participant.

publication

The remote audio track publication.

Declared In

TVIRemoteParticipant.h

– remoteParticipant:unpublishedAudioTrack:

Delegate method called when the Participant unpublishes an audio track.

- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant unpublishedAudioTrack:(nonnull TVIRemoteAudioTrackPublication *)publication

Parameters

participant

The remote Participant.

publication

The remote audio track publication.

Declared In

TVIRemoteParticipant.h

– remoteParticipant:publishedDataTrack:

Delegate method called when the Participant publishes a data track.

- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant publishedDataTrack:(nonnull TVIRemoteDataTrackPublication *)publication

Parameters

participant

The remote Participant.

publication

The remote data track publication.

Declared In

TVIRemoteParticipant.h

– remoteParticipant:unpublishedDataTrack:

Delegate method called when the Participant unpublishes a data track.

- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant unpublishedDataTrack:(nonnull TVIRemoteDataTrackPublication *)publication

Parameters

participant

The remote Participant.

publication

The remote data track publication.

Declared In

TVIRemoteParticipant.h

– remoteParticipant:enabledVideoTrack:

Delegate method called when the Participant enables a video track.

- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant enabledVideoTrack:(nonnull TVIRemoteVideoTrackPublication *)publication

Parameters

participant

The remote Participant.

publication

The remote video track publication.

Declared In

TVIRemoteParticipant.h

– remoteParticipant:disabledVideoTrack:

Delegate method called when the Participant disables a video track.

- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant disabledVideoTrack:(nonnull TVIRemoteVideoTrackPublication *)publication

Parameters

participant

The remote Participant.

publication

The remote video track publication.

Declared In

TVIRemoteParticipant.h

– remoteParticipant:enabledAudioTrack:

Delegate method called when the Participant enables an audio track.

- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant enabledAudioTrack:(nonnull TVIRemoteAudioTrackPublication *)publication

Parameters

participant

The remote Participant.

publication

The remote audio track publication.

Declared In

TVIRemoteParticipant.h

– remoteParticipant:disabledAudioTrack:

Delegate method called when the Participant disables an audio track.

- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant disabledAudioTrack:(nonnull TVIRemoteAudioTrackPublication *)publication

Parameters

participant

The remote Participant.

publication

The remote audio track publication.

Declared In

TVIRemoteParticipant.h

– subscribedToVideoTrack:publication:forParticipant:

Delegate method called when the local Participant has succesfully subscribed to the Participant’s remote video track.

- (void)subscribedToVideoTrack:(nonnull TVIRemoteVideoTrack *)videoTrack publication:(nonnull TVIRemoteVideoTrackPublication *)publication forParticipant:(nonnull TVIRemoteParticipant *)participant

Parameters

videoTrack

The remote video track.

publication

The remote video track publication.

participant

The remote Participant.

Declared In

TVIRemoteParticipant.h

– failedToSubscribeToVideoTrack:error:forParticipant:

Delegate method called when the local Participant has failed to subscribe to the Participant’s remote video track publication.

- (void)failedToSubscribeToVideoTrack:(nonnull TVIRemoteVideoTrackPublication *)publication error:(nonnull NSError *)error forParticipant:(nonnull TVIRemoteParticipant *)participant

Parameters

publication

The remote video track publication.

error

The error which indicates why the subscription failed.

participant

The remote Participant.

Declared In

TVIRemoteParticipant.h

– unsubscribedFromVideoTrack:publication:forParticipant:

Delegate method called when the local Participant has succesfully unsubscribed from the Participant’s remote video track.

- (void)unsubscribedFromVideoTrack:(nonnull TVIRemoteVideoTrack *)videoTrack publication:(nonnull TVIRemoteVideoTrackPublication *)publication forParticipant:(nonnull TVIRemoteParticipant *)participant

Parameters

videoTrack

The remote video track.

publication

The remote video track publication.

participant

The remote Participant.

Declared In

TVIRemoteParticipant.h

– subscribedToAudioTrack:publication:forParticipant:

Delegate method called when the local Participant has succesfully subscribed to the Participant’s remote audio track.

- (void)subscribedToAudioTrack:(nonnull TVIRemoteAudioTrack *)audioTrack publication:(nonnull TVIRemoteAudioTrackPublication *)publication forParticipant:(nonnull TVIRemoteParticipant *)participant

Parameters

audioTrack

The remote audio track.

publication

The remote audio track publication.

participant

The remote Participant.

Declared In

TVIRemoteParticipant.h

– failedToSubscribeToAudioTrack:error:forParticipant:

Delegate method called when the local Participant has failed to subscribe to the Participant’s remote audio track publication.

- (void)failedToSubscribeToAudioTrack:(nonnull TVIRemoteAudioTrackPublication *)publication error:(nonnull NSError *)error forParticipant:(nonnull TVIRemoteParticipant *)participant

Parameters

publication

The remote audio track publication.

error

The error which indicates why the subscription failed.

participant

The remote Participant.

Declared In

TVIRemoteParticipant.h

– unsubscribedFromAudioTrack:publication:forParticipant:

Delegate method called when the local Participant has succesfully unsubscribed from the Participant’s remote audio track.

- (void)unsubscribedFromAudioTrack:(nonnull TVIRemoteAudioTrack *)audioTrack publication:(nonnull TVIRemoteAudioTrackPublication *)publication forParticipant:(nonnull TVIRemoteParticipant *)participant

Parameters

audioTrack

The remote audio track.

publication

The remote audio track publication.

participant

The remote Participant.

Declared In

TVIRemoteParticipant.h

– subscribedToDataTrack:publication:forParticipant:

Delegate method called when the local Participant has succesfully subscribed to the Participant’s remote data track.

- (void)subscribedToDataTrack:(nonnull TVIRemoteDataTrack *)dataTrack publication:(nonnull TVIRemoteDataTrackPublication *)publication forParticipant:(nonnull TVIRemoteParticipant *)participant

Parameters

dataTrack

The remote data track.

publication

The remote data track publication.

participant

The remote Participant.

Declared In

TVIRemoteParticipant.h

– failedToSubscribeToDataTrack:error:forParticipant:

Delegate method called when the local Participant has failed to subscribe to the Participant’s remote data track publication.

- (void)failedToSubscribeToDataTrack:(nonnull TVIRemoteDataTrackPublication *)publication error:(nonnull NSError *)error forParticipant:(nonnull TVIRemoteParticipant *)participant

Parameters

publication

The remote data track publication.

error

The error which indicates why the subscription failed.

participant

The remote Participant.

Declared In

TVIRemoteParticipant.h

– unsubscribedFromDataTrack:publication:forParticipant:

Delegate method called when the local Participant has succesfully unsubscribed from the Participant’s remote data track.

- (void)unsubscribedFromDataTrack:(nonnull TVIRemoteDataTrack *)dataTrack publication:(nonnull TVIRemoteDataTrackPublication *)publication forParticipant:(nonnull TVIRemoteParticipant *)participant

Parameters

dataTrack

The remote data track.

publication

The remote data track publication.

participant

The remote Participant.

Declared In

TVIRemoteParticipant.h