def main():
GObject.threads_init()
Gst.init([])
args = get_args()
core_ip = socket.gethostbyname(args.host)
server_caps, args = get_server_conf(core_ip, args.source_id, args)
pipeline = mk_pipeline(args, server_caps, core_ip)
clock = get_clock(core_ip)
run_pipeline(pipeline, clock, args.audio_delay, args.video_delay)
评论列表
文章目录