Skip to content

Conversation

@davidzhao
Copy link
Member

otherwise it will raise an exception when FrameProcessor isn't active

Traceback (most recent call last):
  File "/app/venv/lib/python3.13/site-packages/livekit/rtc/audio_stream.py", line 276, in _run
    if self._processor is not None and self._processor.enabled:
       ^^^^^^^^^^^^^^^
AttributeError: 'AudioStream' object has no attribute '_processor'

otherwise it will raise an exception when FrameProcessor isn't active

```
Traceback (most recent call last):
  File "/app/venv/lib/python3.13/site-packages/livekit/rtc/audio_stream.py", line 276, in _run
    if self._processor is not None and self._processor.enabled:
       ^^^^^^^^^^^^^^^
AttributeError: 'AudioStream' object has no attribute '_processor'
```
@davidzhao davidzhao requested review from a team and lukasIO December 14, 2025 18:56
@davidzhao davidzhao merged commit 24d09f8 into main Dec 14, 2025
16 checks passed
@davidzhao davidzhao deleted the fix-audiostream branch December 14, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AudioStream raises AttributeError: '_processor' attribute not initialized in v1.0.21

3 participants