"handle" roomClosed message
[toast/stream2beamer.git] / lagarde.py
index bc7a99b4c2c469db4348b74b023e514858a06bd5..0603bbbe11f586c0c365d85a80300e8dd4451113 100755 (executable)
@@ -192,6 +192,9 @@ class Lagarde:
                     value_json = json.loads(msg_value)
                     log.info(f'ICE: {value_json}')
                     self.received_ice_candidates.append(value_json)
+                elif msg_type == 'roomClosed':
+                    log.info('Oh noes, the room went away!')
+                    # and here we should clean up
                 else:
                     log.error(f'Unknown message type {msg_type}')