Closing the old peer connection

This commit is contained in:
Filipi Fuchter
2025-03-13 17:35:47 -03:00
parent 8f2dadf5a0
commit 8a7e305619
2 changed files with 21 additions and 13 deletions

View File

@@ -189,7 +189,7 @@ class SmallWebRTCClient:
except asyncio.TimeoutError:
if self._webrtcConnection.is_connected():
logger.warning("Timeout: No video frame received within the specified time.")
self._webrtcConnection.ask_to_renegotiate()
# self._webrtcConnection.ask_to_renegotiate()
frame = None
except MediaStreamError:
logger.warning("Received an unexpected media stream error while reading the audio.")