Class RealtimeAudioFormatDto
Inherited Members
Namespace: Glitch9.AIDevKit.OpenAI.Realtime
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
Syntax
public sealed class RealtimeAudioFormatDto
Fields
| Edit this page View SourcePCM
The PCM audio format. Only a 24kHz sample rate is supported.
Declaration
public static readonly RealtimeAudioFormatDto PCM
Field Value
| Type | Description |
|---|---|
| RealtimeAudioFormatDto |
PCMA
The G.711 A-law format.
Declaration
public static readonly RealtimeAudioFormatDto PCMA
Field Value
| Type | Description |
|---|---|
| RealtimeAudioFormatDto |
PCMU
The G.711 mu-law format.
Declaration
public static readonly RealtimeAudioFormatDto PCMU
Field Value
| Type | Description |
|---|---|
| RealtimeAudioFormatDto |
Properties
| Edit this page View SourceRate
Optional. The sample rate of the audio. Always 24000.
Declaration
[JsonProperty("rate")]
public int? Rate { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Type
Optional. The audio format.
Declaration
[JsonProperty("type")]
public string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |