Table of Contents

Class StreamYieldInstruction

Namespace
LiveKit
public class StreamYieldInstruction : CustomYieldInstruction
Inheritance
StreamYieldInstruction
Derived
Extension Methods

Properties

IsEos

True if the stream has reached the end.

public bool IsEos { get; protected set; }

Property Value

bool

keepWaiting

public override bool keepWaiting { get; }

Property Value

bool

Methods

Reset()

Resets the yield instruction for the next read.

public override void Reset()

Remarks

Calling this method after IsEos is true will throw an exception.