def __init__(self, config=None):
self.config_server_url = config["url"]
self.port = config["port"]
self.python = config["python"]
self.receive = config["receive"]
self.name = config["name"]
self.key = config["key"]
self.record = config["record"]
self.upnp_client = miniupnpc.UPnP()
self.connection_attempts = 0
self.receive_from_ip = config["receive_from_ip"]
self.receive_from_port = config["receive_from_port"]
atexit.register(self.cleanup)
signal.signal(signal.SIGINT, self.cleanup)
GObject.threads_init()
Gst.init(None)
评论列表
文章目录