TVIRemoteParticipantDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TVIRemoteParticipant.h |
Overview
TVIRemoteParticipantDelegate
provides callbacks when important changes to a TVIRemoteParticipant
occur.
– remoteParticipant:didPublishVideoTrack:
Delegate method called when the Participant publishes a video track.
- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant didPublishVideoTrack:(nonnull TVIRemoteVideoTrackPublication *)publication
Parameters
participant |
The remote Participant. |
---|---|
publication |
The remote video track publication. |
Declared In
TVIRemoteParticipant.h
– remoteParticipant:didUnpublishVideoTrack:
Delegate method called when the Participant unpublishes a video track.
- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant didUnpublishVideoTrack:(nonnull TVIRemoteVideoTrackPublication *)publication
Parameters
participant |
The remote Participant. |
---|---|
publication |
The remote video track publication. |
Declared In
TVIRemoteParticipant.h
– remoteParticipant:didPublishAudioTrack:
Delegate method called when the Participant publishes an audio track.
- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant didPublishAudioTrack:(nonnull TVIRemoteAudioTrackPublication *)publication
Parameters
participant |
The remote Participant. |
---|---|
publication |
The remote audio track publication. |
Declared In
TVIRemoteParticipant.h
– remoteParticipant:didUnpublishAudioTrack:
Delegate method called when the Participant unpublishes an audio track.
- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant didUnpublishAudioTrack:(nonnull TVIRemoteAudioTrackPublication *)publication
Parameters
participant |
The remote Participant. |
---|---|
publication |
The remote audio track publication. |
Declared In
TVIRemoteParticipant.h
– remoteParticipant:didPublishDataTrack:
Delegate method called when the Participant publishes a data track.
- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant didPublishDataTrack:(nonnull TVIRemoteDataTrackPublication *)publication
Parameters
participant |
The remote Participant. |
---|---|
publication |
The remote data track publication. |
Declared In
TVIRemoteParticipant.h
– remoteParticipant:didUnpublishDataTrack:
Delegate method called when the Participant unpublishes a data track.
- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant didUnpublishDataTrack:(nonnull TVIRemoteDataTrackPublication *)publication
Parameters
participant |
The remote Participant. |
---|---|
publication |
The remote data track publication. |
Declared In
TVIRemoteParticipant.h
– remoteParticipant:didEnableVideoTrack:
Delegate method called when the Participant enables a video track.
- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant didEnableVideoTrack:(nonnull TVIRemoteVideoTrackPublication *)publication
Parameters
participant |
The remote Participant. |
---|---|
publication |
The remote video track publication. |
Declared In
TVIRemoteParticipant.h
– remoteParticipant:didDisableVideoTrack:
Delegate method called when the Participant disables a video track.
- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant didDisableVideoTrack:(nonnull TVIRemoteVideoTrackPublication *)publication
Parameters
participant |
The remote Participant. |
---|---|
publication |
The remote video track publication. |
Declared In
TVIRemoteParticipant.h
– remoteParticipant:didEnableAudioTrack:
Delegate method called when the Participant enables an audio track.
- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant didEnableAudioTrack:(nonnull TVIRemoteAudioTrackPublication *)publication
Parameters
participant |
The remote Participant. |
---|---|
publication |
The remote audio track publication. |
Declared In
TVIRemoteParticipant.h
– remoteParticipant:didDisableAudioTrack:
Delegate method called when the Participant disables an audio track.
- (void)remoteParticipant:(nonnull TVIRemoteParticipant *)participant didDisableAudioTrack:(nonnull TVIRemoteAudioTrackPublication *)publication
Parameters
participant |
The remote Participant. |
---|---|
publication |
The remote audio track publication. |
Declared In
TVIRemoteParticipant.h
– didSubscribeToVideoTrack:publication:forParticipant:
Delegate method called when the local Participant has succesfully subscribed to the Participant’s remote video track.
- (void)didSubscribeToVideoTrack:(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
– didFailToSubscribeToVideoTrack:error:forParticipant:
Delegate method called when the local Participant has failed to subscribe to the Participant’s remote video track publication.
- (void)didFailToSubscribeToVideoTrack:(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
– didUnsubscribeFromVideoTrack:publication:forParticipant:
Delegate method called when the local Participant has succesfully unsubscribed from the Participant’s remote video track.
- (void)didUnsubscribeFromVideoTrack:(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
– didSubscribeToAudioTrack:publication:forParticipant:
Delegate method called when the local Participant has succesfully subscribed to the Participant’s remote audio track.
- (void)didSubscribeToAudioTrack:(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
– didFailToSubscribeToAudioTrack:error:forParticipant:
Delegate method called when the local Participant has failed to subscribe to the Participant’s remote audio track publication.
- (void)didFailToSubscribeToAudioTrack:(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
– didUnsubscribeFromAudioTrack:publication:forParticipant:
Delegate method called when the local Participant has succesfully unsubscribed from the Participant’s remote audio track.
- (void)didUnsubscribeFromAudioTrack:(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
– didSubscribeToDataTrack:publication:forParticipant:
Delegate method called when the local Participant has succesfully subscribed to the Participant’s remote data track.
- (void)didSubscribeToDataTrack:(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
– didFailToSubscribeToDataTrack:error:forParticipant:
Delegate method called when the local Participant has failed to subscribe to the Participant’s remote data track publication.
- (void)didFailToSubscribeToDataTrack:(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
– didUnsubscribeFromDataTrack:publication:forParticipant:
Delegate method called when the local Participant has succesfully unsubscribed from the Participant’s remote data track.
- (void)didUnsubscribeFromDataTrack:(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