def move_participant(self, data): if data['position'] == data['target']: # Well, that was easy return mcu = MedoozeMCU('127.0.0.1') ret = mcu.move_participant(data) self.sockets.send_conference("NOTIFY_PARTICIPANT_MOVE", ret)
def list_participants(self, data): mcu = MedoozeMCU('127.0.0.1') ret = mcu.list_participants(data) self.sockets.send_local("NOTIFY_PARTICIPANTS_LIST", ret)
def remove_participant(self, data): mcu = MedoozeMCU('127.0.0.1') ret = mcu.remove_participant(data) self.sockets.send_conference("NOTIFY_PARTICIPANT_REMOVE", ret)
def list_mosaic(self, data): mcu = MedoozeMCU('127.0.0.1') ret = mcu.list_mosaic(data) self.sockets.send_local("NOTIFY_MOSAIC", ret)