Implementing reconnection logic.

This commit is contained in:
Filipi Fuchter
2025-03-12 18:23:12 -03:00
parent 9cad8bfcc6
commit d33a4b3a11
2 changed files with 66 additions and 25 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
if frame is None or not isinstance(frame, VideoFrame):