Skip to content

Commit

Permalink
remove unnecessary checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Moishe authored and chadbailey59 committed Apr 2, 2024
1 parent 366a06b commit 77a943c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/dailyai/services/websocket_transport_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ def __init__(self, **kwargs):
TextFrame, AudioFrame, TTSEndFrame, TTSStartFrame])
self._serializer = kwargs.get("serializer", ProtobufFrameSerializer())

if self._camera_enabled:
raise ValueError(
"Camera is not supported in WebsocketTransportService")

if self._speaker_enabled:
self._speaker_buffer_pending = bytearray()

self._server: websockets.WebSocketServer | None = None
self._websocket: websockets.WebSocketServerProtocol | None = None

Expand Down

0 comments on commit 77a943c

Please sign in to comment.