Closing the old peer connection
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user