toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.realtime
/
RealtimeAudioFormat
Realtime
Audio
Format
@
Serializable
data
class
RealtimeAudioFormat
(
val
type
:
String
=
"audio/pcm"
,
val
rate
:
Int
?
=
null
)
Audio media type; PCM uses 24000 Hz.
Members
Constructors
Realtime
Audio
Format
Link copied to clipboard
constructor
(
type
:
String
=
"audio/pcm"
,
rate
:
Int
?
=
null
)
Properties
rate
Link copied to clipboard
val
rate
:
Int
?
=
null
Sample rate for PCM.
type
Link copied to clipboard
val
type
:
String
audio/pcm, audio/pcmu or audio/pcma.