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 *)publishedAudioTrackParameters
participant |
The local participant. |
|---|---|
publishedAudioTrack |
The |
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 *)errorParameters
participant |
The local participant. |
|---|---|
audioTrack |
The audio track that failed publication. |
error |
An |
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 *)publishedDataTrackParameters
participant |
The local participant. |
|---|---|
publishedDataTrack |
The |
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 *)errorParameters
participant |
The local participant. |
|---|---|
dataTrack |
The data track that failed publication. |
error |
An |
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 *)publishedVideoTrackParameters
participant |
The local participant. |
|---|---|
publishedVideoTrack |
The |
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 *)errorParameters
participant |
The local participant. |
|---|---|
videoTrack |
The video track that failed publication. |
error |
An |
Declared In
TVILocalParticipant.h
– localParticipant:networkQualityLevelDidChange:
Delegate method called when the Local Participant’s networkQualityLevel has changed.
- (void)localParticipant:(nonnull TVILocalParticipant *)participant networkQualityLevelDidChange:(TVINetworkQualityLevel)networkQualityLevel Parameters
participant |
The local participant. |
|---|---|
networkQualityLevel |
The new Network Quality Level. |
Declared In
TVILocalParticipant.h