Search Results for

    Show / Hide Table of Contents

    Class RealtimeEvent.Client.OutputAudioBuffer

    Inheritance
    object
    RealtimeEvent.Client.OutputAudioBuffer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenAI.Realtime
    Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
    Syntax
    public static class RealtimeEvent.Client.OutputAudioBuffer

    Fields

    | Edit this page View Source

    Clear

    WebRTC Only: Emit to cut off the current audio response. This will trigger the server to stop generating audio and emit a output_audio_buffer.cleared event. This event should be preceded by a response.cancel client event to stop the generation of the current response. (https://platform.openai.com/docs/guides/realtime-conversations#client-and-server-events-for-audio-in-webrtc)

    Declaration
    public const string Clear = "output_audio_buffer.clear"
    Field Value
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation