God I'm a twat

This commit is contained in:
Marks Polakovs 2020-04-13 13:25:00 +02:00
parent c3b0f5675b
commit 49572f7f0a

View file

@ -238,9 +238,10 @@ class Session(object):
try: try:
frame = await track.recv() frame = await track.recv()
except MediaStreamError as e: except MediaStreamError as e:
print(self.connection_id, e) print(self.connection_id, "MediaStreamError")
print(e)
await self.end() await self.end()
raise e break
if self.running: if self.running:
# Right, depending on the format, we may need to do some fuckery. # Right, depending on the format, we may need to do some fuckery.
# Jack expects all audio to be 32 bit floating point # Jack expects all audio to be 32 bit floating point