Skip to content

Commit 05d308b

Browse files
committed
Fix bug with streaming from URL
1 parent 6b86ee8 commit 05d308b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/elevenlabs/realtime/scribe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ async def _connect_url(self, options: RealtimeUrlOptions) -> RealtimeConnection:
254254
# Build WebSocket URL
255255
ws_url = self._build_websocket_url(
256256
model_id=model_id,
257-
audio_format=audio_format,
257+
audio_format=audio_format.value,
258258
commit_strategy=commit_strategy.value,
259259
vad_silence_threshold_secs=vad_silence_threshold_secs,
260260
vad_threshold=vad_threshold,

0 commit comments

Comments
 (0)