def __init__(self, serveraddr, serverport, rtpport, filename):
    self.page_main = Ui_MainWindow()
    (self.state == self.READY)
    self.serverAddr = serveraddr
    self.serverPort = int(serverport)
    self.rtpPort = int(rtpport)
    self.fileName = filename
    self.rtspSeq = 0
    self.sessionId = 0
    self.requestSent = (- 1)
    self.teardownAcked = 0
    self.connectToServer()
    self.frameNbr = 0
    self.createWidgets()
def __init__(self, serveraddr, serverport, rtpport, filename):
    self.page_main = Ui_MainWindow()
    (self.state == self.READY)
    self.serverAddr = serveraddr
    self.serverPort = int(serverport)
    self.rtpPort = int(rtpport)
    self.fileName = filename
    self.rtspSeq = 0
    self.sessionId = 0
    self.requestSent = (- 1)
    self.teardownAcked = 0
    self.connectToServer()
    self.frameNbr = 0
    self.createWidgets()