Exemple #1
0
    def __init__(self):
        """
        Constructor.
        """
        RTMPCoreProtocol.__init__(self)

        self.application = None
        self._app = AppStorage()
Exemple #2
0
 def __init__(self):
     """
     Constructor.
     """
     RTMPCoreProtocol.__init__(self)
     
     self.application = None
     self._app = AppStorage()
Exemple #3
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)
Exemple #4
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)