Merge pull request #3959 from ajmeraharsh/fix/livekit-call-state-updated-args
fix(livekit): remove redundant self arg in on_call_state_updated
This commit is contained in:
1
changelog/3959.fixed.md
Normal file
1
changelog/3959.fixed.md
Normal file
@@ -0,0 +1 @@
|
||||
- Fixed `on_call_state_updated` event handler in LiveKit transport receiving incorrect number of arguments due to redundant `self` passed to `_call_event_handler`.
|
||||
@@ -1244,7 +1244,7 @@ class LiveKitTransport(BaseTransport):
|
||||
|
||||
async def _on_call_state_updated(self, state: str):
|
||||
"""Handle call state update events."""
|
||||
await self._call_event_handler("on_call_state_updated", self, state)
|
||||
await self._call_event_handler("on_call_state_updated", state)
|
||||
|
||||
async def _on_first_participant_joined(self, participant_id: str):
|
||||
"""Handle first participant joined events."""
|
||||
|
||||
Reference in New Issue
Block a user