Exemplo n.º 1
0
    def connectionLost(self, reason):
        """
        Connection with peer was lost for some reason.
        """
        if self.application is not None:
            self.application.disconnect(self)
            self.application = None
            self._app = None

        RTMPCoreProtocol.connectionLost(self, reason)
Exemplo n.º 2
0
    def connectionLost(self, reason):
        """
        Connection with peer was lost for some reason.
        """
        if self.application is not None:
            self.application.disconnect(self)
            self.application = None
            self._app = None

        RTMPCoreProtocol.connectionLost(self, reason)