AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class StreamingAudioEventReceiver

    Event handler for real-time assistant events. Provides UnityEvents that are triggered by the RealtimeEventReceiver.

    Inheritance
    object
    StreamingAudioEventReceiver
    Implements
    IStreamingAudioEventReceiver
    Namespace: Glitch9.AIDevKit.Components
    Assembly: .dll
    Syntax
    public class StreamingAudioEventReceiver : MonoBehaviour, IStreamingAudioEventReceiver

    Methods

    OnReceiveAudio(float[])

    Invoked when a chunk of audio data (float array) is received during streaming.

    Declaration
    public void OnReceiveAudio(float[] audioData)
    Parameters
    Type Name Description
    float[] audioData

    OnReceiveAudioDone()

    Invoked when the full audio stream has been received and finalized.

    Declaration
    public void OnReceiveAudioDone()

    Implements

    IStreamingAudioEventReceiver
    In this article
    Back to top Generated by DocFX