client.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:matriz 作者: stressfm 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号