mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
simple_server: asyncio TimeoutError has moved
We didn't notice this because the logging was broken.
This commit is contained in:
parent
77ae10ab66
commit
0776def18c
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class WebRTCSimpleServer(object):
|
|||
while msg is None:
|
||||
try:
|
||||
msg = await asyncio.wait_for(ws.recv(), self.keepalive_timeout)
|
||||
except (asyncio.exceptions.TimeoutError, concurrent.futures._base.TimeoutError):
|
||||
except (asyncio.TimeoutError, concurrent.futures._base.TimeoutError):
|
||||
print('Sending keepalive ping to {!r} in recv'.format(raddr))
|
||||
await ws.ping()
|
||||
return msg
|
||||
|
|
Loading…
Reference in a new issue