fwestenberg / reolink_dev

Home Assistant Reolink addon
MIT License
553 stars 101 forks source link

Problem Android 13 stream #561

Open PM44-droid opened 1 year ago

PM44-droid commented 1 year ago

Describe the bug

Hello, the stream of my camera doesn't work anymore since i uptaded my mobile phone to Android 13. I try with another integration " generic camera" and the stream is ok.

On my computeur and on the mobile phone of my wife (Android 12) it works correctly.

Thanks in advance for your help

To Reproduce

Logger: root Source: components/stream/worker.py:394 First occurred: 16:28:06 (1 occurrences) Last logged: 16:28:06 Uncaught thread exception

Traceback (most recent call last): File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/local/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/usr/src/homeassistant/homeassistant/components/stream/init.py", line 406, in _run_worker stream_worker( File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 590, in stream_worker packet = next(container_packets) File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 394, in next return self._next() File "av/container/input.pyx", line 181, in demux File "av/container/streams.pyx", line 63, in av.container.streams.StreamContainer.getitem File "av/container/streams.pyx", line 106, in av.container.streams.StreamContainer.get IndexError: list index out of range

Environment:

Home Assistant 2022.8.7 Supervisor 2022.08.5 Operating System 8.5

Additional context Android 13 on google pixel 5