Beispiel #1
0
 def disable_recording(self):
     """Disable recording."""
     user = User(self._name)
     user._mrec = False
     rooms = set(self._rooms.values())
     for room in rooms:
         room.set_recording_mode(0)
Beispiel #2
0
 def enable_recording(self):
     """Enable recording if available."""
     user = User(self._name)
     user._mrec = True
     rooms = set(self._rooms.values())
     for room in rooms:
         room.set_recording_mode(1)