We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af35e5a commit 3101b74Copy full SHA for 3101b74
src/agents/realtime/audio_formats.py
@@ -11,11 +11,9 @@
11
12
from ..logger import logger
13
14
-type LegacyRealtimeAudioFormats = Literal["pcm16", "g711_ulaw", "g711_alaw"]
15
-
16
17
def to_realtime_audio_format(
18
- input_audio_format: LegacyRealtimeAudioFormats | RealtimeAudioFormats | None,
+ input_audio_format: str | RealtimeAudioFormats | None,
19
) -> RealtimeAudioFormats | None:
20
format: RealtimeAudioFormats | None = None
21
if input_audio_format is not None:
0 commit comments