Esempio n. 1
0
    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)
Esempio n. 2
0
    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)
Esempio n. 3
0
    def list_participants(self, data):
        mcu = MedoozeMCU('127.0.0.1')
        ret = mcu.list_participants(data)

        self.sockets.send_local("NOTIFY_PARTICIPANTS_LIST", ret)
Esempio n. 4
0
    def remove_participant(self, data):
        mcu = MedoozeMCU('127.0.0.1')
        ret = mcu.remove_participant(data)

        self.sockets.send_conference("NOTIFY_PARTICIPANT_REMOVE", ret)
Esempio n. 5
0
    def list_mosaic(self, data):
        mcu = MedoozeMCU('127.0.0.1')
        ret = mcu.list_mosaic(data)

        self.sockets.send_local("NOTIFY_MOSAIC", ret)
Esempio n. 6
0
    def list_participants(self, data):
        mcu = MedoozeMCU('127.0.0.1')
        ret = mcu.list_participants(data)

        self.sockets.send_local("NOTIFY_PARTICIPANTS_LIST", ret)
Esempio n. 7
0
    def remove_participant(self, data):
        mcu = MedoozeMCU('127.0.0.1')
        ret = mcu.remove_participant(data)

        self.sockets.send_conference("NOTIFY_PARTICIPANT_REMOVE", ret)
Esempio n. 8
0
    def list_mosaic(self, data):
        mcu = MedoozeMCU('127.0.0.1')
        ret = mcu.list_mosaic(data)

        self.sockets.send_local("NOTIFY_MOSAIC", ret)