         @emitter.trigger 'module.initialize', { }
 
     removePeer   : (peerId) =>
-        console.log @peers[peerId]
         do @peers[peerId].dc.close
         if @peers[peerId].mc?
             do @peers[peerId].mc.close

        return @conn.peer

    onOpen      : () =>

    onData      : (data) =>
        @emitter.trigger data.type, data.params

        if @localStream isnt undefined
            do @localStream.stop
            for id, peer of @peers
                if @userMedia['video'] is no or @userMedia['audio'] is no
                    @sendStreamState id
        @localStream = undefined # erase old stream
