Exemplo n.º 1
0
    def __init__(self):
        """
        Constructor.
        """
        RTMPCoreProtocol.__init__(self)

        self.application = None
        self._app = AppStorage()
Exemplo n.º 2
0
 def __init__(self):
     """
     Constructor.
     """
     RTMPCoreProtocol.__init__(self)
     
     self.application = None
     self._app = AppStorage()
Exemplo n.º 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)
Exemplo n.º 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)