Table of Contents

Interface IAudioStreamSource

Namespace
LiveKit.Rtc
Assembly
LivekitRtc.dll

Interface for audio streams that can be mixed.

public interface IAudioStreamSource

Methods

ReadAsync(CancellationToken)

Reads the next audio frame from the stream.

ValueTask<AudioFrame?> ReadAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Cancellation token.

Returns

ValueTask<AudioFrame>

The next audio frame, or null if the stream is complete.