Table of Contents
API reference

Interface IExternalOpusSource

Namespace
DisCatSharp.Voice.Interfaces
Assembly
DisCatSharp.Voice.dll

Provides a stream of pre-encoded Opus frames from an external audio source.

public interface IExternalOpusSource

Remarks

Implementations produce Opus frames that bypass the internal Opus encoder in VoiceConnection, while still going through RTP framing, DAVE E2EE encryption, and AEAD transport encryption.

Methods

ReadFramesAsync(CancellationToken)

Asynchronously reads Opus frames from the external source.