Skip to content

Commit ca34ece

Browse files
committed
Use enum
1 parent 07988dc commit ca34ece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/elevenlabs/realtime/scribe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ async def _connect_url(self, options: RealtimeUrlOptions) -> RealtimeConnection:
249249

250250
# Default to 16kHz for URL streaming
251251
sample_rate = 16000
252-
audio_format = "pcm_16000"
252+
audio_format = AudioFormat.PCM_16000
253253

254254
# Build WebSocket URL
255255
ws_url = self._build_websocket_url(

0 commit comments

Comments
 (0)