Class PublishDataInstruction
- Namespace
- LiveKit
YieldInstruction for publishing data packets. Returned by PublishData(byte[], IReadOnlyCollection<string>, bool, string).
public sealed class PublishDataInstruction : YieldInstruction
- Inheritance
-
PublishDataInstruction
- Inherited Members
- Extension Methods
Remarks
Read Error after checking IsError. A packet that exceeds the negotiated maximum message size completes with IsError true and a descriptive Error message.
Properties
Error
The error message if the publish failed, otherwise null.
public string Error { get; }