diff --git a/script/test/test_stream_out.py b/script/test/test_stream_out.py index 2dd1b2c..a43d3a4 100644 --- a/script/test/test_stream_out.py +++ b/script/test/test_stream_out.py @@ -9,7 +9,7 @@ statistics=Namespace() - +OUTPUT_PORT = 12005 viewer.show_stream("tcp://localhost:" + str(OUTPUT_PORT)) pipeline_config = PipelineConfig("test_pipeline", parameters={"camera_name": "simulation", "function":"transparent"}) @@ -21,7 +21,7 @@ def send(port): except: traceback.print_exc() -OUTPUT_PORT = 12005 + thread = Thread(target=send, args=(OUTPUT_PORT)) thread.start()