From efdb73f710b532ca65472e96746089696ff48ea2 Mon Sep 17 00:00:00 2001 From: WojciechBarczynski Date: Fri, 11 Oct 2024 10:44:53 +0200 Subject: [PATCH] Revert example changes --- integration_tests/examples/simple.rs | 35 +++++++++++----------------- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/integration_tests/examples/simple.rs b/integration_tests/examples/simple.rs index 4d5e2cbfd..e50118cba 100644 --- a/integration_tests/examples/simple.rs +++ b/integration_tests/examples/simple.rs @@ -51,35 +51,26 @@ fn client_code() -> Result<()> { "ip": IP, "video": { "resolution": { - "width": 1920, - "height": 1080, + "width": VIDEO_RESOLUTION.width, + "height": VIDEO_RESOLUTION.height, }, "encoder": { "type": "ffmpeg_h264", "preset": "ultrafast" }, - // "initial": { - // "root": { - // "type": "shader", - // "id": "shader_node_1", - // "shader_id": "shader_example_1", - // "children": [ - // { - // "id": "input_1", - // "type": "input_stream", - // "input_id": "input_1", - // } - // ], - // "resolution": { "width": VIDEO_RESOLUTION.width, "height": VIDEO_RESOLUTION.height }, - // } - // } "initial": { "root": { - "type": "view", - "children": [{ - "type": "input_stream", - "input_id": "input_1" - }] + "type": "shader", + "id": "shader_node_1", + "shader_id": "shader_example_1", + "children": [ + { + "id": "input_1", + "type": "input_stream", + "input_id": "input_1", + } + ], + "resolution": { "width": VIDEO_RESOLUTION.width, "height": VIDEO_RESOLUTION.height }, } } }