Table of Contents

Class PublishDataTrackInstruction

Namespace
LiveKit

YieldInstruction for publishing a data track. Returned by PublishDataTrack(DataTrackOptions).

public sealed class PublishDataTrackInstruction : YieldInstruction
Inheritance
PublishDataTrackInstruction
Inherited Members
Extension Methods

Remarks

Access Track after checking IsError.

Properties

Error

public PublishDataTrackError Error { get; }

Property Value

PublishDataTrackError

Track

The published data track. Use TryPush(DataTrackFrame) to send data frames on the track.

public LocalDataTrack Track { get; }

Property Value

LocalDataTrack

Exceptions

PublishDataTrackError

Thrown if the publish operation failed.